ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSimuTrack.h
Go to the documentation of this file.
1/* // -*- C++ -*- */
2
3/*
4 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5*/
6
7
8#ifndef MUONSIMUTRACK_H
9#define MUONSIMUTRACK_H
10
11#include<iostream>
13
14/*
15
16#define l1event l1event_
17
18extern "C" struct gflag{
19 int EventNum;
20} l1event;
21
22
23#define gcflag gcflag_
24extern "C" struct
25{
26 int IDEBUG;
27 int IDEMIN;
28 int IDEMAX;
29 int ITEST;
30 int IDRUN;
31 int IDEVT;
32 int IEORUN;
33 int IEOTRI;
34 int IEVENT;
35 int ISWIT[10];
36 int IFINIT[20];
37 int NEVENT;
38 int NRNDM[2];
39} gcflag;
40*/
41
43{
47
48 float Px;
49 float Py;
50 float Pz;
51 float Energy;
52};
53
54
56{
57 private:
61
62 float m_Px;
63 float m_Py;
64 float m_Pz;
65 float m_Energy;
66
67 public:
68 MuonSimuTrack(int,const SimuTrackData&);
71
73
74 public:
75 int event_number(void) const {return m_event_number;}
76 int vertex_number(void) const {return m_vertex_number;}
77 int track_number(void) const {return m_track_number;}
78
79 float Pt(void) const;
80 float generation_theta(void) const;
81 float generation_eta(void) const;
82 float generation_phi(void) const;
83
84 float Px(void) const {return m_Px;}
85 float Py(void) const {return m_Py;}
86 float Pz(void) const {return m_Pz;}
87 float Energy(void) const {return m_Energy;}
88
89 void Print(std::ostream&,bool) const;
90};
91
92
93template <class X> X& operator<<(X& stream,const MuonSimuTrack& track)
94{
95 std::ostringstream display;
96 track.Print(display,false);
97 stream << display.str();
98 return stream;
99}
100
101
102#endif
X & operator<<(X &stream, const MuonSimuTrack &track)
float generation_phi(void) const
int vertex_number(void) const
float Pz(void) const
int event_number(void) const
int track_number(void) const
MuonSimuTrack operator=(const MuonSimuTrack &)
float Py(void) const
void Print(std::ostream &, bool) const
MuonSimuTrack(int, const SimuTrackData &)
float Pt(void) const
float generation_theta(void) const
float Energy(void) const
float generation_eta(void) const
float Px(void) const
RPCtrigDataObject(int, const std::string &)