Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:03

0001 #ifndef G4HISTOS_G4EVTTREE_H
0002 #define G4HISTOS_G4EVTTREE_H
0003 
0004 #define MAXLAYER 50
0005 #define MAXHIT 500000
0006 
0007 typedef struct
0008 {
0009   // Event Level
0010   float energy;
0011   float theta;
0012   float phi;
0013   float px;
0014   float py;
0015   float pz;
0016 
0017   int cemcactLayers;
0018   int cemcabsLayers;
0019   int hcalactLayers;
0020   int hcalabsLayers;
0021 
0022   float cemcactESum[MAXLAYER];
0023   float cemcabsESum[MAXLAYER];
0024   float hcalactESum[MAXLAYER];
0025   float hcalabsESum[MAXLAYER];
0026 
0027   // Hit level
0028   int nhits;
0029   int detid[MAXHIT];
0030   int layer[MAXHIT];
0031   int hitid[MAXHIT];
0032   int scintid[MAXHIT];
0033   int trkid[MAXHIT];
0034   float x0[MAXHIT];
0035   float y0[MAXHIT];
0036   float z0[MAXHIT];
0037   float x1[MAXHIT];
0038   float y1[MAXHIT];
0039   float z1[MAXHIT];
0040   float edep[MAXHIT];
0041 
0042 } G4EvtTree;
0043 
0044 #endif