EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4EventTree.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4EventTree.h
1 #ifndef G4EVENTTREE_H
2 #define G4EVENTTREE_H
3 
4 #define MAXHIT 500000
5 
6 #include <Rtypes.h>
7 
8 typedef struct
9 {
10  // Event Level
11  Double_t momentum;
12  Double_t theta;
13  Double_t phi;
14  Double_t px;
15  Double_t py;
16  Double_t pz;
17  Int_t pid;
18  //Double_t track_mom_bar[3];
19  //Double_t track_hit_pos_bar[3];
20 
21  // Hit level
22  int nhits;
23  int detid[MAXHIT];
24  int hitid[MAXHIT];
25  int trkid[MAXHIT];
26  Double_t x0[MAXHIT];
27  Double_t y0[MAXHIT];
28  Double_t z0[MAXHIT];
29  Double_t x1[MAXHIT];
30  Double_t y1[MAXHIT];
31  Double_t z1[MAXHIT];
32  Double_t edep[MAXHIT];
33  Int_t mcp_id[MAXHIT];
34  Int_t pixel_id[MAXHIT];
35  //Double_t track_mom_bar[MAXHIT][3];
36  //Double_t track_hit_pos_bar[MAXHIT][3];
37  Double_t lead_time[MAXHIT];
38  Double_t wavelength[MAXHIT];
39  Double_t hit_globalPos[MAXHIT][3];
40  Double_t hit_localPos[MAXHIT][3];
41  Double_t hit_digiPos[MAXHIT][3];
42  Double_t hit_mom[MAXHIT][3];
43  Double_t hit_pos[MAXHIT][3];
44  Long64_t hit_pathId[MAXHIT];
45  Int_t nrefl[MAXHIT];
46 
47 } G4EventTree;
48 
49 #endif