CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
MaterialBudgetData Class Reference

#include <MaterialBudgetData.h>

Public Member Functions

bool allStepsON ()
 
void dataEndTrack (const G4Track *aTrack)
 
void dataPerStep (const G4Step *aStep)
 
void dataStartTrack (const G4Track *aTrack)
 
float getAirDil (int is) const
 
float getAirDmb (int is) const
 
float getAirFractionIL () const
 
float getAirFractionMB () const
 
float getAirIL () const
 
float getAirMB () const
 
float getCablesDil (int is) const
 
float getCablesDmb (int is) const
 
float getCablesFractionIL () const
 
float getCablesFractionMB () const
 
float getCablesIL () const
 
float getCablesMB () const
 
float getCoolingDil (int is) const
 
float getCoolingDmb (int is) const
 
float getCoolingFractionIL () const
 
float getCoolingFractionMB () const
 
float getCoolingIL () const
 
float getCoolingMB () const
 
float getElectronicsDil (int is) const
 
float getElectronicsDmb (int is) const
 
float getElectronicsFractionIL () const
 
float getElectronicsFractionMB () const
 
float getElectronicsIL () const
 
float getElectronicsMB () const
 
float getEnergy () const
 
float getEta () const
 
int getID () const
 
float getIntLen () const
 
float getMass () const
 
int getNumberOfSteps () const
 
float getOtherDil (int is) const
 
float getOtherDmb (int is) const
 
float getOtherFractionIL () const
 
float getOtherFractionMB () const
 
float getOtherIL () const
 
float getOtherMB () const
 
float getPhi () const
 
float getPt () const
 
int getPVcopyNo () const
 
std::string getPVname () const
 
float getRadLen () const
 
float getSensitiveDil (int is) const
 
float getSensitiveDmb (int is) const
 
float getSensitiveFractionIL () const
 
float getSensitiveFractionMB () const
 
float getSensitiveIL () const
 
float getSensitiveMB () const
 
float getStepDil (int is)
 
float getStepDmb (int is)
 
float getStepFinalBeta (int is)
 
float getStepFinalEnergy (int is)
 
float getStepFinalEta (int is)
 
float getStepFinalGamma (int is)
 
float getStepFinalMass (int is)
 
float getStepFinalPhi (int is)
 
float getStepFinalPt (int is)
 
float getStepFinalPx (int is)
 
float getStepFinalPy (int is)
 
float getStepFinalPz (int is)
 
double getStepFinalX (int is)
 
double getStepFinalY (int is)
 
double getStepFinalZ (int is)
 
int getStepID (int is)
 
float getStepInitialBeta (int is)
 
float getStepInitialEnergy (int is)
 
float getStepInitialEta (int is)
 
float getStepInitialGamma (int is)
 
float getStepInitialMass (int is)
 
float getStepInitialPhi (int is)
 
float getStepInitialPt (int is)
 
float getStepInitialPx (int is)
 
float getStepInitialPy (int is)
 
float getStepInitialPz (int is)
 
double getStepInitialX (int is)
 
double getStepInitialY (int is)
 
double getStepInitialZ (int is)
 
float getStepMaterialDensity (int is)
 
int getStepMaterialID (int is)
 
float getStepMaterialLambda0 (int is)
 
std::string getStepMaterialName (int is)
 
float getStepMaterialX0 (int is)
 
int getStepPostProcess (int is)
 
int getStepPreProcess (int is)
 
int getStepVolumeCopy (int is)
 
int getStepVolumeID (int is)
 
std::string getStepVolumeName (int is)
 
float getStepVolumeX (int is)
 
CLHEP::HepLorentzVector getStepVolumeXaxis (int is)
 
float getStepVolumeY (int is)
 
CLHEP::HepLorentzVector getStepVolumeYaxis (int is)
 
float getStepVolumeZ (int is)
 
CLHEP::HepLorentzVector getStepVolumeZaxis (int is)
 
float getSupportDil (int is) const
 
float getSupportDmb (int is) const
 
float getSupportFractionIL () const
 
float getSupportFractionMB () const
 
float getSupportIL () const
 
float getSupportMB () const
 
float getTotalIL () const
 
float getTotalMB () const
 
float getTrkLen () const
 
 MaterialBudgetData ()
 
void SetAllStepsToTree ()
 
 ~MaterialBudgetData ()
 

Private Attributes

bool allStepsToTree
 
double densityConvertionFactor
 
int MAXNUMBERSTEPS
 
MaterialBudgetCategorizermyMaterialBudgetCategorizer
 
int stepN
 
float * theAirDil
 
float * theAirDmb
 
float theAirFractionIL
 
float theAirFractionMB
 
float theAirIL
 
float theAirMB
 
float * theCablesDil
 
float * theCablesDmb
 
float theCablesFractionIL
 
float theCablesFractionMB
 
float theCablesIL
 
float theCablesMB
 
float * theCoolingDil
 
float * theCoolingDmb
 
float theCoolingFractionIL
 
float theCoolingFractionMB
 
float theCoolingIL
 
float theCoolingMB
 
float * theDil
 
float * theDmb
 
float * theElectronicsDil
 
float * theElectronicsDmb
 
float theElectronicsFractionIL
 
float theElectronicsFractionMB
 
float theElectronicsIL
 
float theElectronicsMB
 
float theEnergy
 
float theEta
 
double * theFinalX
 
double * theFinalY
 
double * theFinalZ
 
int theID
 
double * theInitialX
 
double * theInitialY
 
double * theInitialZ
 
float theIntLen
 
float theMass
 
float * theMaterialDensity
 
int * theMaterialID
 
float * theMaterialLambda0
 
std::string * theMaterialName
 
float * theMaterialX0
 
float * theOtherDil
 
float * theOtherDmb
 
float theOtherFractionIL
 
float theOtherFractionMB
 
float theOtherIL
 
float theOtherMB
 
float thePhi
 
float thePt
 
int thePVcopyNo
 
std::string thePVname
 
float theRadLen
 
float * theSensitiveDil
 
float * theSensitiveDmb
 
float theSensitiveFractionIL
 
float theSensitiveFractionMB
 
float theSensitiveIL
 
float theSensitiveMB
 
float * theStepFinalBeta
 
float * theStepFinalEnergy
 
float * theStepFinalEta
 
float * theStepFinalGamma
 
float * theStepFinalMass
 
float * theStepFinalPhi
 
float * theStepFinalPt
 
float * theStepFinalPx
 
float * theStepFinalPy
 
float * theStepFinalPz
 
int * theStepID
 
float * theStepInitialBeta
 
float * theStepInitialEnergy
 
float * theStepInitialEta
 
float * theStepInitialGamma
 
float * theStepInitialMass
 
float * theStepInitialPhi
 
float * theStepInitialPt
 
float * theStepInitialPx
 
float * theStepInitialPy
 
float * theStepInitialPz
 
int theStepN
 
int * theStepPostProcess
 
int * theStepPreProcess
 
float * theSupportDil
 
float * theSupportDmb
 
float theSupportFractionIL
 
float theSupportFractionMB
 
float theSupportIL
 
float theSupportMB
 
float theTotalIL
 
float theTotalMB
 
float theTrkLen
 
int * theVolumeCopy
 
int * theVolumeID
 
std::string * theVolumeName
 
float * theVolumeX
 
float * theVolumeXaxis1
 
float * theVolumeXaxis2
 
float * theVolumeXaxis3
 
float * theVolumeY
 
float * theVolumeYaxis1
 
float * theVolumeYaxis2
 
float * theVolumeYaxis3
 
float * theVolumeZ
 
float * theVolumeZaxis1
 
float * theVolumeZaxis2
 
float * theVolumeZaxis3
 

Detailed Description

Definition at line 18 of file MaterialBudgetData.h.

Constructor & Destructor Documentation

MaterialBudgetData::MaterialBudgetData ( )

Definition at line 12 of file MaterialBudgetData.cc.

References allStepsToTree, densityConvertionFactor, and myMaterialBudgetCategorizer.

13 {
14  //instantiate categorizer to assign an ID to volumes and materials
16  allStepsToTree = false;
17  densityConvertionFactor = 6.24E18;
18 }
MaterialBudgetCategorizer * myMaterialBudgetCategorizer
MaterialBudgetData::~MaterialBudgetData ( )

Definition at line 20 of file MaterialBudgetData.cc.

20  {
21 }

Member Function Documentation

bool MaterialBudgetData::allStepsON ( )
inline

Definition at line 289 of file MaterialBudgetData.h.

References allStepsToTree.

Referenced by MaterialBudgetTree::book(), and MaterialBudgetTree::fillEndTrack().

289  {
290  return allStepsToTree;
291  }
void MaterialBudgetData::dataEndTrack ( const G4Track *  aTrack)

Definition at line 167 of file MaterialBudgetData.cc.

References gather_cfg::cout, theAirIL, theAirMB, theCablesIL, theCablesMB, theCoolingIL, theCoolingMB, theElectronicsIL, theElectronicsMB, theEta, theOtherIL, theOtherMB, thePhi, theSensitiveIL, theSensitiveMB, theStepN, theSupportIL, theSupportMB, theTotalIL, and theTotalMB.

Referenced by MaterialBudgetAction::update().

168 {
169  //- std::cout << "[OVAL] MaterialBudget " << G4EventManager::GetEventManager()->GetConstCurrentEvent()->GetEventID() << " " << theEta << " " << thePhi << " " << theTotalMB << std::endl;
170  // rr
171  std::cout << "Recorded steps " << theStepN << std::endl;
172  std::cout << " Material Budget: Radiation Length " << G4EventManager::GetEventManager()->GetConstCurrentEvent()->GetEventID() << " eta " << theEta << " phi " << thePhi << " total X " << theTotalMB << " SUP " << theSupportMB << " SEN " << theSensitiveMB << " CAB " << theCablesMB << " COL " << theCoolingMB << " ELE " << theElectronicsMB << " other " << theOtherMB << " Air " << theAirMB << std::endl;
173  std::cout << " Material Budget: Interaction Length " << G4EventManager::GetEventManager()->GetConstCurrentEvent()->GetEventID() << " eta " << theEta << " phi " << thePhi << " total L " << theTotalIL << " SUP " << theSupportIL << " SEN " << theSensitiveIL << " CAB " << theCablesIL << " COL " << theCoolingIL << " ELE " << theElectronicsIL << " other " << theOtherIL << " Air " << theAirIL << std::endl;
174  // rr
175 }
tuple cout
Definition: gather_cfg.py:121
void MaterialBudgetData::dataPerStep ( const G4Step *  aStep)

Definition at line 178 of file MaterialBudgetData.cc.

References allStepsToTree, gather_cfg::cout, densityConvertionFactor, MaterialBudgetCategorizer::l0fraction(), MaterialBudgetCategorizer::material(), MAXNUMBERSTEPS, myMaterialBudgetCategorizer, mergeVDriftHistosByStation::name, mathSSE::sqrt(), stepN, lumiQTWidget::t, theAirDil, theAirDmb, theAirFractionIL, theAirFractionMB, theAirIL, theAirMB, theCablesDil, theCablesDmb, theCablesFractionIL, theCablesFractionMB, theCablesIL, theCablesMB, theCoolingDil, theCoolingDmb, theCoolingFractionIL, theCoolingFractionMB, theCoolingIL, theCoolingMB, theDil, theDmb, theElectronicsDil, theElectronicsDmb, theElectronicsFractionIL, theElectronicsFractionMB, theElectronicsIL, theElectronicsMB, theEnergy, theEta, theFinalX, theFinalY, theFinalZ, theID, theInitialX, theInitialY, theInitialZ, theIntLen, theMass, theMaterialDensity, theMaterialID, theMaterialLambda0, theMaterialName, theMaterialX0, theOtherDil, theOtherDmb, theOtherFractionIL, theOtherFractionMB, theOtherIL, theOtherMB, thePhi, thePt, thePVcopyNo, thePVname, theRadLen, theSensitiveDil, theSensitiveDmb, theSensitiveFractionIL, theSensitiveFractionMB, theSensitiveIL, theSensitiveMB, theStepFinalBeta, theStepFinalEnergy, theStepFinalEta, theStepFinalGamma, theStepFinalMass, theStepFinalPhi, theStepFinalPt, theStepFinalPx, theStepFinalPy, theStepFinalPz, theStepID, theStepInitialBeta, theStepInitialEnergy, theStepInitialEta, theStepInitialGamma, theStepInitialMass, theStepInitialPhi, theStepInitialPt, theStepInitialPx, theStepInitialPy, theStepInitialPz, theStepN, theStepPostProcess, theStepPreProcess, theSupportDil, theSupportDmb, theSupportFractionIL, theSupportFractionMB, theSupportIL, theSupportMB, theTotalIL, theTotalMB, theTrkLen, theVolumeCopy, theVolumeID, theVolumeName, theVolumeX, theVolumeXaxis1, theVolumeXaxis2, theVolumeXaxis3, theVolumeY, theVolumeYaxis1, theVolumeYaxis2, theVolumeYaxis3, theVolumeZ, theVolumeZaxis1, theVolumeZaxis2, theVolumeZaxis3, MaterialBudgetCategorizer::volume(), and MaterialBudgetCategorizer::x0fraction().

Referenced by MaterialBudgetAction::update().

179 {
180  G4Material * theMaterialPre = aStep->GetPreStepPoint()->GetMaterial();
181  // G4Material * theMaterialPost = aStep->GetPostStepPoint()->GetMaterial();
182 
183  G4StepPoint* prePoint = aStep->GetPreStepPoint();
184  G4StepPoint* postPoint = aStep->GetPostStepPoint();
185 
186  CLHEP::Hep3Vector prePos = prePoint->GetPosition();
187  CLHEP::Hep3Vector postPos = postPoint->GetPosition();
188 
189  G4double steplen = aStep->GetStepLength();
190 
191  G4double radlen;
192  G4double intlen;
193  G4double density;
194 
195  radlen = theMaterialPre->GetRadlen();
196  intlen = theMaterialPre->GetNuclearInterLength();
197  density = theMaterialPre->GetDensity() / densityConvertionFactor; // always g/cm3
198 
199  G4String name = theMaterialPre->GetName();
200  // std::cout << " steplen " << steplen << " radlen " << radlen << " mb " << steplen/radlen << " mate " << theMaterialPre->GetName() << std::endl;
201 
202  G4LogicalVolume* lv = aStep->GetTrack()->GetVolume()->GetLogicalVolume();
203 
204  // instantiate the categorizer
205  int volumeID = myMaterialBudgetCategorizer->volume( lv->GetName() );
206  int materialID = myMaterialBudgetCategorizer->material( lv->GetMaterial()->GetName() );
207  // rr
208  std::string volumeName = lv->GetName();
209  std::string materialName = lv->GetMaterial()->GetName();
210  // rr
211 
212  // rr
213  /*
214  std::cout << " Volume " << lv->GetName() << std::endl;
215  std::cout << " Material " << lv->GetMaterial()->GetName() << std::endl;
216  */
217  theSupportFractionMB = myMaterialBudgetCategorizer->x0fraction(lv->GetMaterial()->GetName())[0];
218  theSensitiveFractionMB = myMaterialBudgetCategorizer->x0fraction(lv->GetMaterial()->GetName())[1];
219  theCablesFractionMB = myMaterialBudgetCategorizer->x0fraction(lv->GetMaterial()->GetName())[2];
220  theCoolingFractionMB = myMaterialBudgetCategorizer->x0fraction(lv->GetMaterial()->GetName())[3];
221  theElectronicsFractionMB = myMaterialBudgetCategorizer->x0fraction(lv->GetMaterial()->GetName())[4];
222  theOtherFractionMB = myMaterialBudgetCategorizer->x0fraction(lv->GetMaterial()->GetName())[5];
223  theAirFractionMB = myMaterialBudgetCategorizer->x0fraction(lv->GetMaterial()->GetName())[6];
224  if(theOtherFractionMB!=0) std::cout << " material found with no category " << lv->GetMaterial()->GetName()
225  << " in volume " << lv->GetName() << std::endl;
226  theSupportFractionIL = myMaterialBudgetCategorizer->l0fraction(lv->GetMaterial()->GetName())[0];
227  theSensitiveFractionIL = myMaterialBudgetCategorizer->l0fraction(lv->GetMaterial()->GetName())[1];
228  theCablesFractionIL = myMaterialBudgetCategorizer->l0fraction(lv->GetMaterial()->GetName())[2];
229  theCoolingFractionIL = myMaterialBudgetCategorizer->l0fraction(lv->GetMaterial()->GetName())[3];
230  theElectronicsFractionIL = myMaterialBudgetCategorizer->l0fraction(lv->GetMaterial()->GetName())[4];
231  theOtherFractionIL = myMaterialBudgetCategorizer->l0fraction(lv->GetMaterial()->GetName())[5];
232  theAirFractionIL = myMaterialBudgetCategorizer->l0fraction(lv->GetMaterial()->GetName())[6];
233  if(theOtherFractionIL!=0) std::cout << " material found with no category " << lv->GetMaterial()->GetName()
234  << " in volume " << lv->GetName() << std::endl;
235  // if(theOtherFractionMB!=0) LogDebug("MaterialBudgetData") << " material found with no category " << lv->GetMaterial()->GetName()
236  // << " in volume " << lv->GetName();
237  // rr
238 
239  float dmb = steplen/radlen;
240  float dil = steplen/intlen;
241 
242  G4VPhysicalVolume* pv = aStep->GetPreStepPoint()->GetPhysicalVolume();
243  const G4VTouchable* t = aStep->GetPreStepPoint()->GetTouchable();
244  G4ThreeVector objectTranslation = t->GetTranslation();
245  const G4RotationMatrix* objectRotation = t->GetRotation();
246  const G4VProcess* interactionPre = prePoint->GetProcessDefinedStep();
247  const G4VProcess* interactionPost = postPoint->GetProcessDefinedStep();
248 
249  G4Track* track = aStep->GetTrack();
250  if(theStepN==0) std::cout << " Simulated Particle " << theID << "\tMass " << theMass << " MeV/c2"
251  << "\tPt = " << thePt << " MeV/c" << "\tEta = " << theEta << "\tPhi = " << thePhi
252  << "\tEnergy = " << theEnergy << " MeV"
253  // << std::endl
254  // << "\tMagnetic Field at (0,0,0): (" << B000[0] << "," < B000[1] << "," << B000[2] << ")"
255  << std::endl;
256 
257  //fill data per step
258  if( allStepsToTree ){
260  theDmb[theStepN] = dmb;
261  theDil[theStepN] = dil;
276  theInitialX[theStepN] = prePos.x();
277  theInitialY[theStepN] = prePos.y();
278  theInitialZ[theStepN] = prePos.z();
279  theFinalX[theStepN] = postPos.x();
280  theFinalY[theStepN] = postPos.y();
281  theFinalZ[theStepN] = postPos.z();
282  theVolumeID[theStepN] = volumeID;
283  theVolumeName[theStepN] = volumeName;
284  theVolumeCopy[theStepN] = pv->GetCopyNo();
285  theVolumeX[theStepN] = objectTranslation.x();
286  theVolumeY[theStepN] = objectTranslation.y();
287  theVolumeZ[theStepN] = objectTranslation.z();
288  theVolumeXaxis1[theStepN] = objectRotation->xx();
289  theVolumeXaxis2[theStepN] = objectRotation->xy();
290  theVolumeXaxis3[theStepN] = objectRotation->xz();
291  theVolumeYaxis1[theStepN] = objectRotation->yx();
292  theVolumeYaxis2[theStepN] = objectRotation->yy();
293  theVolumeYaxis3[theStepN] = objectRotation->yz();
294  theVolumeZaxis1[theStepN] = objectRotation->zx();
295  theVolumeZaxis2[theStepN] = objectRotation->zy();
296  theVolumeZaxis3[theStepN] = objectRotation->zz();
297  theMaterialID[theStepN] = materialID;
298  theMaterialName[theStepN] = materialName;
299  theMaterialX0[theStepN] = radlen;
300  theMaterialLambda0[theStepN] = intlen;
301  theMaterialDensity[theStepN] = density;
302  theStepID[theStepN] = track->GetDefinition()->GetPDGEncoding();
303  theStepInitialPt[theStepN] = prePoint->GetMomentum().perp();
304  theStepInitialEta[theStepN] = prePoint->GetMomentum().eta();
305  theStepInitialPhi[theStepN] = prePoint->GetMomentum().phi();
306  theStepInitialEnergy[theStepN] = prePoint->GetTotalEnergy();
307  theStepInitialPx[theStepN] = prePoint->GetMomentum().x();
308  theStepInitialPy[theStepN] = prePoint->GetMomentum().y();
309  theStepInitialPz[theStepN] = prePoint->GetMomentum().z();
310  theStepInitialBeta[theStepN] = prePoint->GetBeta();
311  theStepInitialGamma[theStepN] = prePoint->GetGamma();
312  theStepInitialMass[theStepN] = prePoint->GetMass();
313  theStepFinalPt[theStepN] = postPoint->GetMomentum().perp();
314  theStepFinalEta[theStepN] = postPoint->GetMomentum().eta();
315  theStepFinalPhi[theStepN] = postPoint->GetMomentum().phi();
316  theStepFinalEnergy[theStepN] = postPoint->GetTotalEnergy();
317  theStepFinalPx[theStepN] = postPoint->GetMomentum().x();
318  theStepFinalPy[theStepN] = postPoint->GetMomentum().y();
319  theStepFinalPz[theStepN] = postPoint->GetMomentum().z();
320  theStepFinalBeta[theStepN] = postPoint->GetBeta();
321  theStepFinalGamma[theStepN] = postPoint->GetGamma();
322  theStepFinalMass[theStepN] = postPoint->GetMass();
323  int preProcType = -99;
324  int postProcType = -99;
325  if (interactionPre) preProcType = interactionPre->GetProcessType();
326  theStepPreProcess[theStepN] = preProcType;
327  if (interactionPost) postProcType = interactionPost->GetProcessType();
328  theStepPostProcess[theStepN] = postProcType;
329 #ifdef TREE_DEBUG
330  std::cout << " step " << theStepN
331  << "\tDelta MB = " << theDmb[theStepN]
332  << std::endl
333  << "\t\tSupport " << theSupportDmb[theStepN]
334  << " Sensitive " << theSensitiveDmb[theStepN]
335  << " Cables " << theCablesDmb[theStepN]
336  << " Cooling " << theCoolingDmb[theStepN]
337  << " Electronics " << theElectronicsDmb[theStepN]
338  << " Other " << theOtherDmb[theStepN]
339  << " Air " << theAirDmb[theStepN]
340  << std::endl
341  << "\tDelta IL = " << theDil[theStepN]
342  << std::endl
343  << "\t\tSupport " << theSupportDil[theStepN]
344  << " Sensitive " << theSensitiveDil[theStepN]
345  << " Cables " << theCablesDil[theStepN]
346  << " Cooling " << theCoolingDil[theStepN]
347  << " Electronics " << theElectronicsDil[theStepN]
348  << " Other " << theOtherDil[theStepN]
349  << " Air " << theAirDil[theStepN]
350  << std::endl;
351  if (interactionPre)
352  std::cout << "\tProcess Pre " << interactionPre->GetProcessName()
353  << " type " << theStepPreProcess[theStepN] << " " << interactionPre->GetProcessTypeName(G4ProcessType(theStepPreProcess[theStepN]))
354  << std::endl;
355  if (interactionPost)
356  std::cout << "\tProcess Post " << interactionPost->GetProcessName()
357  << " type " << theStepPostProcess[theStepN] << " "
358  << interactionPost->GetProcessTypeName(G4ProcessType(theStepPostProcess[theStepN]))
359  << std::endl;
360  std::cout << "\tPre x = " << theInitialX[theStepN]
361  << "\ty = " << theInitialY[theStepN]
362  << "\tz = " << theInitialZ[theStepN]
363  << "\tPolar Radius = " << sqrt(prePos.x()*prePos.x()+prePos.y()*prePos.y())
364  << "\tPt = " << theStepInitialPt[theStepN]
365  << "\tEnergy = " << theStepInitialEnergy[theStepN]
366  // << std::endl
367  // << "B-field(T) at Pre (cm): " << field->fieldInTesla(GlobalPoint(pos.x()/10.,pos.y()/10.,pos.z()/10.))
368  << std::endl;
369  std::cout << "\tPost x = " << theFinalX[theStepN]
370  << "\ty = " << theFinalY[theStepN]
371  << "\tz = " << theFinalZ[theStepN]
372  << "\tPolar Radius = " << sqrt(postPos.x()*postPos.x()+postPos.y()*postPos.y())
373  << "\tPt = " << theStepFinalPt[theStepN]
374  << "\tEnergy = " << theStepFinalEnergy[theStepN]
375  << std::endl;
376  std::cout << "\tvolume " << volumeID << " " << theVolumeName[theStepN]
377  << " copy number " << theVolumeCopy[theStepN]
378  << "\tmaterial " << theMaterialID[theStepN] << " " << theMaterialName[theStepN]
379  << "\tDensity = " << theMaterialDensity[theStepN] << " g/cm3"
380  << "\tX0 = " << theMaterialX0[theStepN] << " mm"
381  << "\tLambda0 = " << theMaterialLambda0[theStepN] << " mm"
382  << std::endl;
383  std::cout << "\t\tParticle " << theStepID[theStepN]
384  << " Initial Pt = " << theStepInitialPt[theStepN] << " MeV/c"
385  << " eta = " << theStepInitialEta[theStepN]
386  << " phi = " << theStepInitialPhi[theStepN]
387  << " Energy = " << theStepInitialEnergy[theStepN] << " MeV"
388  << " Mass = " << theStepInitialMass[theStepN] << " MeV/c2"
389  << " Beta = " << theStepInitialBeta[theStepN]
390  << " Gamma = " << theStepInitialGamma[theStepN]
391  << std::endl
392  << "\t\tParticle " << theStepID[theStepN]
393  << " Final Pt = " << theStepFinalPt[theStepN] << " MeV/c"
394  << " eta = " << theStepFinalEta[theStepN]
395  << " phi = " << theStepFinalPhi[theStepN]
396  << " Energy = " << theStepFinalEnergy[theStepN] << " MeV"
397  << " Mass = " << theStepFinalMass[theStepN] << " MeV/c2"
398  << " Beta = " << theStepFinalBeta[theStepN]
399  << " Gamma = " << theStepFinalGamma[theStepN]
400  << std::endl;
401  std:: cout << "\tVolume Centre x = " << theVolumeX[theStepN]
402  << "\ty = " << theVolumeY[theStepN]
403  << "\tz = " << theVolumeZ[theStepN]
404  << "\tPolar Radius = " << sqrt( theVolumeX[theStepN]*theVolumeX[theStepN] +
405  theVolumeY[theStepN]*theVolumeY[theStepN] )
406  << std::endl;
407  std::cout << "\tx axis = ("
408  << theVolumeXaxis1[theStepN] << ","
409  << theVolumeXaxis2[theStepN] << ","
410  << theVolumeXaxis3[theStepN] << ")"
411  << std::endl;
412  std::cout << "\ty axis = ("
413  << theVolumeYaxis1[theStepN] << ","
414  << theVolumeYaxis2[theStepN] << ","
415  << theVolumeYaxis3[theStepN] << ")"
416  << std::endl;
417  std::cout << "\tz axis = ("
418  << theVolumeZaxis1[theStepN] << ","
419  << theVolumeZaxis2[theStepN] << ","
420  << theVolumeZaxis3[theStepN] << ")"
421  << std::endl;
422  std::cout << "\tSecondaries"
423  << std::endl;
424  for(G4TrackVector::iterator iSec = aStep->GetSecondary()->begin(); iSec!=aStep->GetSecondary()->end(); iSec++) {
425  std::cout << "\t\tid " << (*iSec)->GetDefinition()->GetPDGEncoding()
426  << " created through process "
427  << " type " << (*iSec)->GetCreatorProcess()->GetProcessType()
428  << " " << (*iSec)->GetCreatorProcess()->GetProcessTypeName(G4ProcessType((*iSec)->GetCreatorProcess()->GetProcessType()))
429  << std::endl;
430  }
431 #endif
432  }
433 
434  theTrkLen = aStep->GetTrack()->GetTrackLength();
435  //- std::cout << " theTrkLen " << theTrkLen << " theTrkLen2 " << theTrkLen2 << " postPos " << postPos.mag() << postPos << std::endl;
436  thePVname = pv->GetName();
437  thePVcopyNo = pv->GetCopyNo();
438  theRadLen = radlen;
439  theIntLen = intlen;
440  theTotalMB += dmb;
441  theTotalIL += dil;
442 
443  // rr
446  theCablesMB += (dmb * theCablesFractionMB);
449  theOtherMB += (dmb * theOtherFractionMB);
450  theAirMB += (dmb * theAirFractionMB);
453  theCablesIL += (dil * theCablesFractionIL);
456  theOtherIL += (dil * theOtherFractionIL);
457  theAirIL += (dil * theAirFractionIL);
458  // rr
459 
460  theStepN++;
461 
462 }
std::vector< float > x0fraction(std::string s)
std::string * theMaterialName
T sqrt(T t)
Definition: SSEVec.h:46
MaterialBudgetCategorizer * myMaterialBudgetCategorizer
std::string * theVolumeName
std::vector< float > l0fraction(std::string s)
tuple cout
Definition: gather_cfg.py:121
void MaterialBudgetData::dataStartTrack ( const G4Track *  aTrack)

Definition at line 100 of file MaterialBudgetData.cc.

References gather_cfg::cout, dir, myMaterialBudgetCategorizer, theAirFractionIL, theAirFractionMB, theAirIL, theAirMB, theCablesFractionIL, theCablesFractionMB, theCablesIL, theCablesMB, theCoolingFractionIL, theCoolingFractionMB, theCoolingIL, theCoolingMB, theElectronicsFractionIL, theElectronicsFractionMB, theElectronicsIL, theElectronicsMB, theEnergy, theEta, theID, theMass, theOtherFractionIL, theOtherFractionMB, theOtherIL, theOtherMB, thePhi, thePt, theSensitiveFractionIL, theSensitiveFractionMB, theSensitiveIL, theSensitiveMB, theStepN, theSupportFractionIL, theSupportFractionMB, theSupportIL, theSupportMB, theTotalIL, and theTotalMB.

Referenced by MaterialBudgetAction::update().

101 {
102  // rr
103  std::cout << "MaterialBudget Analysis of Event #" << G4EventManager::GetEventManager()->GetConstCurrentEvent()->GetEventID() << std::endl;
104  // rr
105 
106  const G4ThreeVector& dir = aTrack->GetMomentum() ;
107 
109 
110  theStepN=0;
111  theTotalMB=0;
112  theTotalIL=0;
113  theEta=0;
114  thePhi=0;
115 
116  // rr
117  theID=0;
118  thePt=0;
119  theEnergy=0;
120  theMass=0;
121 
122  theSupportMB = 0.;
123  theSensitiveMB = 0.;
124  theCablesMB = 0.;
125  theCoolingMB = 0.;
126  theElectronicsMB = 0.;
127  theOtherMB = 0.;
128  theAirMB = 0.;
129  theSupportIL = 0.;
130  theSensitiveIL = 0.;
131  theCablesIL = 0.;
132  theCoolingIL = 0.;
133  theElectronicsIL = 0.;
134  theOtherIL = 0.;
135  theAirIL = 0.;
138  theCablesFractionMB = 0.;
141  theOtherFractionMB = 0.;
142  theAirFractionMB = 0.;
145  theCablesFractionIL = 0.;
148  theOtherFractionIL = 0.;
149  theAirFractionIL = 0.;
150  // rr
151 
152  theID = (int)(aTrack->GetDefinition()->GetPDGEncoding());
153  thePt = dir.perp();
154  if( dir.theta() != 0 ) {
155  theEta = dir.eta();
156  } else {
157  theEta = -99;
158  }
159  // thePhi = dir.phi()/deg; // better not to store in deg
160  thePhi = dir.phi();
161  theEnergy = aTrack->GetTotalEnergy();
162  theMass = aTrack->GetDefinition()->GetPDGMass();
163 
164 }
MaterialBudgetCategorizer * myMaterialBudgetCategorizer
tuple cout
Definition: gather_cfg.py:121
dbl *** dir
Definition: mlp_gen.cc:35
float MaterialBudgetData::getAirDil ( int  is) const
inline

Definition at line 154 of file MaterialBudgetData.h.

References theAirDil.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

154  {
155  return theAirDil[is]; }
float MaterialBudgetData::getAirDmb ( int  is) const
inline

Definition at line 136 of file MaterialBudgetData.h.

References theAirDmb.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

136  {
137  return theAirDmb[is]; }
float MaterialBudgetData::getAirFractionIL ( ) const
inline

Definition at line 73 of file MaterialBudgetData.h.

References theAirFractionIL.

73  {
74  return theAirFractionIL; }
float MaterialBudgetData::getAirFractionMB ( ) const
inline

Definition at line 45 of file MaterialBudgetData.h.

References theAirFractionMB.

45  {
46  return theAirFractionMB; }
float MaterialBudgetData::getAirIL ( ) const
inline

Definition at line 89 of file MaterialBudgetData.h.

References theAirIL.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

89  {
90  return theAirIL; }
float MaterialBudgetData::getAirMB ( ) const
inline

Definition at line 59 of file MaterialBudgetData.h.

References theAirMB.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

59  {
60  return theAirMB; }
float MaterialBudgetData::getCablesDil ( int  is) const
inline

Definition at line 146 of file MaterialBudgetData.h.

References theCablesDil.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

146  {
147  return theCablesDil[is]; }
float MaterialBudgetData::getCablesDmb ( int  is) const
inline

Definition at line 128 of file MaterialBudgetData.h.

References theCablesDmb.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

128  {
129  return theCablesDmb[is]; }
float MaterialBudgetData::getCablesFractionIL ( ) const
inline

Definition at line 65 of file MaterialBudgetData.h.

References theCablesFractionIL.

65  {
66  return theCablesFractionIL; }
float MaterialBudgetData::getCablesFractionMB ( ) const
inline

Definition at line 37 of file MaterialBudgetData.h.

References theCablesFractionMB.

37  {
38  return theCablesFractionMB; }
float MaterialBudgetData::getCablesIL ( ) const
inline

Definition at line 81 of file MaterialBudgetData.h.

References theCablesIL.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

81  {
82  return theCablesIL; }
float MaterialBudgetData::getCablesMB ( ) const
inline

Definition at line 51 of file MaterialBudgetData.h.

References theCablesMB.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

51  {
52  return theCablesMB; }
float MaterialBudgetData::getCoolingDil ( int  is) const
inline

Definition at line 148 of file MaterialBudgetData.h.

References theCoolingDil.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

148  {
149  return theCoolingDil[is]; }
float MaterialBudgetData::getCoolingDmb ( int  is) const
inline

Definition at line 130 of file MaterialBudgetData.h.

References theCoolingDmb.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

130  {
131  return theCoolingDmb[is]; }
float MaterialBudgetData::getCoolingFractionIL ( ) const
inline

Definition at line 67 of file MaterialBudgetData.h.

References theCoolingFractionIL.

67  {
68  return theCoolingFractionIL; }
float MaterialBudgetData::getCoolingFractionMB ( ) const
inline

Definition at line 39 of file MaterialBudgetData.h.

References theCoolingFractionMB.

39  {
40  return theCoolingFractionMB; }
float MaterialBudgetData::getCoolingIL ( ) const
inline

Definition at line 83 of file MaterialBudgetData.h.

References theCoolingIL.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

83  {
84  return theCoolingIL; }
float MaterialBudgetData::getCoolingMB ( ) const
inline

Definition at line 53 of file MaterialBudgetData.h.

References theCoolingMB.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

53  {
54  return theCoolingMB; }
float MaterialBudgetData::getElectronicsDil ( int  is) const
inline

Definition at line 150 of file MaterialBudgetData.h.

References theElectronicsDil.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

150  {
151  return theElectronicsDil[is]; }
float MaterialBudgetData::getElectronicsDmb ( int  is) const
inline

Definition at line 132 of file MaterialBudgetData.h.

References theElectronicsDmb.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

132  {
133  return theElectronicsDmb[is]; }
float MaterialBudgetData::getElectronicsFractionIL ( ) const
inline

Definition at line 69 of file MaterialBudgetData.h.

References theElectronicsFractionIL.

69  {
70  return theElectronicsFractionIL; }
float MaterialBudgetData::getElectronicsFractionMB ( ) const
inline

Definition at line 41 of file MaterialBudgetData.h.

References theElectronicsFractionMB.

41  {
42  return theElectronicsFractionMB; }
float MaterialBudgetData::getElectronicsIL ( ) const
inline

Definition at line 85 of file MaterialBudgetData.h.

References theElectronicsIL.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

85  {
86  return theElectronicsIL; }
float MaterialBudgetData::getElectronicsMB ( ) const
inline

Definition at line 55 of file MaterialBudgetData.h.

References theElectronicsMB.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

55  {
56  return theElectronicsMB; }
float MaterialBudgetData::getEnergy ( ) const
inline

Definition at line 101 of file MaterialBudgetData.h.

References theEnergy.

Referenced by MaterialBudgetTree::fillEndTrack().

101  {
102  return theEnergy; }
float MaterialBudgetData::getEta ( ) const
inline
int MaterialBudgetData::getID ( ) const
inline

Definition at line 97 of file MaterialBudgetData.h.

References theID.

Referenced by MaterialBudgetTree::fillEndTrack().

97  {
98  return theID; }
float MaterialBudgetData::getIntLen ( ) const
inline

Definition at line 118 of file MaterialBudgetData.h.

References theIntLen.

118  {
119  return theIntLen; }
float MaterialBudgetData::getMass ( ) const
inline

Definition at line 103 of file MaterialBudgetData.h.

References theMass.

Referenced by MaterialBudgetTree::fillEndTrack().

103  {
104  return theMass; }
int MaterialBudgetData::getNumberOfSteps ( ) const
inline

Definition at line 107 of file MaterialBudgetData.h.

References theStepN.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

107  {
108  return theStepN; }
float MaterialBudgetData::getOtherDil ( int  is) const
inline

Definition at line 152 of file MaterialBudgetData.h.

References theOtherDil.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

152  {
153  return theOtherDil[is]; }
float MaterialBudgetData::getOtherDmb ( int  is) const
inline

Definition at line 134 of file MaterialBudgetData.h.

References theOtherDmb.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

134  {
135  return theOtherDmb[is]; }
float MaterialBudgetData::getOtherFractionIL ( ) const
inline

Definition at line 71 of file MaterialBudgetData.h.

References theOtherFractionIL.

71  {
72  return theOtherFractionIL; }
float MaterialBudgetData::getOtherFractionMB ( ) const
inline

Definition at line 43 of file MaterialBudgetData.h.

References theOtherFractionMB.

43  {
44  return theOtherFractionMB; }
float MaterialBudgetData::getOtherIL ( ) const
inline

Definition at line 87 of file MaterialBudgetData.h.

References theOtherIL.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

87  {
88  return theOtherIL; }
float MaterialBudgetData::getOtherMB ( ) const
inline

Definition at line 57 of file MaterialBudgetData.h.

References theOtherMB.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

57  {
58  return theOtherMB; }
float MaterialBudgetData::getPhi ( ) const
inline
float MaterialBudgetData::getPt ( ) const
inline

Definition at line 99 of file MaterialBudgetData.h.

References thePt.

Referenced by MaterialBudgetTree::fillEndTrack().

99  {
100  return thePt; }
int MaterialBudgetData::getPVcopyNo ( ) const
inline

Definition at line 114 of file MaterialBudgetData.h.

References thePVcopyNo.

Referenced by MaterialBudgetTxt::fillPerStep().

114  {
115  return thePVcopyNo; }
std::string MaterialBudgetData::getPVname ( ) const
inline

Definition at line 112 of file MaterialBudgetData.h.

References thePVname.

Referenced by MaterialBudgetTxt::fillPerStep().

112  {
113  return thePVname; }
float MaterialBudgetData::getRadLen ( ) const
inline

Definition at line 116 of file MaterialBudgetData.h.

References theRadLen.

Referenced by MaterialBudgetTxt::fillPerStep().

116  {
117  return theRadLen; }
float MaterialBudgetData::getSensitiveDil ( int  is) const
inline

Definition at line 144 of file MaterialBudgetData.h.

References theSensitiveDil.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

144  {
145  return theSensitiveDil[is]; }
float MaterialBudgetData::getSensitiveDmb ( int  is) const
inline

Definition at line 126 of file MaterialBudgetData.h.

References theSensitiveDmb.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

126  {
127  return theSensitiveDmb[is]; }
float MaterialBudgetData::getSensitiveFractionIL ( ) const
inline

Definition at line 63 of file MaterialBudgetData.h.

References theSensitiveFractionIL.

63  {
64  return theSensitiveFractionIL; }
float MaterialBudgetData::getSensitiveFractionMB ( ) const
inline

Definition at line 35 of file MaterialBudgetData.h.

References theSensitiveFractionMB.

35  {
36  return theSensitiveFractionMB; }
float MaterialBudgetData::getSensitiveIL ( ) const
inline

Definition at line 79 of file MaterialBudgetData.h.

References theSensitiveIL.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

79  {
80  return theSensitiveIL; }
float MaterialBudgetData::getSensitiveMB ( ) const
inline

Definition at line 49 of file MaterialBudgetData.h.

References theSensitiveMB.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

49  {
50  return theSensitiveMB; }
float MaterialBudgetData::getStepDil ( int  is)
inline

Definition at line 139 of file MaterialBudgetData.h.

References theDil.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

139  {
140  return theDil[is];
141  }
float MaterialBudgetData::getStepDmb ( int  is)
inline

Definition at line 121 of file MaterialBudgetData.h.

References theDmb.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

121  {
122  return theDmb[is];
123  }
float MaterialBudgetData::getStepFinalBeta ( int  is)
inline

Definition at line 229 of file MaterialBudgetData.h.

References theStepFinalBeta.

Referenced by MaterialBudgetTree::fillEndTrack().

229  {
230  return theStepFinalBeta[is];
231  }
float MaterialBudgetData::getStepFinalEnergy ( int  is)
inline

Definition at line 217 of file MaterialBudgetData.h.

References theStepFinalEnergy.

Referenced by MaterialBudgetTree::fillEndTrack().

217  {
218  return theStepFinalEnergy[is];
219  }
float MaterialBudgetData::getStepFinalEta ( int  is)
inline

Definition at line 211 of file MaterialBudgetData.h.

References theStepFinalEta.

Referenced by MaterialBudgetTree::fillEndTrack().

211  {
212  return theStepFinalEta[is];
213  }
float MaterialBudgetData::getStepFinalGamma ( int  is)
inline

Definition at line 232 of file MaterialBudgetData.h.

References theStepFinalGamma.

Referenced by MaterialBudgetTree::fillEndTrack().

232  {
233  return theStepFinalGamma[is];
234  }
float MaterialBudgetData::getStepFinalMass ( int  is)
inline

Definition at line 235 of file MaterialBudgetData.h.

References theStepFinalMass.

Referenced by MaterialBudgetTree::fillEndTrack().

235  {
236  return theStepFinalMass[is];
237  }
float MaterialBudgetData::getStepFinalPhi ( int  is)
inline

Definition at line 214 of file MaterialBudgetData.h.

References theStepFinalPhi.

Referenced by MaterialBudgetTree::fillEndTrack().

214  {
215  return theStepFinalPhi[is];
216  }
float MaterialBudgetData::getStepFinalPt ( int  is)
inline

Definition at line 208 of file MaterialBudgetData.h.

References theStepFinalPt.

Referenced by MaterialBudgetTree::fillEndTrack().

208  {
209  return theStepFinalPt[is];
210  }
float MaterialBudgetData::getStepFinalPx ( int  is)
inline

Definition at line 220 of file MaterialBudgetData.h.

References theStepFinalPx.

Referenced by MaterialBudgetTree::fillEndTrack().

220  {
221  return theStepFinalPx[is];
222  }
float MaterialBudgetData::getStepFinalPy ( int  is)
inline

Definition at line 223 of file MaterialBudgetData.h.

References theStepFinalPy.

Referenced by MaterialBudgetTree::fillEndTrack().

223  {
224  return theStepFinalPy[is];
225  }
float MaterialBudgetData::getStepFinalPz ( int  is)
inline

Definition at line 226 of file MaterialBudgetData.h.

References theStepFinalPz.

Referenced by MaterialBudgetTree::fillEndTrack().

226  {
227  return theStepFinalPz[is];
228  }
double MaterialBudgetData::getStepFinalX ( int  is)
inline

Definition at line 166 of file MaterialBudgetData.h.

References theFinalX.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

166  {
167  return theFinalX[is];
168  }
double MaterialBudgetData::getStepFinalY ( int  is)
inline

Definition at line 169 of file MaterialBudgetData.h.

References theFinalY.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

169  {
170  return theFinalY[is];
171  }
double MaterialBudgetData::getStepFinalZ ( int  is)
inline

Definition at line 172 of file MaterialBudgetData.h.

References theFinalZ.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

172  {
173  return theFinalZ[is];
174  }
int MaterialBudgetData::getStepID ( int  is)
inline

Definition at line 175 of file MaterialBudgetData.h.

References theStepID.

Referenced by MaterialBudgetTree::fillEndTrack().

175  {
176  return theStepID[is];
177  }
float MaterialBudgetData::getStepInitialBeta ( int  is)
inline

Definition at line 199 of file MaterialBudgetData.h.

References theStepInitialBeta.

Referenced by MaterialBudgetTree::fillEndTrack().

199  {
200  return theStepInitialBeta[is];
201  }
float MaterialBudgetData::getStepInitialEnergy ( int  is)
inline

Definition at line 187 of file MaterialBudgetData.h.

References theStepInitialEnergy.

Referenced by MaterialBudgetTree::fillEndTrack().

187  {
188  return theStepInitialEnergy[is];
189  }
float MaterialBudgetData::getStepInitialEta ( int  is)
inline

Definition at line 181 of file MaterialBudgetData.h.

References theStepInitialEta.

Referenced by MaterialBudgetTree::fillEndTrack().

181  {
182  return theStepInitialEta[is];
183  }
float MaterialBudgetData::getStepInitialGamma ( int  is)
inline

Definition at line 202 of file MaterialBudgetData.h.

References theStepInitialGamma.

Referenced by MaterialBudgetTree::fillEndTrack().

202  {
203  return theStepInitialGamma[is];
204  }
float MaterialBudgetData::getStepInitialMass ( int  is)
inline

Definition at line 205 of file MaterialBudgetData.h.

References theStepInitialMass.

Referenced by MaterialBudgetTree::fillEndTrack().

205  {
206  return theStepInitialMass[is];
207  }
float MaterialBudgetData::getStepInitialPhi ( int  is)
inline

Definition at line 184 of file MaterialBudgetData.h.

References theStepInitialPhi.

Referenced by MaterialBudgetTree::fillEndTrack().

184  {
185  return theStepInitialPhi[is];
186  }
float MaterialBudgetData::getStepInitialPt ( int  is)
inline

Definition at line 178 of file MaterialBudgetData.h.

References theStepInitialPt.

Referenced by MaterialBudgetTree::fillEndTrack().

178  {
179  return theStepInitialPt[is];
180  }
float MaterialBudgetData::getStepInitialPx ( int  is)
inline

Definition at line 190 of file MaterialBudgetData.h.

References theStepInitialPx.

Referenced by MaterialBudgetTree::fillEndTrack().

190  {
191  return theStepInitialPx[is];
192  }
float MaterialBudgetData::getStepInitialPy ( int  is)
inline

Definition at line 193 of file MaterialBudgetData.h.

References theStepInitialPy.

Referenced by MaterialBudgetTree::fillEndTrack().

193  {
194  return theStepInitialPy[is];
195  }
float MaterialBudgetData::getStepInitialPz ( int  is)
inline

Definition at line 196 of file MaterialBudgetData.h.

References theStepInitialPz.

Referenced by MaterialBudgetTree::fillEndTrack().

196  {
197  return theStepInitialPz[is];
198  }
double MaterialBudgetData::getStepInitialX ( int  is)
inline

Definition at line 157 of file MaterialBudgetData.h.

References theInitialX.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

157  {
158  return theInitialX[is];
159  }
double MaterialBudgetData::getStepInitialY ( int  is)
inline

Definition at line 160 of file MaterialBudgetData.h.

References theInitialY.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

160  {
161  return theInitialY[is];
162  }
double MaterialBudgetData::getStepInitialZ ( int  is)
inline

Definition at line 163 of file MaterialBudgetData.h.

References theInitialZ.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

163  {
164  return theInitialZ[is];
165  }
float MaterialBudgetData::getStepMaterialDensity ( int  is)
inline

Definition at line 284 of file MaterialBudgetData.h.

References theMaterialDensity.

Referenced by MaterialBudgetTree::fillEndTrack().

284  {
285  return theMaterialDensity[is];
286  }
int MaterialBudgetData::getStepMaterialID ( int  is)
inline

Definition at line 272 of file MaterialBudgetData.h.

References theMaterialID.

Referenced by MaterialBudgetTree::fillEndTrack().

272  {
273  return theMaterialID[is];
274  }
float MaterialBudgetData::getStepMaterialLambda0 ( int  is)
inline

Definition at line 281 of file MaterialBudgetData.h.

References theMaterialLambda0.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

281  {
282  return theMaterialLambda0[is];
283  }
std::string MaterialBudgetData::getStepMaterialName ( int  is)
inline

Definition at line 275 of file MaterialBudgetData.h.

References theMaterialName.

Referenced by MaterialBudgetTree::fillEndTrack().

275  {
276  return theMaterialName[is];
277  }
std::string * theMaterialName
float MaterialBudgetData::getStepMaterialX0 ( int  is)
inline

Definition at line 278 of file MaterialBudgetData.h.

References theMaterialX0.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

278  {
279  return theMaterialX0[is];
280  }
int MaterialBudgetData::getStepPostProcess ( int  is)
inline

Definition at line 241 of file MaterialBudgetData.h.

References theStepPostProcess.

Referenced by MaterialBudgetTree::fillEndTrack().

241  {
242  return theStepPostProcess[is];
243  }
int MaterialBudgetData::getStepPreProcess ( int  is)
inline

Definition at line 238 of file MaterialBudgetData.h.

References theStepPreProcess.

Referenced by MaterialBudgetTree::fillEndTrack().

238  {
239  return theStepPreProcess[is];
240  }
int MaterialBudgetData::getStepVolumeCopy ( int  is)
inline

Definition at line 251 of file MaterialBudgetData.h.

References theVolumeCopy.

Referenced by MaterialBudgetTree::fillEndTrack().

251  {
252  return theVolumeCopy[is];
253  }
int MaterialBudgetData::getStepVolumeID ( int  is)
inline

Definition at line 245 of file MaterialBudgetData.h.

References theVolumeID.

Referenced by MaterialBudgetTree::fillEndTrack().

245  {
246  return theVolumeID[is];
247  }
std::string MaterialBudgetData::getStepVolumeName ( int  is)
inline

Definition at line 248 of file MaterialBudgetData.h.

References theVolumeName.

Referenced by MaterialBudgetTree::fillEndTrack().

248  {
249  return theVolumeName[is];
250  }
std::string * theVolumeName
float MaterialBudgetData::getStepVolumeX ( int  is)
inline

Definition at line 254 of file MaterialBudgetData.h.

References theVolumeX.

Referenced by MaterialBudgetTree::fillEndTrack().

254  {
255  return theVolumeX[is];
256  }
CLHEP::HepLorentzVector MaterialBudgetData::getStepVolumeXaxis ( int  is)
inline

Definition at line 263 of file MaterialBudgetData.h.

References theVolumeXaxis1, theVolumeXaxis2, and theVolumeXaxis3.

Referenced by MaterialBudgetTree::fillEndTrack().

263  {
264  return CLHEP::HepLorentzVector(theVolumeXaxis1[is],theVolumeXaxis2[is],theVolumeXaxis3[is]);
265  }
float MaterialBudgetData::getStepVolumeY ( int  is)
inline

Definition at line 257 of file MaterialBudgetData.h.

References theVolumeY.

Referenced by MaterialBudgetTree::fillEndTrack().

257  {
258  return theVolumeY[is];
259  }
CLHEP::HepLorentzVector MaterialBudgetData::getStepVolumeYaxis ( int  is)
inline

Definition at line 266 of file MaterialBudgetData.h.

References theVolumeYaxis1, theVolumeYaxis2, and theVolumeYaxis3.

Referenced by MaterialBudgetTree::fillEndTrack().

266  {
267  return CLHEP::HepLorentzVector(theVolumeYaxis1[is],theVolumeYaxis2[is],theVolumeYaxis3[is]);
268  }
float MaterialBudgetData::getStepVolumeZ ( int  is)
inline

Definition at line 260 of file MaterialBudgetData.h.

References theVolumeZ.

Referenced by MaterialBudgetTree::fillEndTrack().

260  {
261  return theVolumeZ[is];
262  }
CLHEP::HepLorentzVector MaterialBudgetData::getStepVolumeZaxis ( int  is)
inline

Definition at line 269 of file MaterialBudgetData.h.

References theVolumeZaxis1, theVolumeZaxis2, and theVolumeZaxis3.

Referenced by MaterialBudgetTree::fillEndTrack().

269  {
270  return CLHEP::HepLorentzVector(theVolumeZaxis1[is],theVolumeZaxis2[is],theVolumeZaxis3[is]);
271  }
float MaterialBudgetData::getSupportDil ( int  is) const
inline

Definition at line 142 of file MaterialBudgetData.h.

References theSupportDil.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

142  {
143  return theSupportDil[is]; }
float MaterialBudgetData::getSupportDmb ( int  is) const
inline

Definition at line 124 of file MaterialBudgetData.h.

References theSupportDmb.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

124  {
125  return theSupportDmb[is]; }
float MaterialBudgetData::getSupportFractionIL ( ) const
inline

Definition at line 61 of file MaterialBudgetData.h.

References theSupportFractionIL.

61  {
62  return theSupportFractionIL; }
float MaterialBudgetData::getSupportFractionMB ( ) const
inline

Definition at line 33 of file MaterialBudgetData.h.

References theSupportFractionMB.

33  {
34  return theSupportFractionMB; }
float MaterialBudgetData::getSupportIL ( ) const
inline

Definition at line 77 of file MaterialBudgetData.h.

References theSupportIL.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

77  {
78  return theSupportIL; }
float MaterialBudgetData::getSupportMB ( ) const
inline

Definition at line 47 of file MaterialBudgetData.h.

References theSupportMB.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

47  {
48  return theSupportMB; }
float MaterialBudgetData::getTotalIL ( ) const
inline

Definition at line 75 of file MaterialBudgetData.h.

References theTotalIL.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetTree::fillEndTrack().

75  {
76  return theTotalIL; }
float MaterialBudgetData::getTotalMB ( ) const
inline
float MaterialBudgetData::getTrkLen ( ) const
inline

Definition at line 110 of file MaterialBudgetData.h.

References theTrkLen.

Referenced by MaterialBudgetTxt::fillPerStep().

110  {
111  return theTrkLen; }
void MaterialBudgetData::SetAllStepsToTree ( )

!!WARNING: this number is also hardcoded when booking the tree

Definition at line 23 of file MaterialBudgetData.cc.

References allStepsToTree, MAXNUMBERSTEPS, theAirDil, theAirDmb, theCablesDil, theCablesDmb, theCoolingDil, theCoolingDmb, theDil, theDmb, theElectronicsDil, theElectronicsDmb, theFinalX, theFinalY, theFinalZ, theInitialX, theInitialY, theInitialZ, theMaterialDensity, theMaterialID, theMaterialLambda0, theMaterialName, theMaterialX0, theOtherDil, theOtherDmb, theSensitiveDil, theSensitiveDmb, theStepFinalBeta, theStepFinalEnergy, theStepFinalEta, theStepFinalGamma, theStepFinalMass, theStepFinalPhi, theStepFinalPt, theStepFinalPx, theStepFinalPy, theStepFinalPz, theStepID, theStepInitialBeta, theStepInitialEnergy, theStepInitialEta, theStepInitialGamma, theStepInitialMass, theStepInitialPhi, theStepInitialPt, theStepInitialPx, theStepInitialPy, theStepInitialPz, theStepPostProcess, theStepPreProcess, theSupportDil, theSupportDmb, theVolumeCopy, theVolumeID, theVolumeName, theVolumeX, theVolumeXaxis1, theVolumeXaxis2, theVolumeXaxis3, theVolumeY, theVolumeYaxis1, theVolumeYaxis2, theVolumeYaxis3, theVolumeZ, theVolumeZaxis1, theVolumeZaxis2, and theVolumeZaxis3.

Referenced by MaterialBudgetAction::MaterialBudgetAction().

24 {
25  allStepsToTree = true;
26  MAXNUMBERSTEPS = 0;
27  MAXNUMBERSTEPS = 10000;
28  theDmb = new float[MAXNUMBERSTEPS];
29  theDil = new float[MAXNUMBERSTEPS];
30  // rr
31  theSupportDmb = new float[MAXNUMBERSTEPS];
32  theSensitiveDmb = new float[MAXNUMBERSTEPS];
33  theCablesDmb = new float[MAXNUMBERSTEPS];
34  theCoolingDmb = new float[MAXNUMBERSTEPS];
35  theElectronicsDmb = new float[MAXNUMBERSTEPS];
36  theOtherDmb = new float[MAXNUMBERSTEPS];
37  theAirDmb = new float[MAXNUMBERSTEPS];
38  theSupportDil = new float[MAXNUMBERSTEPS];
39  theSensitiveDil = new float[MAXNUMBERSTEPS];
40  theCablesDil = new float[MAXNUMBERSTEPS];
41  theCoolingDil = new float[MAXNUMBERSTEPS];
42  theElectronicsDil = new float[MAXNUMBERSTEPS];
43  theOtherDil = new float[MAXNUMBERSTEPS];
44  theAirDil = new float[MAXNUMBERSTEPS];
45  // rr
46  theInitialX = new double[MAXNUMBERSTEPS];
47  theInitialY = new double[MAXNUMBERSTEPS];
48  theInitialZ = new double[MAXNUMBERSTEPS];
49  theFinalX = new double[MAXNUMBERSTEPS];
50  theFinalY = new double[MAXNUMBERSTEPS];
51  theFinalZ = new double[MAXNUMBERSTEPS];
52  // rr
53  theVolumeID = new int[MAXNUMBERSTEPS];
54  theVolumeName = new std::string[MAXNUMBERSTEPS];
55  theVolumeCopy = new int[MAXNUMBERSTEPS];
56  theVolumeX = new float[MAXNUMBERSTEPS];
57  theVolumeY = new float[MAXNUMBERSTEPS];
58  theVolumeZ = new float[MAXNUMBERSTEPS];
59  theVolumeXaxis1 = new float[MAXNUMBERSTEPS];
60  theVolumeXaxis2 = new float[MAXNUMBERSTEPS];
61  theVolumeXaxis3 = new float[MAXNUMBERSTEPS];
62  theVolumeYaxis1 = new float[MAXNUMBERSTEPS];
63  theVolumeYaxis2 = new float[MAXNUMBERSTEPS];
64  theVolumeYaxis3 = new float[MAXNUMBERSTEPS];
65  theVolumeZaxis1 = new float[MAXNUMBERSTEPS];
66  theVolumeZaxis2 = new float[MAXNUMBERSTEPS];
67  theVolumeZaxis3 = new float[MAXNUMBERSTEPS];
68  theMaterialID = new int[MAXNUMBERSTEPS];
69  theMaterialName = new std::string[MAXNUMBERSTEPS];
70  theMaterialX0 = new float[MAXNUMBERSTEPS];
73  theStepID = new int[MAXNUMBERSTEPS];
74  theStepInitialPt = new float[MAXNUMBERSTEPS];
75  theStepInitialEta = new float[MAXNUMBERSTEPS];
76  theStepInitialPhi = new float[MAXNUMBERSTEPS];
78  theStepInitialPx = new float[MAXNUMBERSTEPS];
79  theStepInitialPy = new float[MAXNUMBERSTEPS];
80  theStepInitialPz = new float[MAXNUMBERSTEPS];
84  theStepFinalPt = new float[MAXNUMBERSTEPS];
85  theStepFinalEta = new float[MAXNUMBERSTEPS];
86  theStepFinalPhi = new float[MAXNUMBERSTEPS];
88  theStepFinalPx = new float[MAXNUMBERSTEPS];
89  theStepFinalPy = new float[MAXNUMBERSTEPS];
90  theStepFinalPz = new float[MAXNUMBERSTEPS];
91  theStepFinalBeta = new float[MAXNUMBERSTEPS];
92  theStepFinalGamma = new float[MAXNUMBERSTEPS];
93  theStepFinalMass = new float[MAXNUMBERSTEPS];
96  // rr
97 }
std::string * theMaterialName
std::string * theVolumeName

Member Data Documentation

bool MaterialBudgetData::allStepsToTree
private
double MaterialBudgetData::densityConvertionFactor
private

Definition at line 374 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and MaterialBudgetData().

int MaterialBudgetData::MAXNUMBERSTEPS
private

Definition at line 371 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and SetAllStepsToTree().

MaterialBudgetCategorizer* MaterialBudgetData::myMaterialBudgetCategorizer
private

Definition at line 366 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and MaterialBudgetData().

int MaterialBudgetData::stepN
private

Definition at line 370 of file MaterialBudgetData.h.

Referenced by dataPerStep().

float * MaterialBudgetData::theAirDil
private

Definition at line 314 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getAirDil(), and SetAllStepsToTree().

float * MaterialBudgetData::theAirDmb
private

Definition at line 312 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getAirDmb(), and SetAllStepsToTree().

float MaterialBudgetData::theAirFractionIL
private

Definition at line 302 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getAirFractionIL().

float MaterialBudgetData::theAirFractionMB
private

Definition at line 300 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getAirFractionMB().

float MaterialBudgetData::theAirIL
private

Definition at line 306 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getAirIL().

float MaterialBudgetData::theAirMB
private

Definition at line 304 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getAirMB().

float * MaterialBudgetData::theCablesDil
private

Definition at line 314 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getCablesDil(), and SetAllStepsToTree().

float * MaterialBudgetData::theCablesDmb
private

Definition at line 312 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getCablesDmb(), and SetAllStepsToTree().

float MaterialBudgetData::theCablesFractionIL
private

Definition at line 302 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getCablesFractionIL().

float MaterialBudgetData::theCablesFractionMB
private

Definition at line 300 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getCablesFractionMB().

float MaterialBudgetData::theCablesIL
private

Definition at line 306 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getCablesIL().

float MaterialBudgetData::theCablesMB
private

Definition at line 304 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getCablesMB().

float * MaterialBudgetData::theCoolingDil
private

Definition at line 314 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getCoolingDil(), and SetAllStepsToTree().

float * MaterialBudgetData::theCoolingDmb
private

Definition at line 312 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getCoolingDmb(), and SetAllStepsToTree().

float MaterialBudgetData::theCoolingFractionIL
private

Definition at line 302 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getCoolingFractionIL().

float MaterialBudgetData::theCoolingFractionMB
private

Definition at line 300 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getCoolingFractionMB().

float MaterialBudgetData::theCoolingIL
private

Definition at line 306 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getCoolingIL().

float MaterialBudgetData::theCoolingMB
private

Definition at line 304 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getCoolingMB().

float* MaterialBudgetData::theDil
private

Definition at line 313 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepDil(), and SetAllStepsToTree().

float* MaterialBudgetData::theDmb
private

Definition at line 311 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepDmb(), and SetAllStepsToTree().

float * MaterialBudgetData::theElectronicsDil
private

Definition at line 314 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getElectronicsDil(), and SetAllStepsToTree().

float * MaterialBudgetData::theElectronicsDmb
private

Definition at line 312 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getElectronicsDmb(), and SetAllStepsToTree().

float MaterialBudgetData::theElectronicsFractionIL
private

Definition at line 302 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getElectronicsFractionIL().

float MaterialBudgetData::theElectronicsFractionMB
private

Definition at line 300 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getElectronicsFractionMB().

float MaterialBudgetData::theElectronicsIL
private

Definition at line 306 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getElectronicsIL().

float MaterialBudgetData::theElectronicsMB
private

Definition at line 304 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getElectronicsMB().

float MaterialBudgetData::theEnergy
private

Definition at line 298 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getEnergy().

float MaterialBudgetData::theEta
private

Definition at line 294 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getEta().

double* MaterialBudgetData::theFinalX
private

Definition at line 310 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalX(), and SetAllStepsToTree().

double * MaterialBudgetData::theFinalY
private

Definition at line 310 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalY(), and SetAllStepsToTree().

double * MaterialBudgetData::theFinalZ
private

Definition at line 310 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalZ(), and SetAllStepsToTree().

int MaterialBudgetData::theID
private

Definition at line 297 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getID().

double* MaterialBudgetData::theInitialX
private

Definition at line 309 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialX(), and SetAllStepsToTree().

double * MaterialBudgetData::theInitialY
private

Definition at line 309 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialY(), and SetAllStepsToTree().

double * MaterialBudgetData::theInitialZ
private

Definition at line 309 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialZ(), and SetAllStepsToTree().

float MaterialBudgetData::theIntLen
private

Definition at line 369 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and getIntLen().

float MaterialBudgetData::theMass
private

Definition at line 299 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getMass().

float* MaterialBudgetData::theMaterialDensity
private

Definition at line 337 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepMaterialDensity(), and SetAllStepsToTree().

int* MaterialBudgetData::theMaterialID
private

Definition at line 333 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepMaterialID(), and SetAllStepsToTree().

float* MaterialBudgetData::theMaterialLambda0
private

Definition at line 336 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepMaterialLambda0(), and SetAllStepsToTree().

std::string* MaterialBudgetData::theMaterialName
private

Definition at line 334 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepMaterialName(), and SetAllStepsToTree().

float* MaterialBudgetData::theMaterialX0
private

Definition at line 335 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepMaterialX0(), and SetAllStepsToTree().

float * MaterialBudgetData::theOtherDil
private

Definition at line 314 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getOtherDil(), and SetAllStepsToTree().

float * MaterialBudgetData::theOtherDmb
private

Definition at line 312 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getOtherDmb(), and SetAllStepsToTree().

float MaterialBudgetData::theOtherFractionIL
private

Definition at line 302 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getOtherFractionIL().

float MaterialBudgetData::theOtherFractionMB
private

Definition at line 300 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getOtherFractionMB().

float MaterialBudgetData::theOtherIL
private

Definition at line 306 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getOtherIL().

float MaterialBudgetData::theOtherMB
private

Definition at line 304 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getOtherMB().

float MaterialBudgetData::thePhi
private

Definition at line 294 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getPhi().

float MaterialBudgetData::thePt
private

Definition at line 296 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getPt().

int MaterialBudgetData::thePVcopyNo
private

Definition at line 364 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and getPVcopyNo().

std::string MaterialBudgetData::thePVname
private

Definition at line 363 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and getPVname().

float MaterialBudgetData::theRadLen
private

Definition at line 368 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and getRadLen().

float * MaterialBudgetData::theSensitiveDil
private

Definition at line 314 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getSensitiveDil(), and SetAllStepsToTree().

float * MaterialBudgetData::theSensitiveDmb
private

Definition at line 312 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getSensitiveDmb(), and SetAllStepsToTree().

float MaterialBudgetData::theSensitiveFractionIL
private

Definition at line 302 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getSensitiveFractionIL().

float MaterialBudgetData::theSensitiveFractionMB
private

Definition at line 300 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getSensitiveFractionMB().

float MaterialBudgetData::theSensitiveIL
private

Definition at line 306 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getSensitiveIL().

float MaterialBudgetData::theSensitiveMB
private

Definition at line 304 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getSensitiveMB().

float* MaterialBudgetData::theStepFinalBeta
private

Definition at line 356 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalBeta(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepFinalEnergy
private

Definition at line 352 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalEnergy(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepFinalEta
private

Definition at line 350 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalEta(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepFinalGamma
private

Definition at line 357 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalGamma(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepFinalMass
private

Definition at line 358 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalMass(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepFinalPhi
private

Definition at line 351 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalPhi(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepFinalPt
private

Definition at line 349 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalPt(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepFinalPx
private

Definition at line 353 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalPx(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepFinalPy
private

Definition at line 354 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalPy(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepFinalPz
private

Definition at line 355 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepFinalPz(), and SetAllStepsToTree().

int* MaterialBudgetData::theStepID
private

Definition at line 338 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepID(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepInitialBeta
private

Definition at line 346 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialBeta(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepInitialEnergy
private

Definition at line 342 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialEnergy(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepInitialEta
private

Definition at line 340 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialEta(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepInitialGamma
private

Definition at line 347 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialGamma(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepInitialMass
private

Definition at line 348 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialMass(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepInitialPhi
private

Definition at line 341 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialPhi(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepInitialPt
private

Definition at line 339 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialPt(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepInitialPx
private

Definition at line 343 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialPx(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepInitialPy
private

Definition at line 344 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialPy(), and SetAllStepsToTree().

float* MaterialBudgetData::theStepInitialPz
private

Definition at line 345 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepInitialPz(), and SetAllStepsToTree().

int MaterialBudgetData::theStepN
private

Definition at line 308 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getNumberOfSteps().

int* MaterialBudgetData::theStepPostProcess
private

Definition at line 360 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepPostProcess(), and SetAllStepsToTree().

int* MaterialBudgetData::theStepPreProcess
private

Definition at line 359 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepPreProcess(), and SetAllStepsToTree().

float* MaterialBudgetData::theSupportDil
private

Definition at line 314 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getSupportDil(), and SetAllStepsToTree().

float* MaterialBudgetData::theSupportDmb
private

Definition at line 312 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getSupportDmb(), and SetAllStepsToTree().

float MaterialBudgetData::theSupportFractionIL
private

Definition at line 302 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getSupportFractionIL().

float MaterialBudgetData::theSupportFractionMB
private

Definition at line 300 of file MaterialBudgetData.h.

Referenced by dataPerStep(), dataStartTrack(), and getSupportFractionMB().

float MaterialBudgetData::theSupportIL
private

Definition at line 306 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getSupportIL().

float MaterialBudgetData::theSupportMB
private

Definition at line 304 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getSupportMB().

float MaterialBudgetData::theTotalIL
private

Definition at line 305 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getTotalIL().

float MaterialBudgetData::theTotalMB
private

Definition at line 294 of file MaterialBudgetData.h.

Referenced by dataEndTrack(), dataPerStep(), dataStartTrack(), and getTotalMB().

float MaterialBudgetData::theTrkLen
private

Definition at line 362 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and getTrkLen().

int* MaterialBudgetData::theVolumeCopy
private

Definition at line 320 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeCopy(), and SetAllStepsToTree().

int* MaterialBudgetData::theVolumeID
private

Definition at line 318 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeID(), and SetAllStepsToTree().

std::string* MaterialBudgetData::theVolumeName
private

Definition at line 319 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeName(), and SetAllStepsToTree().

float* MaterialBudgetData::theVolumeX
private

Definition at line 321 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeX(), and SetAllStepsToTree().

float* MaterialBudgetData::theVolumeXaxis1
private

Definition at line 324 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeXaxis(), and SetAllStepsToTree().

float* MaterialBudgetData::theVolumeXaxis2
private

Definition at line 325 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeXaxis(), and SetAllStepsToTree().

float* MaterialBudgetData::theVolumeXaxis3
private

Definition at line 326 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeXaxis(), and SetAllStepsToTree().

float* MaterialBudgetData::theVolumeY
private

Definition at line 322 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeY(), and SetAllStepsToTree().

float* MaterialBudgetData::theVolumeYaxis1
private

Definition at line 327 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeYaxis(), and SetAllStepsToTree().

float* MaterialBudgetData::theVolumeYaxis2
private

Definition at line 328 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeYaxis(), and SetAllStepsToTree().

float* MaterialBudgetData::theVolumeYaxis3
private

Definition at line 329 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeYaxis(), and SetAllStepsToTree().

float* MaterialBudgetData::theVolumeZ
private

Definition at line 323 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeZ(), and SetAllStepsToTree().

float* MaterialBudgetData::theVolumeZaxis1
private

Definition at line 330 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeZaxis(), and SetAllStepsToTree().

float* MaterialBudgetData::theVolumeZaxis2
private

Definition at line 331 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeZaxis(), and SetAllStepsToTree().

float* MaterialBudgetData::theVolumeZaxis3
private

Definition at line 332 of file MaterialBudgetData.h.

Referenced by dataPerStep(), getStepVolumeZaxis(), and SetAllStepsToTree().