CMS 3D CMS Logo

MaterialBudgetTree.cc
Go to the documentation of this file.
3 
5 
6 MaterialBudgetTree::MaterialBudgetTree(std::shared_ptr<MaterialBudgetData> data, const std::string &filename)
8  fname = filename;
9  book();
10 }
11 
13  LogDebug("MaterialBudget") << "MaterialBudgetTree: Booking user TTree";
14  // create the TTree
15  theTree = std::make_unique<TTree>("T1", "GeometryTest Tree");
16 
17  // GENERAL block
18  theTree->Branch("MB", &t_MB, "MB/F");
19  theTree->Branch("IL", &t_IL, "IL/F");
20 
21  // PARTICLE Block
22  theTree->Branch("Particle ID", &t_ParticleID, "Particle_ID/I");
23  theTree->Branch("Particle Pt", &t_ParticlePt, "Particle_Pt/F");
24  theTree->Branch("Particle Eta", &t_ParticleEta, "Particle_Eta/F");
25  theTree->Branch("Particle Phi", &t_ParticlePhi, "Particle_Phi/F");
26  theTree->Branch("Particle Energy", &t_ParticleEnergy, "Particle_E/F");
27  theTree->Branch("Particle Mass", &t_ParticleMass, "Particle_M/F");
28 
29  if (theData->allStepsON()) {
30  theTree->Branch("Nsteps", &t_Nsteps, "Nsteps/I");
31  theTree->Branch("DeltaMB", t_DeltaMB, "DeltaMB[Nsteps]/F");
32  theTree->Branch("DeltaMB_SUP", t_DeltaMB_SUP, "DeltaMB_SUP[Nsteps]/F");
33  theTree->Branch("DeltaMB_SEN", t_DeltaMB_SEN, "DeltaMB_SEN[Nsteps]/F");
34  theTree->Branch("DeltaMB_CAB", t_DeltaMB_CAB, "DeltaMB_CAB[Nsteps]/F");
35  theTree->Branch("DeltaMB_COL", t_DeltaMB_COL, "DeltaMB_COL[Nsteps]/F");
36  theTree->Branch("DeltaMB_ELE", t_DeltaMB_ELE, "DeltaMB_ELE[Nsteps]/F");
37  theTree->Branch("DeltaMB_OTH", t_DeltaMB_OTH, "DeltaMB_OTH[Nsteps]/F");
38  theTree->Branch("DeltaMB_AIR", t_DeltaMB_AIR, "DeltaMB_AIR[Nsteps]/F");
39 
40  theTree->Branch("DeltaIL", t_DeltaIL, "DeltaIL[Nsteps]/F");
41  theTree->Branch("DeltaIL_SUP", t_DeltaIL_SUP, "DeltaIL_SUP[Nsteps]/F");
42  theTree->Branch("DeltaIL_SEN", t_DeltaIL_SEN, "DeltaIL_SEN[Nsteps]/F");
43  theTree->Branch("DeltaIL_CAB", t_DeltaIL_CAB, "DeltaIL_CAB[Nsteps]/F");
44  theTree->Branch("DeltaIL_COL", t_DeltaIL_COL, "DeltaIL_COL[Nsteps]/F");
45  theTree->Branch("DeltaIL_ELE", t_DeltaIL_ELE, "DeltaIL_ELE[Nsteps]/F");
46  theTree->Branch("DeltaIL_OTH", t_DeltaIL_OTH, "DeltaIL_OTH[Nsteps]/F");
47  theTree->Branch("DeltaIL_AIR", t_DeltaIL_AIR, "DeltaIL_AIR[Nsteps]/F");
48 
49  theTree->Branch("Initial X", t_InitialX, "Initial_X[Nsteps]/D");
50  theTree->Branch("Initial Y", t_InitialY, "Initial_Y[Nsteps]/D");
51  theTree->Branch("Initial Z", t_InitialZ, "Initial_Z[Nsteps]/D");
52 
53  theTree->Branch("Final X", t_FinalX, "Final_X[Nsteps]/D");
54  theTree->Branch("Final Y", t_FinalY, "Final_Y[Nsteps]/D");
55  theTree->Branch("Final Z", t_FinalZ, "Final_Z[Nsteps]/D");
56 
57  theTree->Branch("Volume ID", t_VolumeID, "VolumeID[Nsteps]/I");
58  theTree->Branch("Volume Name", t_VolumeName, "VolumeName[Nsteps]/C");
59  theTree->Branch("Volume Copy", t_VolumeCopy, "VolumeCopy[Nsteps]/I");
60  theTree->Branch("Volume X", t_VolumeX, "VolumeX[Nsteps]/F");
61  theTree->Branch("Volume Y", t_VolumeY, "VolumeY[Nsteps]/F");
62  theTree->Branch("Volume Z", t_VolumeZ, "VolumeZ[Nsteps]/F");
63  theTree->Branch("Volume X axis 1", t_VolumeXaxis1, "VolumeXaxis1[Nsteps]/F");
64  theTree->Branch("Volume X axis 2", t_VolumeXaxis2, "VolumeXaxis2[Nsteps]/F");
65  theTree->Branch("Volume X axis 3", t_VolumeXaxis3, "VolumeXaxis3[Nsteps]/F");
66  theTree->Branch("Volume Y axis 1", t_VolumeYaxis1, "VolumeYaxis1[Nsteps]/F");
67  theTree->Branch("Volume Y axis 2", t_VolumeYaxis2, "VolumeYaxis2[Nsteps]/F");
68  theTree->Branch("Volume Y axis 3", t_VolumeYaxis3, "VolumeYaxis3[Nsteps]/F");
69  theTree->Branch("Volume Z axis 1", t_VolumeZaxis1, "VolumeZaxis1[Nsteps]/F");
70  theTree->Branch("Volume Z axis 2", t_VolumeZaxis2, "VolumeZaxis2[Nsteps]/F");
71  theTree->Branch("Volume Z axis 3", t_VolumeZaxis3, "VolumeZaxis3[Nsteps]/F");
72 
73  theTree->Branch("Material ID", t_MaterialID, "MaterialID[Nsteps]/I");
74  theTree->Branch("Material Name", t_MaterialName, "MaterialName[Nsteps]/C");
75  theTree->Branch("Material X0", t_MaterialX0, "MaterialX0[Nsteps]/F");
76  theTree->Branch("Material Lambda0", t_MaterialLambda0, "MaterialLambda0[Nsteps]/F");
77  theTree->Branch("Material Density", t_MaterialDensity, "MaterialDensity[Nsteps]/F");
78 
79  theTree->Branch("Particle Step ID", t_ParticleStepID, "Step_ID[Nsteps]/I");
80  theTree->Branch("Particle Step Initial Pt", t_ParticleStepInitialPt, "Step_Initial_Pt[Nsteps]/F");
81  theTree->Branch("Particle Step Initial Eta", t_ParticleStepInitialEta, "Step_Initial_Eta[Nsteps]/F");
82  theTree->Branch("Particle Step Initial Phi", t_ParticleStepInitialPhi, "Step_Initial_Phi[Nsteps]/F");
83  theTree->Branch("Particle Step Initial Energy", t_ParticleStepInitialEnergy, "Step_Initial_E[Nsteps]/F");
84  theTree->Branch("Particle Step Initial Px", t_ParticleStepInitialPx, "Step_Initial_Px[Nsteps]/F");
85  theTree->Branch("Particle Step Initial Py", t_ParticleStepInitialPy, "Step_Initial_Py[Nsteps]/F");
86  theTree->Branch("Particle Step Initial Pz", t_ParticleStepInitialPz, "Step_Initial_Pz[Nsteps]/F");
87  theTree->Branch("Particle Step Initial Beta", t_ParticleStepInitialBeta, "Step_Initial_Beta[Nsteps]/F");
88  theTree->Branch("Particle Step Initial Gamma", t_ParticleStepInitialGamma, "Step_Initial_Gamma[Nsteps]/F");
89  theTree->Branch("Particle Step Initial Mass", t_ParticleStepInitialMass, "Step_Initial_Mass[Nsteps]/F");
90  theTree->Branch("Particle Step Final Pt", t_ParticleStepFinalPt, "Step_Final_Pt[Nsteps]/F");
91  theTree->Branch("Particle Step Final Eta", t_ParticleStepFinalEta, "Step_Final_Eta[Nsteps]/F");
92  theTree->Branch("Particle Step Final Phi", t_ParticleStepFinalPhi, "Step_Final_Phi[Nsteps]/F");
93  theTree->Branch("Particle Step Final Energy", t_ParticleStepFinalEnergy, "Step_Final_E[Nsteps]/F");
94  theTree->Branch("Particle Step Final Px", t_ParticleStepFinalPx, "Step_Final_Px[Nsteps]/F");
95  theTree->Branch("Particle Step Final Py", t_ParticleStepFinalPy, "Step_Final_Py[Nsteps]/F");
96  theTree->Branch("Particle Step Final Pz", t_ParticleStepFinalPz, "Step_Final_Pz[Nsteps]/F");
97  theTree->Branch("Particle Step Final Beta", t_ParticleStepFinalBeta, "Step_Final_Beta[Nsteps]/F");
98  theTree->Branch("Particle Step Final Gamma", t_ParticleStepFinalGamma, "Step_Final_Gamma[Nsteps]/F");
99  theTree->Branch("Particle Step Final Mass", t_ParticleStepFinalMass, "Step_Final_Mass[Nsteps]/F");
100  theTree->Branch("Particle Step Pre Interaction", t_ParticleStepPreInteraction, "Step_PreInteraction[Nsteps]/I");
101  theTree->Branch("Particle Step Post Interaction", t_ParticleStepPostInteraction, "Step_PostInteraction[Nsteps]/I");
102  }
103 
104  LogDebug("MaterialBudget") << "MaterialBudgetTree: Booking user TTree done";
105 }
106 
108 
110 
112  t_MB = theData->getTotalMB();
113  t_IL = theData->getTotalIL();
114 
115  t_ParticleID = theData->getID();
116  t_ParticlePt = theData->getPt();
117  t_ParticleEta = theData->getEta();
118  t_ParticlePhi = theData->getPhi();
119  t_ParticleEnergy = theData->getEnergy();
120  t_ParticleMass = theData->getMass();
121 
122  if (theData->allStepsON()) {
123  t_Nsteps = theData->getNumberOfSteps();
124 
125  if (t_Nsteps > MAXSTEPS)
126  t_Nsteps = MAXSTEPS;
127 
128  edm::LogInfo("MaterialBudget") << "MaterialBudgetTree: Number of Steps into the tree " << t_Nsteps;
129 
130  for (int ii = 0; ii < t_Nsteps; ii++) {
131  t_DeltaMB[ii] = theData->getStepDmb(ii);
132  t_DeltaMB_SUP[ii] = theData->getSupportDmb(ii);
133  t_DeltaMB_SEN[ii] = theData->getSensitiveDmb(ii);
134  t_DeltaMB_CAB[ii] = theData->getCablesDmb(ii);
135  t_DeltaMB_COL[ii] = theData->getCoolingDmb(ii);
136  t_DeltaMB_ELE[ii] = theData->getElectronicsDmb(ii);
137  t_DeltaMB_OTH[ii] = theData->getOtherDmb(ii);
138  t_DeltaMB_AIR[ii] = theData->getAirDmb(ii);
139 
140  t_DeltaIL[ii] = theData->getStepDil(ii);
141  t_DeltaIL_SUP[ii] = theData->getSupportDil(ii);
142  t_DeltaIL_SEN[ii] = theData->getSensitiveDil(ii);
143  t_DeltaIL_CAB[ii] = theData->getCablesDil(ii);
144  t_DeltaIL_COL[ii] = theData->getCoolingDil(ii);
145  t_DeltaIL_ELE[ii] = theData->getElectronicsDil(ii);
146  t_DeltaIL_OTH[ii] = theData->getOtherDil(ii);
147  t_DeltaIL_AIR[ii] = theData->getAirDil(ii);
148 
149  t_InitialX[ii] = theData->getStepInitialX(ii);
150  t_InitialY[ii] = theData->getStepInitialY(ii);
151  t_InitialZ[ii] = theData->getStepInitialZ(ii);
152  t_FinalX[ii] = theData->getStepFinalX(ii);
153  t_FinalY[ii] = theData->getStepFinalY(ii);
154  t_FinalZ[ii] = theData->getStepFinalZ(ii);
155 
156  t_VolumeID[ii] = theData->getStepVolumeID(ii);
157  t_VolumeName[ii] = theData->getStepVolumeName(ii).c_str();
158  t_VolumeCopy[ii] = theData->getStepVolumeCopy(ii);
159  t_VolumeX[ii] = theData->getStepVolumeX(ii);
160  t_VolumeY[ii] = theData->getStepVolumeY(ii);
161  t_VolumeZ[ii] = theData->getStepVolumeZ(ii);
162  t_VolumeXaxis1[ii] = theData->getStepVolumeXaxis(ii).x();
163  t_VolumeXaxis2[ii] = theData->getStepVolumeXaxis(ii).y();
164  t_VolumeXaxis3[ii] = theData->getStepVolumeXaxis(ii).z();
165  t_VolumeYaxis1[ii] = theData->getStepVolumeYaxis(ii).x();
166  t_VolumeYaxis2[ii] = theData->getStepVolumeYaxis(ii).y();
167  t_VolumeYaxis3[ii] = theData->getStepVolumeYaxis(ii).z();
168  t_VolumeZaxis1[ii] = theData->getStepVolumeZaxis(ii).x();
169  t_VolumeZaxis2[ii] = theData->getStepVolumeZaxis(ii).y();
170  t_VolumeZaxis3[ii] = theData->getStepVolumeZaxis(ii).z();
171 
172  t_MaterialID[ii] = theData->getStepMaterialID(ii);
173  t_MaterialName[ii] = theData->getStepMaterialName(ii).c_str();
174  t_MaterialX0[ii] = theData->getStepMaterialX0(ii);
175  t_MaterialLambda0[ii] = theData->getStepMaterialLambda0(ii);
176  t_MaterialDensity[ii] = theData->getStepMaterialDensity(ii);
177 
178  t_ParticleStepID[ii] = theData->getStepID(ii);
179  t_ParticleStepInitialPt[ii] = theData->getStepInitialPt(ii);
180  t_ParticleStepInitialEta[ii] = theData->getStepInitialEta(ii);
181  t_ParticleStepInitialPhi[ii] = theData->getStepInitialPhi(ii);
182  t_ParticleStepInitialEnergy[ii] = theData->getStepInitialEnergy(ii);
183  t_ParticleStepInitialPx[ii] = theData->getStepInitialPx(ii);
184  t_ParticleStepInitialPy[ii] = theData->getStepInitialPy(ii);
185  t_ParticleStepInitialPz[ii] = theData->getStepInitialPz(ii);
186  t_ParticleStepInitialBeta[ii] = theData->getStepInitialBeta(ii);
187  t_ParticleStepInitialGamma[ii] = theData->getStepInitialGamma(ii);
188  t_ParticleStepInitialMass[ii] = theData->getStepInitialMass(ii);
189  t_ParticleStepFinalPt[ii] = theData->getStepFinalPt(ii);
190  t_ParticleStepFinalEta[ii] = theData->getStepFinalEta(ii);
191  t_ParticleStepFinalPhi[ii] = theData->getStepFinalPhi(ii);
192  t_ParticleStepFinalEnergy[ii] = theData->getStepFinalEnergy(ii);
193  t_ParticleStepFinalPx[ii] = theData->getStepFinalPx(ii);
194  t_ParticleStepFinalPy[ii] = theData->getStepFinalPy(ii);
195  t_ParticleStepFinalPz[ii] = theData->getStepFinalPz(ii);
196  t_ParticleStepFinalBeta[ii] = theData->getStepFinalBeta(ii);
197  t_ParticleStepFinalGamma[ii] = theData->getStepFinalGamma(ii);
198  t_ParticleStepFinalMass[ii] = theData->getStepFinalMass(ii);
199  t_ParticleStepPreInteraction[ii] = theData->getStepPreProcess(ii);
200  t_ParticleStepPostInteraction[ii] = theData->getStepPostProcess(ii);
201  }
202  }
203 
204  if (theData->getNumberOfSteps() != 0) {
205  Int_t ssize = theTree->Fill();
206  edm::LogInfo("MaterialBudget") << "MaterialBudgetTree: Filling Tree " << ssize << " bytes";
207  } else {
208  edm::LogWarning("MaterialBudget") << "MaterialBudgetTree: Event with 0 steps not recorded";
209  }
210 }
211 
213  // Prefered method to include any instruction
214  // once all the tracks are done
215 
216  TFile *outFile = new TFile(fname.c_str(), "RECREATE");
217  outFile->mkdir("TEST");
218 
219  if (theTree) {
220  TTree *t1 = theTree->CloneTree();
221  t1->Write();
222  edm::LogWarning("MaterialBudget") << "TTree Written " << t1;
223  } else {
224  edm::LogError("MaterialBudget") << "Material Budget Tree: Tree Pointer Null";
225  }
226 
227  delete outFile;
228 }
MaterialBudgetTree::t_DeltaIL_CAB
float t_DeltaIL_CAB[MAXSTEPS]
Definition: MaterialBudgetTree.h:52
MaterialBudgetTree::t_ParticlePt
float t_ParticlePt
Definition: MaterialBudgetTree.h:32
MaterialBudgetTree::t_VolumeXaxis3
float t_VolumeXaxis3[MAXSTEPS]
Definition: MaterialBudgetTree.h:73
MaterialBudgetFormat::theData
std::shared_ptr< MaterialBudgetData > theData
Definition: MaterialBudgetFormat.h:20
MaterialBudgetTree::t_VolumeZaxis3
float t_VolumeZaxis3[MAXSTEPS]
Definition: MaterialBudgetTree.h:79
MaterialBudgetTree::t_MaterialX0
float t_MaterialX0[MAXSTEPS]
Definition: MaterialBudgetTree.h:83
MaterialBudgetTree::t_ParticleStepInitialBeta
float t_ParticleStepInitialBeta[MAXSTEPS]
Definition: MaterialBudgetTree.h:94
MaterialBudgetTree::t_Nsteps
int t_Nsteps
Definition: MaterialBudgetTree.h:38
MessageLogger.h
MaterialBudgetTree::t_ParticleStepInitialEta
float t_ParticleStepInitialEta[MAXSTEPS]
Definition: MaterialBudgetTree.h:88
MaterialBudgetTree::t_ParticleStepFinalPhi
float t_ParticleStepFinalPhi[MAXSTEPS]
Definition: MaterialBudgetTree.h:99
MaterialBudgetTree::t_MaterialName
const char * t_MaterialName[MAXSTEPS]
Definition: MaterialBudgetTree.h:82
MaterialBudgetTree::t_InitialX
double t_InitialX[MAXSTEPS]
Definition: MaterialBudgetTree.h:58
MaterialBudgetTree::t_MaterialDensity
float t_MaterialDensity[MAXSTEPS]
Definition: MaterialBudgetTree.h:85
MaterialBudgetTree::t_FinalZ
double t_FinalZ[MAXSTEPS]
Definition: MaterialBudgetTree.h:63
MaterialBudgetTree::t_ParticleStepFinalPx
float t_ParticleStepFinalPx[MAXSTEPS]
Definition: MaterialBudgetTree.h:101
MaterialBudgetTree::t_DeltaMB_CAB
float t_DeltaMB_CAB[MAXSTEPS]
Definition: MaterialBudgetTree.h:43
MaterialBudgetTree::t_ParticleStepFinalEta
float t_ParticleStepFinalEta[MAXSTEPS]
Definition: MaterialBudgetTree.h:98
MaterialBudgetTree::t_VolumeYaxis1
float t_VolumeYaxis1[MAXSTEPS]
Definition: MaterialBudgetTree.h:74
MaterialBudgetTree::t_DeltaIL_OTH
float t_DeltaIL_OTH[MAXSTEPS]
Definition: MaterialBudgetTree.h:55
MaterialBudgetTree::t_ParticleStepInitialGamma
float t_ParticleStepInitialGamma[MAXSTEPS]
Definition: MaterialBudgetTree.h:95
MaterialBudgetTree::t_ParticleStepFinalPz
float t_ParticleStepFinalPz[MAXSTEPS]
Definition: MaterialBudgetTree.h:103
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
MaterialBudgetTree::book
void book()
Definition: MaterialBudgetTree.cc:12
MaterialBudgetTree::t_DeltaMB_SEN
float t_DeltaMB_SEN[MAXSTEPS]
Definition: MaterialBudgetTree.h:42
MaterialBudgetTree::t_ParticleStepFinalBeta
float t_ParticleStepFinalBeta[MAXSTEPS]
Definition: MaterialBudgetTree.h:104
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
MaterialBudgetTree::t_FinalY
double t_FinalY[MAXSTEPS]
Definition: MaterialBudgetTree.h:62
MaterialBudgetTree::t_VolumeZaxis1
float t_VolumeZaxis1[MAXSTEPS]
Definition: MaterialBudgetTree.h:77
MaterialBudgetTree::endOfRun
void endOfRun() override
Definition: MaterialBudgetTree.cc:212
MaterialBudgetTree::t_DeltaIL
float t_DeltaIL[MAXSTEPS]
Definition: MaterialBudgetTree.h:49
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256
MaterialBudgetTree::fillStartTrack
void fillStartTrack() override
Definition: MaterialBudgetTree.cc:107
MaterialBudgetTree::t_DeltaMB_SUP
float t_DeltaMB_SUP[MAXSTEPS]
Definition: MaterialBudgetTree.h:41
MaterialBudgetTree::fname
std::string fname
Definition: MaterialBudgetTree.h:24
MaterialBudgetTree::t_VolumeName
const char * t_VolumeName[MAXSTEPS]
Definition: MaterialBudgetTree.h:66
MaterialBudgetTree::fillEndTrack
void fillEndTrack() override
Definition: MaterialBudgetTree.cc:111
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
MaterialBudgetTree::t_IL
float t_IL
Definition: MaterialBudgetTree.h:29
MaterialBudgetTree::t_DeltaIL_AIR
float t_DeltaIL_AIR[MAXSTEPS]
Definition: MaterialBudgetTree.h:56
MaterialBudgetTree::t_DeltaIL_COL
float t_DeltaIL_COL[MAXSTEPS]
Definition: MaterialBudgetTree.h:53
MaterialBudgetTree::t_VolumeZaxis2
float t_VolumeZaxis2[MAXSTEPS]
Definition: MaterialBudgetTree.h:78
MaterialBudgetTree::t_MB
float t_MB
Definition: MaterialBudgetTree.h:28
MaterialBudgetTree::t_VolumeXaxis2
float t_VolumeXaxis2[MAXSTEPS]
Definition: MaterialBudgetTree.h:72
MaterialBudgetTree::t_ParticleStepInitialPx
float t_ParticleStepInitialPx[MAXSTEPS]
Definition: MaterialBudgetTree.h:91
MaterialBudgetTree::t_VolumeCopy
int t_VolumeCopy[MAXSTEPS]
Definition: MaterialBudgetTree.h:67
L1TdeCSCTF_cfi.outFile
outFile
Definition: L1TdeCSCTF_cfi.py:5
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MaterialBudgetTree::t_InitialY
double t_InitialY[MAXSTEPS]
Definition: MaterialBudgetTree.h:59
MaterialBudgetTree::t_ParticleStepInitialPz
float t_ParticleStepInitialPz[MAXSTEPS]
Definition: MaterialBudgetTree.h:93
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
MaterialBudgetTree::MAXSTEPS
static const int MAXSTEPS
Definition: MaterialBudgetTree.h:26
MaterialBudgetTree::t_ParticleStepInitialEnergy
float t_ParticleStepInitialEnergy[MAXSTEPS]
Definition: MaterialBudgetTree.h:90
MaterialBudgetTree::t_ParticleEta
float t_ParticleEta
Definition: MaterialBudgetTree.h:33
MaterialBudgetTree.h
MaterialBudgetTree::t_VolumeYaxis2
float t_VolumeYaxis2[MAXSTEPS]
Definition: MaterialBudgetTree.h:75
MaterialBudgetTree::MaterialBudgetTree
MaterialBudgetTree(std::shared_ptr< MaterialBudgetData > data, const std::string &fileName)
Definition: MaterialBudgetTree.cc:6
MaterialBudgetTree::t_MaterialLambda0
float t_MaterialLambda0[MAXSTEPS]
Definition: MaterialBudgetTree.h:84
MaterialBudgetTree::t_DeltaMB_ELE
float t_DeltaMB_ELE[MAXSTEPS]
Definition: MaterialBudgetTree.h:45
MaterialBudgetTree::t_ParticleStepPostInteraction
int t_ParticleStepPostInteraction[MAXSTEPS]
Definition: MaterialBudgetTree.h:108
MaterialBudgetTree::t_VolumeZ
float t_VolumeZ[MAXSTEPS]
Definition: MaterialBudgetTree.h:70
MaterialBudgetTree::t_ParticlePhi
float t_ParticlePhi
Definition: MaterialBudgetTree.h:34
MaterialBudgetTree::t_ParticleStepFinalGamma
float t_ParticleStepFinalGamma[MAXSTEPS]
Definition: MaterialBudgetTree.h:105
MaterialBudgetTree::t_DeltaMB_AIR
float t_DeltaMB_AIR[MAXSTEPS]
Definition: MaterialBudgetTree.h:47
MaterialBudgetTree::t_FinalX
double t_FinalX[MAXSTEPS]
Definition: MaterialBudgetTree.h:61
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
MaterialBudgetTree::t_ParticleStepFinalEnergy
float t_ParticleStepFinalEnergy[MAXSTEPS]
Definition: MaterialBudgetTree.h:100
MaterialBudgetTree::t_VolumeID
int t_VolumeID[MAXSTEPS]
Definition: MaterialBudgetTree.h:65
MaterialBudgetTree::theTree
std::unique_ptr< TTree > theTree
Definition: MaterialBudgetTree.h:23
MaterialBudgetTree::t_VolumeY
float t_VolumeY[MAXSTEPS]
Definition: MaterialBudgetTree.h:69
MaterialBudgetTree::t_DeltaIL_SUP
float t_DeltaIL_SUP[MAXSTEPS]
Definition: MaterialBudgetTree.h:50
MaterialBudgetTree::t_MaterialID
int t_MaterialID[MAXSTEPS]
Definition: MaterialBudgetTree.h:81
MaterialBudgetTree::t_ParticleID
int t_ParticleID
Definition: MaterialBudgetTree.h:31
MaterialBudgetTree::t_ParticleStepID
int t_ParticleStepID[MAXSTEPS]
Definition: MaterialBudgetTree.h:86
MaterialBudgetTree::t_ParticleStepPreInteraction
int t_ParticleStepPreInteraction[MAXSTEPS]
Definition: MaterialBudgetTree.h:107
MaterialBudgetData.h
MaterialBudgetTree::t_VolumeXaxis1
float t_VolumeXaxis1[MAXSTEPS]
Definition: MaterialBudgetTree.h:71
MaterialBudgetTree::t_ParticleStepFinalPt
float t_ParticleStepFinalPt[MAXSTEPS]
Definition: MaterialBudgetTree.h:97
MaterialBudgetTree::t_ParticleEnergy
float t_ParticleEnergy
Definition: MaterialBudgetTree.h:35
MaterialBudgetTree::t_ParticleStepFinalPy
float t_ParticleStepFinalPy[MAXSTEPS]
Definition: MaterialBudgetTree.h:102
MaterialBudgetTree::t_VolumeX
float t_VolumeX[MAXSTEPS]
Definition: MaterialBudgetTree.h:68
MaterialBudgetTree::t_DeltaMB
float t_DeltaMB[MAXSTEPS]
Definition: MaterialBudgetTree.h:40
MaterialBudgetTree::t_ParticleStepFinalMass
float t_ParticleStepFinalMass[MAXSTEPS]
Definition: MaterialBudgetTree.h:106
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
MaterialBudgetTree::t_ParticleStepInitialMass
float t_ParticleStepInitialMass[MAXSTEPS]
Definition: MaterialBudgetTree.h:96
MaterialBudgetTree::t_ParticleMass
float t_ParticleMass
Definition: MaterialBudgetTree.h:36
MaterialBudgetTree::t_DeltaMB_COL
float t_DeltaMB_COL[MAXSTEPS]
Definition: MaterialBudgetTree.h:44
MaterialBudgetTree::t_DeltaMB_OTH
float t_DeltaMB_OTH[MAXSTEPS]
Definition: MaterialBudgetTree.h:46
MaterialBudgetTree::t_DeltaIL_SEN
float t_DeltaIL_SEN[MAXSTEPS]
Definition: MaterialBudgetTree.h:51
MaterialBudgetFormat
Definition: MaterialBudgetFormat.h:9
MaterialBudgetTree::t_InitialZ
double t_InitialZ[MAXSTEPS]
Definition: MaterialBudgetTree.h:60
MaterialBudgetTree::t_ParticleStepInitialPhi
float t_ParticleStepInitialPhi[MAXSTEPS]
Definition: MaterialBudgetTree.h:89
cuy.ii
ii
Definition: cuy.py:590
MaterialBudgetTree::t_ParticleStepInitialPt
float t_ParticleStepInitialPt[MAXSTEPS]
Definition: MaterialBudgetTree.h:87
MaterialBudgetTree::t_VolumeYaxis3
float t_VolumeYaxis3[MAXSTEPS]
Definition: MaterialBudgetTree.h:76
MaterialBudgetTree::fillPerStep
void fillPerStep() override
Definition: MaterialBudgetTree.cc:109
MaterialBudgetTree::t_ParticleStepInitialPy
float t_ParticleStepInitialPy[MAXSTEPS]
Definition: MaterialBudgetTree.h:92
MaterialBudgetTree::t_DeltaIL_ELE
float t_DeltaIL_ELE[MAXSTEPS]
Definition: MaterialBudgetTree.h:54