7 theFile =
new TFile(filename.c_str(),
"RECREATE");
18 std::cout <<
"=== booking user TTree ===" << std::endl;
20 theTree =
new TTree(
"T1",
"GeometryTest Tree");
111 std::cout <<
"=== booking user TTree done ===" << std::endl;
233 std::cout <<
" === save user TTree ===" << std::endl;
float t_MaterialLambda0[MAXSTEPS]
float t_DeltaIL_CAB[MAXSTEPS]
float t_ParticleStepFinalEnergy[MAXSTEPS]
CLHEP::HepLorentzVector getStepVolumeYaxis(int is)
float t_VolumeXaxis3[MAXSTEPS]
float getStepInitialEnergy(int is)
float getAirDmb(int is) const
float t_DeltaMB_CAB[MAXSTEPS]
float getStepMaterialLambda0(int is)
double getStepFinalX(int is)
float t_DeltaMB_SEN[MAXSTEPS]
float getStepFinalEnergy(int is)
float getOtherDil(int is) const
float getSupportDil(int is) const
float getStepInitialGamma(int is)
float t_VolumeXaxis1[MAXSTEPS]
float t_ParticleStepFinalPt[MAXSTEPS]
float t_DeltaIL_OTH[MAXSTEPS]
int getStepVolumeCopy(int is)
float getSensitiveDmb(int is) const
float getStepVolumeZ(int is)
float t_ParticleStepFinalPhi[MAXSTEPS]
float t_ParticleStepInitialPt[MAXSTEPS]
float getStepInitialPhi(int is)
char * t_VolumeName[MAXSTEPS]
float getStepFinalPhi(int is)
int t_MaterialID[MAXSTEPS]
float t_DeltaIL_ELE[MAXSTEPS]
float getStepMaterialX0(int is)
float t_DeltaIL_SEN[MAXSTEPS]
float t_ParticleStepInitialPx[MAXSTEPS]
double t_InitialX[MAXSTEPS]
float getElectronicsDil(int is) const
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 getStepInitialBeta(int is)
float t_ParticleStepFinalGamma[MAXSTEPS]
int getStepVolumeID(int is)
int t_ParticleStepPostInteraction[MAXSTEPS]
float t_DeltaMB_COL[MAXSTEPS]
float t_VolumeY[MAXSTEPS]
float getStepInitialMass(int is)
double getStepInitialZ(int is)
virtual void fillStartTrack()
float getStepInitialPy(int is)
int t_ParticleStepID[MAXSTEPS]
float getStepInitialPt(int is)
float getStepFinalMass(int is)
static const int MAXSTEPS
float t_ParticleStepFinalPy[MAXSTEPS]
float t_ParticleStepInitialPy[MAXSTEPS]
float getStepFinalPt(int is)
float t_DeltaMB_OTH[MAXSTEPS]
float t_ParticleStepInitialEta[MAXSTEPS]
double getStepFinalY(int is)
float t_VolumeZaxis3[MAXSTEPS]
double t_InitialY[MAXSTEPS]
int getStepMaterialID(int is)
float t_VolumeYaxis2[MAXSTEPS]
float t_ParticleStepInitialEnergy[MAXSTEPS]
char * t_MaterialName[MAXSTEPS]
float getCoolingDmb(int is) const
std::string getStepMaterialName(int is)
int t_ParticleStepPreInteraction[MAXSTEPS]
float getCoolingDil(int is) const
float getStepFinalPy(int is)
float getSupportDmb(int is) const
float t_ParticleStepFinalMass[MAXSTEPS]
float t_ParticleStepInitialBeta[MAXSTEPS]
float t_DeltaIL_COL[MAXSTEPS]
std::string getStepVolumeName(int is)
double getStepFinalZ(int is)
float getStepVolumeY(int is)
float t_MaterialDensity[MAXSTEPS]
float t_DeltaIL_AIR[MAXSTEPS]
float getStepFinalEta(int is)
float t_ParticleStepFinalBeta[MAXSTEPS]
float t_VolumeZaxis2[MAXSTEPS]
float t_ParticleStepFinalPz[MAXSTEPS]
float t_ParticleStepInitialGamma[MAXSTEPS]
double t_FinalZ[MAXSTEPS]
float t_VolumeZ[MAXSTEPS]
double getStepInitialY(int is)
float t_DeltaMB_ELE[MAXSTEPS]
double getStepInitialX(int is)
float t_DeltaMB[MAXSTEPS]
float t_VolumeX[MAXSTEPS]
virtual void fillPerStep()
int getNumberOfSteps() const
float t_DeltaMB_SUP[MAXSTEPS]
float getStepFinalGamma(int is)
float t_DeltaIL[MAXSTEPS]
float getSensitiveDil(int is) const
CLHEP::HepLorentzVector getStepVolumeXaxis(int is)
float getStepFinalPx(int is)
float getAirDil(int is) const
float t_VolumeYaxis1[MAXSTEPS]
float t_DeltaIL_SUP[MAXSTEPS]
float getCablesDil(int is) const
float getStepMaterialDensity(int is)
float t_ParticleStepInitialMass[MAXSTEPS]
double t_FinalY[MAXSTEPS]
float getStepVolumeX(int is)
int getStepPostProcess(int is)
float getStepFinalBeta(int is)
float getCablesDmb(int is) const
float getStepFinalPz(int is)
float getOtherDmb(int is) const
float t_VolumeXaxis2[MAXSTEPS]
float getStepInitialPx(int is)
float getStepInitialEta(int is)
float getElectronicsDmb(int is) const
CLHEP::HepLorentzVector getStepVolumeZaxis(int is)
float getStepInitialPz(int is)
int t_VolumeCopy[MAXSTEPS]
double t_InitialZ[MAXSTEPS]
float t_MaterialX0[MAXSTEPS]
int getStepPreProcess(int is)