CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MaterialBudgetTree.h
Go to the documentation of this file.
1 #ifndef MaterialBudgetTree_h
2 #define MaterialBudgetTree_h 1
3 
4 #include "TFile.h"
5 #include "TTree.h"
6 #include "G4ThreeVector.hh"
7 
9 
10 //#include "HTL/Histograms.h" // Transient histograms.
11 
12 
14 {
15 public:
16 
17  MaterialBudgetTree( MaterialBudgetData* data, const std::string& fileName );
18  virtual ~MaterialBudgetTree(){ hend(); }
19 
20  virtual void fillStartTrack();
21  virtual void fillPerStep();
22  virtual void fillEndTrack();
23 
24 private:
25 
26  virtual void book(); // user booking
27  virtual void hend(); // user ending
28 
29  private:
30  TFile * theFile;
31  TTree* theTree;
32 
33  static const int MAXSTEPS = 10000;
34  float t_MB;
35  float t_IL;
36  // float t_Eta;
37  // float t_Phi;
38  // rr
40  float t_ParticlePt;
45  // rr
46  int t_Nsteps;
66  double t_FinalX[MAXSTEPS];
67  double t_FinalY[MAXSTEPS];
68  double t_FinalZ[MAXSTEPS];
69  // rr
89  float t_MaterialDensity[MAXSTEPS]; // g/cm3
113  // rr
114 };
115 
116 
117 #endif
float t_MaterialLambda0[MAXSTEPS]
float t_DeltaIL_CAB[MAXSTEPS]
float t_ParticleStepFinalEnergy[MAXSTEPS]
float t_VolumeXaxis3[MAXSTEPS]
float t_DeltaMB_CAB[MAXSTEPS]
float t_DeltaMB_SEN[MAXSTEPS]
float t_VolumeXaxis1[MAXSTEPS]
float t_ParticleStepFinalPt[MAXSTEPS]
float t_DeltaIL_OTH[MAXSTEPS]
float t_ParticleStepFinalPhi[MAXSTEPS]
float t_ParticleStepInitialPt[MAXSTEPS]
char * t_VolumeName[MAXSTEPS]
int t_MaterialID[MAXSTEPS]
float t_DeltaIL_ELE[MAXSTEPS]
float t_DeltaIL_SEN[MAXSTEPS]
float t_ParticleStepInitialPx[MAXSTEPS]
double t_InitialX[MAXSTEPS]
double t_FinalX[MAXSTEPS]
float t_DeltaMB_AIR[MAXSTEPS]
float t_VolumeYaxis3[MAXSTEPS]
virtual void fillEndTrack()
float t_ParticleStepFinalPx[MAXSTEPS]
MaterialBudgetTree(MaterialBudgetData *data, const std::string &fileName)
float t_ParticleStepFinalEta[MAXSTEPS]
float t_ParticleStepInitialPhi[MAXSTEPS]
float t_VolumeZaxis1[MAXSTEPS]
float t_ParticleStepInitialPz[MAXSTEPS]
float t_ParticleStepFinalGamma[MAXSTEPS]
int t_ParticleStepPostInteraction[MAXSTEPS]
float t_DeltaMB_COL[MAXSTEPS]
int t_VolumeID[MAXSTEPS]
float t_VolumeY[MAXSTEPS]
virtual void fillStartTrack()
int t_ParticleStepID[MAXSTEPS]
static const int MAXSTEPS
float t_ParticleStepFinalPy[MAXSTEPS]
float t_ParticleStepInitialPy[MAXSTEPS]
float t_DeltaMB_OTH[MAXSTEPS]
float t_ParticleStepInitialEta[MAXSTEPS]
float t_VolumeZaxis3[MAXSTEPS]
double t_InitialY[MAXSTEPS]
float t_VolumeYaxis2[MAXSTEPS]
float t_ParticleStepInitialEnergy[MAXSTEPS]
char * t_MaterialName[MAXSTEPS]
int t_ParticleStepPreInteraction[MAXSTEPS]
float t_ParticleStepFinalMass[MAXSTEPS]
float t_ParticleStepInitialBeta[MAXSTEPS]
float t_DeltaIL_COL[MAXSTEPS]
float t_MaterialDensity[MAXSTEPS]
float t_DeltaIL_AIR[MAXSTEPS]
float t_ParticleStepFinalBeta[MAXSTEPS]
float t_VolumeZaxis2[MAXSTEPS]
float t_ParticleStepFinalPz[MAXSTEPS]
float t_ParticleStepInitialGamma[MAXSTEPS]
double t_FinalZ[MAXSTEPS]
float t_VolumeZ[MAXSTEPS]
float t_DeltaMB_ELE[MAXSTEPS]
float t_DeltaMB[MAXSTEPS]
float t_VolumeX[MAXSTEPS]
virtual void fillPerStep()
float t_DeltaMB_SUP[MAXSTEPS]
float t_DeltaIL[MAXSTEPS]
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
float t_VolumeYaxis1[MAXSTEPS]
float t_DeltaIL_SUP[MAXSTEPS]
float t_ParticleStepInitialMass[MAXSTEPS]
double t_FinalY[MAXSTEPS]
float t_VolumeXaxis2[MAXSTEPS]
int t_VolumeCopy[MAXSTEPS]
double t_InitialZ[MAXSTEPS]
float t_MaterialX0[MAXSTEPS]