CMS 3D CMS Logo

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 getCopperDil (int is) const
 
float getCopperDmb (int is) const
 
float getCopperFractionIL () const
 
float getCopperFractionMB () const
 
float getCopperIL () const
 
float getCopperMB () 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
 
float getH_ScintillatorDil (int is) const
 
float getH_ScintillatorDmb (int is) const
 
float getH_ScintillatorFractionIL () const
 
float getH_ScintillatorFractionMB () const
 
float getH_ScintillatorIL () const
 
float getH_ScintillatorMB () const
 
bool getHGCalmode (void)
 
int getID () const
 
float getIntLen () const
 
float getLeadDil (int is) const
 
float getLeadDmb (int is) const
 
float getLeadFractionIL () const
 
float getLeadFractionMB () const
 
float getLeadIL () const
 
float getLeadMB () const
 
float getM_NEMA_FR4_plateDil (int is) const
 
float getM_NEMA_FR4_plateDmb (int is) const
 
float getM_NEMA_FR4_plateFractionIL () const
 
float getM_NEMA_FR4_plateFractionMB () const
 
float getM_NEMA_FR4_plateIL () const
 
float getM_NEMA_FR4_plateMB () 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 getSiliconDil (int is) const
 
float getSiliconDmb (int is) const
 
float getSiliconFractionIL () const
 
float getSiliconFractionMB () const
 
float getSiliconIL () const
 
float getSiliconMB () const
 
float getStainlessSteelDil (int is) const
 
float getStainlessSteelDmb (int is) const
 
float getStainlessSteelFractionIL () const
 
float getStainlessSteelFractionMB () const
 
float getStainlessSteelIL () const
 
float getStainlessSteelMB () 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
 
float getWCuDil (int is) const
 
float getWCuDmb (int is) const
 
float getWCuFractionIL () const
 
float getWCuFractionMB () const
 
float getWCuIL () const
 
float getWCuMB () const
 
 MaterialBudgetData ()
 
void SetAllStepsToTree ()
 
void setHGCalmode (bool t)
 
 ~MaterialBudgetData ()
 

Private Attributes

bool allStepsToTree
 
double densityConvertionFactor
 
bool isHGCal
 
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 * theCopperDil
 
float * theCopperDmb
 
float theCopperFractionIL
 
float theCopperFractionMB
 
float theCopperIL
 
float theCopperMB
 
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
 
float * theH_ScintillatorDil
 
float * theH_ScintillatorDmb
 
float theH_ScintillatorFractionIL
 
float theH_ScintillatorFractionMB
 
float theH_ScintillatorIL
 
float theH_ScintillatorMB
 
int theID
 
double * theInitialX
 
double * theInitialY
 
double * theInitialZ
 
float theIntLen
 
float * theLeadDil
 
float * theLeadDmb
 
float theLeadFractionIL
 
float theLeadFractionMB
 
float theLeadIL
 
float theLeadMB
 
float * theM_NEMA_FR4_plateDil
 
float * theM_NEMA_FR4_plateDmb
 
float theM_NEMA_FR4_plateFractionIL
 
float theM_NEMA_FR4_plateFractionMB
 
float theM_NEMA_FR4_plateIL
 
float theM_NEMA_FR4_plateMB
 
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 * theSiliconDil
 
float * theSiliconDmb
 
float theSiliconFractionIL
 
float theSiliconFractionMB
 
float theSiliconIL
 
float theSiliconMB
 
float * theStainlessSteelDil
 
float * theStainlessSteelDmb
 
float theStainlessSteelFractionIL
 
float theStainlessSteelFractionMB
 
float theStainlessSteelIL
 
float theStainlessSteelMB
 
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
 
float * theWCuDil
 
float * theWCuDmb
 
float theWCuFractionIL
 
float theWCuFractionMB
 
float theWCuIL
 
float theWCuMB
 

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, isHGCal, and myMaterialBudgetCategorizer.

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

Definition at line 21 of file MaterialBudgetData.cc.

References theAirDil, theAirDmb, theCablesDil, theCablesDmb, theCoolingDil, theCoolingDmb, theCopperDil, theCopperDmb, theDil, theDmb, theElectronicsDil, theElectronicsDmb, theFinalX, theFinalY, theFinalZ, theH_ScintillatorDil, theH_ScintillatorDmb, theInitialX, theInitialY, theInitialZ, theLeadDil, theLeadDmb, theM_NEMA_FR4_plateDil, theM_NEMA_FR4_plateDmb, theMaterialDensity, theMaterialID, theMaterialLambda0, theMaterialName, theMaterialX0, theOtherDil, theOtherDmb, theSensitiveDil, theSensitiveDmb, theSiliconDil, theSiliconDmb, theStainlessSteelDil, theStainlessSteelDmb, 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, theVolumeZaxis3, theWCuDil, and theWCuDmb.

21  {
22 
23 
24  delete theDmb;
25  delete theDil;
26  // rr
27  delete theSupportDmb;
28  delete theSensitiveDmb;
29  delete theCoolingDmb;
30  delete theElectronicsDmb;
31  delete theOtherDmb;
32  //HGCal
33  delete theAirDmb;
34  delete theCablesDmb;
35  delete theCopperDmb;
36  delete theH_ScintillatorDmb;
37  delete theLeadDmb;
39  delete theSiliconDmb;
40  delete theStainlessSteelDmb;
41  delete theWCuDmb;
42 
43  delete theSupportDil;
44  delete theSensitiveDil;
45  delete theCoolingDil;
46  delete theElectronicsDil;
47  delete theOtherDil;
48  //HGCal
49  delete theAirDil ;
50  delete theCablesDil;
51  delete theCopperDil;
52  delete theH_ScintillatorDil;
53  delete theLeadDil;
55  delete theSiliconDil;
56  delete theStainlessSteelDil;
57  delete theWCuDil;
58 
59  // rr
60  delete theInitialX;
61  delete theInitialY;
62  delete theInitialZ;
63  delete theFinalX;
64  delete theFinalY;
65  delete theFinalZ;
66  // rr
67  delete theVolumeID;
68  delete theVolumeName;
69  delete theVolumeCopy;
70  delete theVolumeX;
71  delete theVolumeY;
72  delete theVolumeZ;
73  delete theVolumeXaxis1;
74  delete theVolumeXaxis2;
75  delete theVolumeXaxis3;
76  delete theVolumeYaxis1;
77  delete theVolumeYaxis2;
78  delete theVolumeYaxis3;
79  delete theVolumeZaxis1;
80  delete theVolumeZaxis2;
81  delete theVolumeZaxis3;
82  delete theMaterialID;
83  delete theMaterialName;
84  delete theMaterialX0;
85  delete theMaterialLambda0;
86  delete theMaterialDensity;
87  delete theStepID;
88  delete theStepInitialPt;
89  delete theStepInitialEta;
90  delete theStepInitialPhi;
91  delete theStepInitialEnergy;
92  delete theStepInitialPx;
93  delete theStepInitialPy;
94  delete theStepInitialPz;
95  delete theStepInitialBeta;
96  delete theStepInitialGamma;
97  delete theStepInitialMass;
98  delete theStepFinalPt;
99  delete theStepFinalEta;
100  delete theStepFinalPhi;
101  delete theStepFinalEnergy;
102  delete theStepFinalPx;
103  delete theStepFinalPy;
104  delete theStepFinalPz;
105  delete theStepFinalBeta;
106  delete theStepFinalGamma;
107  delete theStepFinalMass;
108  delete theStepPreProcess;
109  delete theStepPostProcess;
110 
111 
112 }
std::string * theMaterialName
std::string * theVolumeName

Member Function Documentation

bool MaterialBudgetData::allStepsON ( )
inline

Definition at line 379 of file MaterialBudgetData.h.

References allStepsToTree.

379  {
380  return allStepsToTree;
381  }
void MaterialBudgetData::dataEndTrack ( const G4Track *  aTrack)

Definition at line 311 of file MaterialBudgetData.cc.

References gather_cfg::cout, isHGCal, theAirIL, theAirMB, theCablesIL, theCablesMB, theCoolingIL, theCoolingMB, theCopperIL, theCopperMB, theElectronicsIL, theElectronicsMB, theEta, theH_ScintillatorIL, theH_ScintillatorMB, theLeadIL, theLeadMB, theM_NEMA_FR4_plateIL, theM_NEMA_FR4_plateMB, theOtherIL, theOtherMB, thePhi, theSensitiveIL, theSensitiveMB, theSiliconIL, theSiliconMB, theStainlessSteelIL, theStainlessSteelMB, theStepN, theSupportIL, theSupportMB, theTotalIL, theTotalMB, theWCuIL, and theWCuMB.

312 {
313  std::cout << "[OVAL] MaterialBudget " << G4EventManager::GetEventManager()->GetConstCurrentEvent()->GetEventID() << " " << theEta << " " << thePhi << " " << theTotalMB << std::endl;
314 
315  std::cout << "Recorded steps " << theStepN << std::endl;
316  if (!isHGCal){
317  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;
318  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;
319  } else {
320  std::cout << " HGCal Material Budget: Radiation Length " << "G4EventManager::GetEventManager()->GetConstCurrentEvent()->GetEventID()" << " eta " << theEta << " phi " << thePhi << " total X " << theTotalMB << " theCopperMB " << theCopperMB << " theH_ScintillatorMB " << theH_ScintillatorMB << " CAB " << theCablesMB << " theLeadMB " << theLeadMB << " theM_NEMA_FR4_plateMB " << theM_NEMA_FR4_plateMB << " theSiliconMB " << theSiliconMB << " Air " << theAirMB << " theStainlessSteelMB " << theStainlessSteelMB << " theWCuMB " << theWCuMB << std::endl;
321 
322  std::cout << " HGCal Material Budget: Interaction Length " << "G4EventManager::GetEventManager()->GetConstCurrentEvent()->GetEventID()" << " eta " << theEta << " phi " << thePhi << " total X " << theTotalIL << " theCopperIL " << theCopperIL << " theH_ScintillatorIL " << theH_ScintillatorIL << " CAB " << theCablesIL << " theLeadIL " << theLeadIL << " theM_NEMA_FR4_plateIL " << theM_NEMA_FR4_plateIL << " theSiliconIL " << theSiliconIL << " Air " << theAirIL << " theStainlessSteelIL " << theStainlessSteelIL << " theWCuIL " << theWCuIL << std::endl;
323  }
324 
325 }
void MaterialBudgetData::dataPerStep ( const G4Step *  aStep)

Definition at line 327 of file MaterialBudgetData.cc.

References allStepsToTree, gather_cfg::cout, densityConvertionFactor, MaterialBudgetCategorizer::HGCall0fraction(), MaterialBudgetCategorizer::HGCalx0fraction(), isHGCal, MaterialBudgetCategorizer::l0fraction(), MaterialBudgetCategorizer::material(), MAXNUMBERSTEPS, myMaterialBudgetCategorizer, MetAnalyzer::pv(), mathSSE::sqrt(), lumiQTWidget::t, theAirDil, theAirDmb, theAirFractionIL, theAirFractionMB, theAirIL, theAirMB, theCablesDil, theCablesDmb, theCablesFractionIL, theCablesFractionMB, theCablesIL, theCablesMB, theCoolingDil, theCoolingDmb, theCoolingFractionIL, theCoolingFractionMB, theCoolingIL, theCoolingMB, theCopperDil, theCopperDmb, theCopperFractionIL, theCopperFractionMB, theCopperIL, theCopperMB, theDil, theDmb, theElectronicsDil, theElectronicsDmb, theElectronicsFractionIL, theElectronicsFractionMB, theElectronicsIL, theElectronicsMB, theEnergy, theEta, theFinalX, theFinalY, theFinalZ, theH_ScintillatorDil, theH_ScintillatorDmb, theH_ScintillatorFractionIL, theH_ScintillatorFractionMB, theH_ScintillatorIL, theH_ScintillatorMB, theID, theInitialX, theInitialY, theInitialZ, theIntLen, theLeadDil, theLeadDmb, theLeadFractionIL, theLeadFractionMB, theLeadIL, theLeadMB, theM_NEMA_FR4_plateDil, theM_NEMA_FR4_plateDmb, theM_NEMA_FR4_plateFractionIL, theM_NEMA_FR4_plateFractionMB, theM_NEMA_FR4_plateIL, theM_NEMA_FR4_plateMB, theMass, theMaterialDensity, theMaterialID, theMaterialLambda0, theMaterialName, theMaterialX0, theOtherDil, theOtherDmb, theOtherFractionIL, theOtherFractionMB, theOtherIL, theOtherMB, thePhi, thePt, thePVcopyNo, thePVname, theRadLen, theSensitiveDil, theSensitiveDmb, theSensitiveFractionIL, theSensitiveFractionMB, theSensitiveIL, theSensitiveMB, theSiliconDil, theSiliconDmb, theSiliconFractionIL, theSiliconFractionMB, theSiliconIL, theSiliconMB, theStainlessSteelDil, theStainlessSteelDmb, theStainlessSteelFractionIL, theStainlessSteelFractionMB, theStainlessSteelIL, theStainlessSteelMB, 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, theWCuDil, theWCuDmb, theWCuFractionIL, theWCuFractionMB, theWCuIL, theWCuMB, HiIsolationCommonParameters_cff::track, MaterialBudgetCategorizer::volume(), and MaterialBudgetCategorizer::x0fraction().

328 {
329  assert(aStep);
330  G4StepPoint* prePoint = aStep->GetPreStepPoint();
331  G4StepPoint* postPoint = aStep->GetPostStepPoint();
332  assert(prePoint);
333  assert(postPoint);
334  G4Material * theMaterialPre = prePoint->GetMaterial();
335  assert(theMaterialPre);
336 
337  CLHEP::Hep3Vector prePos = prePoint->GetPosition();
338  CLHEP::Hep3Vector postPos = postPoint->GetPosition();
339 
340  G4double steplen = aStep->GetStepLength();
341 
342  G4double radlen = theMaterialPre->GetRadlen();
343  G4double intlen = theMaterialPre->GetNuclearInterLength();
344  G4double density = theMaterialPre->GetDensity() / densityConvertionFactor; // always g/cm3
345 
346  G4String materialName = theMaterialPre->GetName();
347  std::cout << " steplen " << steplen << " radlen " << radlen << " mb " << steplen/radlen << " mate " << theMaterialPre->GetName() << std::endl;
348  std::cout << " Material Name " << theMaterialPre->GetName() << " radlen " << radlen << std::endl;
349 
350  G4String volumeName = aStep->GetPreStepPoint()->GetTouchable()->GetVolume(0)->GetLogicalVolume()->GetName();
351  std::cout << " Volume " << volumeName << std::endl;
352  std::cout << " Material " << materialName << std::endl;
353 
354  // instantiate the categorizer
356  int volumeID = myMaterialBudgetCategorizer->volume( volumeName );
357  int materialID = myMaterialBudgetCategorizer->material( materialName );
358  std::cout << "Volume ID " << volumeID << " and material ID " << materialID << std::endl;
359 
360  // FIXME: Both volume ID and material ID are zeros, so this part is not executed leaving all
361  // values as zeros.
362  if(!myMaterialBudgetCategorizer->x0fraction(materialName).empty() && (!isHGCal))
363  {
371 
372  if(theOtherFractionMB!=0) std::cout << " material found with no category " << materialName
373  << " in volume " << volumeName << std::endl;
381 
382  if(theOtherFractionIL!=0) std::cout << " material found with no category " << materialName
383  << " in volume " << volumeName << std::endl;
384  }
385  else
386  {
387  theOtherFractionMB = 1;
388  theOtherFractionIL = 1;
389  }
390  if( (!myMaterialBudgetCategorizer->HGCalx0fraction(materialName).empty()) && (isHGCal) )
391  {
392 
403 
404 
405  if(theOtherFractionMB!=0) std::cout << " material found with no category " << materialName
406  << " in volume " << volumeName << std::endl;
407 
418 
419 
420  if(theOtherFractionIL!=0) std::cout << " material found with no category " << materialName
421  << " in volume " << volumeName << std::endl;
422  }
423  else
424  {
425  theOtherFractionMB = 1;
426  theOtherFractionIL = 1;
427  }
428 
429  float dmb = steplen/radlen;
430  float dil = steplen/intlen;
431 
432  G4VPhysicalVolume* pv = aStep->GetPreStepPoint()->GetPhysicalVolume();
433  const G4VTouchable* t = aStep->GetPreStepPoint()->GetTouchable();
434  const G4ThreeVector& objectTranslation = t->GetTranslation();
435  const G4RotationMatrix* objectRotation = t->GetRotation();
436  const G4VProcess* interactionPre = prePoint->GetProcessDefinedStep();
437  const G4VProcess* interactionPost = postPoint->GetProcessDefinedStep();
438 
439  G4Track* track = aStep->GetTrack();
440  if(theStepN==0) std::cout << " Simulated Particle " << theID << "\tMass " << theMass << " MeV/c2"
441  << "\tPt = " << thePt << " MeV/c" << "\tEta = " << theEta << "\tPhi = " << thePhi
442  << "\tEnergy = " << theEnergy << " MeV"
443  << std::endl;
444 
445  //fill data per step
446  if( allStepsToTree ){
447  assert(theStepN < MAXNUMBERSTEPS);
449  theDmb[theStepN] = dmb;
450  theDil[theStepN] = dil;
456  //HGCal
465  theWCuDmb[theStepN] = (dmb * theWCuFractionMB);
466 
472  //HGCal
481  theWCuDil[theStepN] = (dil * theWCuFractionIL);
482 
483  theInitialX[theStepN] = prePos.x();
484  theInitialY[theStepN] = prePos.y();
485  theInitialZ[theStepN] = prePos.z();
486  theFinalX[theStepN] = postPos.x();
487  theFinalY[theStepN] = postPos.y();
488  theFinalZ[theStepN] = postPos.z();
489  theVolumeID[theStepN] = volumeID;
490  theVolumeName[theStepN] = volumeName;
491  theVolumeCopy[theStepN] = pv->GetCopyNo();
492  theVolumeX[theStepN] = objectTranslation.x();
493  theVolumeY[theStepN] = objectTranslation.y();
494  theVolumeZ[theStepN] = objectTranslation.z();
495  theVolumeXaxis1[theStepN] = objectRotation->xx();
496  theVolumeXaxis2[theStepN] = objectRotation->xy();
497  theVolumeXaxis3[theStepN] = objectRotation->xz();
498  theVolumeYaxis1[theStepN] = objectRotation->yx();
499  theVolumeYaxis2[theStepN] = objectRotation->yy();
500  theVolumeYaxis3[theStepN] = objectRotation->yz();
501  theVolumeZaxis1[theStepN] = objectRotation->zx();
502  theVolumeZaxis2[theStepN] = objectRotation->zy();
503  theVolumeZaxis3[theStepN] = objectRotation->zz();
504  theMaterialID[theStepN] = materialID;
505  theMaterialName[theStepN] = materialName;
506  theMaterialX0[theStepN] = radlen;
507  theMaterialLambda0[theStepN] = intlen;
508  theMaterialDensity[theStepN] = density;
509  theStepID[theStepN] = track->GetDefinition()->GetPDGEncoding();
510  theStepInitialPt[theStepN] = prePoint->GetMomentum().perp();
511  theStepInitialEta[theStepN] = prePoint->GetMomentum().eta();
512  theStepInitialPhi[theStepN] = prePoint->GetMomentum().phi();
513  theStepInitialEnergy[theStepN] = prePoint->GetTotalEnergy();
514  theStepInitialPx[theStepN] = prePoint->GetMomentum().x();
515  theStepInitialPy[theStepN] = prePoint->GetMomentum().y();
516  theStepInitialPz[theStepN] = prePoint->GetMomentum().z();
517  theStepInitialBeta[theStepN] = prePoint->GetBeta();
518  theStepInitialGamma[theStepN] = prePoint->GetGamma();
519  theStepInitialMass[theStepN] = prePoint->GetMass();
520  theStepFinalPt[theStepN] = postPoint->GetMomentum().perp();
521  theStepFinalEta[theStepN] = postPoint->GetMomentum().eta();
522  theStepFinalPhi[theStepN] = postPoint->GetMomentum().phi();
523  theStepFinalEnergy[theStepN] = postPoint->GetTotalEnergy();
524  theStepFinalPx[theStepN] = postPoint->GetMomentum().x();
525  theStepFinalPy[theStepN] = postPoint->GetMomentum().y();
526  theStepFinalPz[theStepN] = postPoint->GetMomentum().z();
527  theStepFinalBeta[theStepN] = postPoint->GetBeta();
528  theStepFinalGamma[theStepN] = postPoint->GetGamma();
529  theStepFinalMass[theStepN] = postPoint->GetMass();
530  int preProcType = -99;
531  int postProcType = -99;
532  if (interactionPre) preProcType = interactionPre->GetProcessType();
533  theStepPreProcess[theStepN] = preProcType;
534  if (interactionPost) postProcType = interactionPost->GetProcessType();
535  theStepPostProcess[theStepN] = postProcType;
536 #ifdef TREE_DEBUG
537  std::cout << " step " << theStepN
538  << "\tDelta MB = " << theDmb[theStepN]
539  << std::endl
540  << "\t\tSupport " << theSupportDmb[theStepN]
541  << " Sensitive " << theSensitiveDmb[theStepN]
542  << " Cables " << theCablesDmb[theStepN]
543  << " Cooling " << theCoolingDmb[theStepN]
544  << " Electronics " << theElectronicsDmb[theStepN]
545  << " Other " << theOtherDmb[theStepN]
546  << " Air " << theAirDmb[theStepN]
547  << std::endl
548 
549  << "\tDelta IL = " << theDil[theStepN]
550  << std::endl
551  << "\t\tSupport " << theSupportDil[theStepN]
552  << " Sensitive " << theSensitiveDil[theStepN]
553  << " Cables " << theCablesDil[theStepN]
554  << " Cooling " << theCoolingDil[theStepN]
555  << " Electronics " << theElectronicsDil[theStepN]
556  << " Other " << theOtherDil[theStepN]
557  << " Air " << theAirDil[theStepN]
558  << std::endl;
559  if (interactionPre)
560  std::cout << "\tProcess Pre " << interactionPre->GetProcessName()
561  << " type " << theStepPreProcess[theStepN] << " " << interactionPre->GetProcessTypeName(G4ProcessType(theStepPreProcess[theStepN]))
562  << std::endl;
563  if (interactionPost)
564  std::cout << "\tProcess Post " << interactionPost->GetProcessName()
565  << " type " << theStepPostProcess[theStepN] << " "
566  << interactionPost->GetProcessTypeName(G4ProcessType(theStepPostProcess[theStepN]))
567  << std::endl;
568  std::cout << "\tPre x = " << theInitialX[theStepN]
569  << "\ty = " << theInitialY[theStepN]
570  << "\tz = " << theInitialZ[theStepN]
571  << "\tPolar Radius = " << sqrt(prePos.x()*prePos.x()+prePos.y()*prePos.y())
572  << "\tPt = " << theStepInitialPt[theStepN]
573  << "\tEnergy = " << theStepInitialEnergy[theStepN]
574  // << std::endl
575  // << "B-field(T) at Pre (cm): " << field->fieldInTesla(GlobalPoint(pos.x()/10.,pos.y()/10.,pos.z()/10.))
576  << std::endl;
577  std::cout << "\tPost x = " << theFinalX[theStepN]
578  << "\ty = " << theFinalY[theStepN]
579  << "\tz = " << theFinalZ[theStepN]
580  << "\tPolar Radius = " << sqrt(postPos.x()*postPos.x()+postPos.y()*postPos.y())
581  << "\tPt = " << theStepFinalPt[theStepN]
582  << "\tEnergy = " << theStepFinalEnergy[theStepN]
583  << std::endl;
584  std::cout << "\tvolume " << volumeID << " " << theVolumeName[theStepN]
585  << " copy number " << theVolumeCopy[theStepN]
586  << "\tmaterial " << theMaterialID[theStepN] << " " << theMaterialName[theStepN]
587  << "\tDensity = " << theMaterialDensity[theStepN] << " g/cm3"
588  << "\tX0 = " << theMaterialX0[theStepN] << " mm"
589  << "\tLambda0 = " << theMaterialLambda0[theStepN] << " mm"
590  << std::endl;
591  std::cout << "\t\tParticle " << theStepID[theStepN]
592  << " Initial Pt = " << theStepInitialPt[theStepN] << " MeV/c"
593  << " eta = " << theStepInitialEta[theStepN]
594  << " phi = " << theStepInitialPhi[theStepN]
595  << " Energy = " << theStepInitialEnergy[theStepN] << " MeV"
596  << " Mass = " << theStepInitialMass[theStepN] << " MeV/c2"
597  << " Beta = " << theStepInitialBeta[theStepN]
598  << " Gamma = " << theStepInitialGamma[theStepN]
599  << std::endl
600  << "\t\tParticle " << theStepID[theStepN]
601  << " Final Pt = " << theStepFinalPt[theStepN] << " MeV/c"
602  << " eta = " << theStepFinalEta[theStepN]
603  << " phi = " << theStepFinalPhi[theStepN]
604  << " Energy = " << theStepFinalEnergy[theStepN] << " MeV"
605  << " Mass = " << theStepFinalMass[theStepN] << " MeV/c2"
606  << " Beta = " << theStepFinalBeta[theStepN]
607  << " Gamma = " << theStepFinalGamma[theStepN]
608  << std::endl;
609  std:: cout << "\tVolume Centre x = " << theVolumeX[theStepN]
610  << "\ty = " << theVolumeY[theStepN]
611  << "\tz = " << theVolumeZ[theStepN]
612  << "\tPolar Radius = " << sqrt( theVolumeX[theStepN]*theVolumeX[theStepN] +
613  theVolumeY[theStepN]*theVolumeY[theStepN] )
614  << std::endl;
615  std::cout << "\tx axis = ("
616  << theVolumeXaxis1[theStepN] << ","
617  << theVolumeXaxis2[theStepN] << ","
618  << theVolumeXaxis3[theStepN] << ")"
619  << std::endl;
620  std::cout << "\ty axis = ("
621  << theVolumeYaxis1[theStepN] << ","
622  << theVolumeYaxis2[theStepN] << ","
623  << theVolumeYaxis3[theStepN] << ")"
624  << std::endl;
625  std::cout << "\tz axis = ("
626  << theVolumeZaxis1[theStepN] << ","
627  << theVolumeZaxis2[theStepN] << ","
628  << theVolumeZaxis3[theStepN] << ")"
629  << std::endl;
630  std::cout << "\tSecondaries"
631  << std::endl;
632  for(G4TrackVector::iterator iSec = aStep->GetSecondary()->begin(); iSec!=aStep->GetSecondary()->end(); iSec++) {
633  std::cout << "\t\tid " << (*iSec)->GetDefinition()->GetPDGEncoding()
634  << " created through process "
635  << " type " << (*iSec)->GetCreatorProcess()->GetProcessType()
636  << " " << (*iSec)->GetCreatorProcess()->GetProcessTypeName(G4ProcessType((*iSec)->GetCreatorProcess()->GetProcessType()))
637  << std::endl;
638  }
639 #endif
640  }
641 
642  theTrkLen = aStep->GetTrack()->GetTrackLength();
643  //- std::cout << " theTrkLen " << theTrkLen << " theTrkLen2 " << theTrkLen2 << " postPos " << postPos.mag() << postPos << std::endl;
644  thePVname = pv->GetName();
645  thePVcopyNo = pv->GetCopyNo();
646  theRadLen = radlen;
647  theIntLen = intlen;
648  theTotalMB += dmb;
649  theTotalIL += dil;
650 
651  // rr
656  theOtherMB += (dmb * theOtherFractionMB);
657  //HGCal
658  theAirMB += (dmb * theAirFractionMB);
659  theCablesMB += (dmb * theCablesFractionMB);
660  theCopperMB += (dmb * theCopperFractionMB);
662  theLeadMB += (dmb * theLeadFractionMB);
666  theWCuMB += (dmb * theWCuFractionMB);
667 
672  theOtherIL += (dil * theOtherFractionIL);
673  //HGCal
674  theAirIL += (dil * theAirFractionIL);
675  theCablesIL += (dil * theCablesFractionIL);
676  theCopperIL += (dil * theCopperFractionIL);
678  theLeadIL += (dil * theLeadFractionIL);
682  theWCuIL += (dil * theWCuFractionIL);
683 
684 
685 
686  // rr
687 
688  theStepN++;
689 
690 }
const std::vector< float > & x0fraction(std::string s)
const std::vector< float > & l0fraction(std::string s)
const std::vector< float > & HGCalx0fraction(std::string s)
std::string * theMaterialName
T sqrt(T t)
Definition: SSEVec.h:18
const std::vector< float > & HGCall0fraction(std::string s)
def pv(vc)
Definition: MetAnalyzer.py:7
MaterialBudgetCategorizer * myMaterialBudgetCategorizer
std::string * theVolumeName
void MaterialBudgetData::dataStartTrack ( const G4Track *  aTrack)

Definition at line 210 of file MaterialBudgetData.cc.

References gather_cfg::cout, dir, createfilelist::int, myMaterialBudgetCategorizer, theAirFractionIL, theAirFractionMB, theAirIL, theAirMB, theCablesFractionIL, theCablesFractionMB, theCablesIL, theCablesMB, theCoolingFractionIL, theCoolingFractionMB, theCoolingIL, theCoolingMB, theCopperFractionIL, theCopperFractionMB, theCopperIL, theCopperMB, theElectronicsFractionIL, theElectronicsFractionMB, theElectronicsIL, theElectronicsMB, theEnergy, theEta, theH_ScintillatorFractionIL, theH_ScintillatorFractionMB, theH_ScintillatorIL, theH_ScintillatorMB, theID, theLeadFractionIL, theLeadFractionMB, theLeadIL, theLeadMB, theM_NEMA_FR4_plateFractionIL, theM_NEMA_FR4_plateFractionMB, theM_NEMA_FR4_plateIL, theM_NEMA_FR4_plateMB, theMass, theOtherFractionIL, theOtherFractionMB, theOtherIL, theOtherMB, thePhi, thePt, theSensitiveFractionIL, theSensitiveFractionMB, theSensitiveIL, theSensitiveMB, theSiliconFractionIL, theSiliconFractionMB, theSiliconIL, theSiliconMB, theStainlessSteelFractionIL, theStainlessSteelFractionMB, theStainlessSteelIL, theStainlessSteelMB, theStepN, theSupportFractionIL, theSupportFractionMB, theSupportIL, theSupportMB, theTotalIL, theTotalMB, theWCuFractionIL, theWCuFractionMB, theWCuIL, and theWCuMB.

211 {
212  std::cout << "MaterialBudgetData::dataStartTrack( const G4Track* aTrack )" << std::endl;;
213  const G4ThreeVector& dir = aTrack->GetMomentum() ;
214 
216 
217  theStepN=0;
218  theTotalMB=0;
219  theTotalIL=0;
220  theEta=0;
221  thePhi=0;
222 
223  // rr
224  theID=0;
225  thePt=0;
226  theEnergy=0;
227  theMass=0;
228 
229  theSupportMB = 0.;
230  theSensitiveMB = 0.;
231  theCoolingMB = 0.;
232  theElectronicsMB = 0.;
233  theOtherMB = 0.;
234  //HGCal
235  theAirMB = 0.;
236  theCablesMB = 0.;
237  theCopperMB = 0.;
238  theH_ScintillatorMB = 0.;
239  theLeadMB = 0.;
241  theSiliconMB = 0.;
242  theStainlessSteelMB = 0.;
243  theWCuMB = 0.;
244 
245  theSupportIL = 0.;
246  theSensitiveIL = 0.;
247  theCoolingIL = 0.;
248  theElectronicsIL = 0.;
249  theOtherIL = 0.;
250 
251  //HGCal
252  theAirIL = 0.;
253  theCablesIL = 0.;
254  theCopperIL = 0.;
255  theH_ScintillatorIL = 0.;
256  theLeadIL = 0.;
258  theSiliconIL = 0.;
259  theStainlessSteelIL = 0.;
260  theWCuIL = 0.;
261 
266  theOtherFractionMB = 0.;
267  //HGCal
268  theAirFractionMB = 0.;
269  theCablesFractionMB = 0.;
270  theCopperFractionMB = 0.;
272  theLeadFractionMB = 0.;
274  theSiliconFractionMB = 0.;
276  theWCuFractionMB = 0.;
277 
282  theOtherFractionIL = 0.;
283  //HGCal
284  theAirFractionIL = 0.;
285  theCablesFractionIL = 0.;
286  theCopperFractionIL = 0.;
288  theLeadFractionIL = 0.;
290  theSiliconFractionIL = 0.;
292  theWCuFractionIL = 0.;
293 
294  // rr
295 
296  theID = (int)(aTrack->GetDefinition()->GetPDGEncoding());
297  thePt = dir.perp();
298  if( dir.theta() != 0 ) {
299  theEta = dir.eta();
300  } else {
301  theEta = -99;
302  }
303  // thePhi = dir.phi()/deg; // better not to store in deg
304  thePhi = dir.phi();
305  theEnergy = aTrack->GetTotalEnergy();
306  theMass = aTrack->GetDefinition()->GetPDGMass();
307 
308 }
MaterialBudgetCategorizer * myMaterialBudgetCategorizer
dbl *** dir
Definition: mlp_gen.cc:35
float MaterialBudgetData::getAirDil ( int  is) const
inline

Definition at line 230 of file MaterialBudgetData.h.

References theAirDil.

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

Definition at line 197 of file MaterialBudgetData.h.

References theAirDmb.

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

Definition at line 105 of file MaterialBudgetData.h.

References theAirFractionIL.

105  {
106  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 135 of file MaterialBudgetData.h.

References theAirIL.

135  {
136  return theAirIL; }
float MaterialBudgetData::getAirMB ( ) const
inline

Definition at line 75 of file MaterialBudgetData.h.

References theAirMB.

75  {
76  return theAirMB; }
float MaterialBudgetData::getCablesDil ( int  is) const
inline

Definition at line 222 of file MaterialBudgetData.h.

References theCablesDil.

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

Definition at line 189 of file MaterialBudgetData.h.

References theCablesDmb.

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

Definition at line 97 of file MaterialBudgetData.h.

References theCablesFractionIL.

97  {
98  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 127 of file MaterialBudgetData.h.

References theCablesIL.

127  {
128  return theCablesIL; }
float MaterialBudgetData::getCablesMB ( ) const
inline

Definition at line 67 of file MaterialBudgetData.h.

References theCablesMB.

67  {
68  return theCablesMB; }
float MaterialBudgetData::getCoolingDil ( int  is) const
inline

Definition at line 224 of file MaterialBudgetData.h.

References theCoolingDil.

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

Definition at line 191 of file MaterialBudgetData.h.

References theCoolingDmb.

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

Definition at line 99 of file MaterialBudgetData.h.

References theCoolingFractionIL.

99  {
100  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 129 of file MaterialBudgetData.h.

References theCoolingIL.

129  {
130  return theCoolingIL; }
float MaterialBudgetData::getCoolingMB ( ) const
inline

Definition at line 69 of file MaterialBudgetData.h.

References theCoolingMB.

69  {
70  return theCoolingMB; }
float MaterialBudgetData::getCopperDil ( int  is) const
inline

Definition at line 232 of file MaterialBudgetData.h.

References theCopperDil.

232  {
233  return theCopperDil[is]; }
float MaterialBudgetData::getCopperDmb ( int  is) const
inline

Definition at line 199 of file MaterialBudgetData.h.

References theCopperDmb.

199  {
200  return theCopperDmb[is]; }
float MaterialBudgetData::getCopperFractionIL ( ) const
inline

Definition at line 107 of file MaterialBudgetData.h.

References theCopperFractionIL.

107  {
108  return theCopperFractionIL; }
float MaterialBudgetData::getCopperFractionMB ( ) const
inline

Definition at line 48 of file MaterialBudgetData.h.

References theCopperFractionMB.

48  {
49  return theCopperFractionMB; }
float MaterialBudgetData::getCopperIL ( ) const
inline

Definition at line 137 of file MaterialBudgetData.h.

References theCopperIL.

137  {
138  return theCopperIL; }
float MaterialBudgetData::getCopperMB ( ) const
inline

Definition at line 78 of file MaterialBudgetData.h.

References theCopperMB.

78  {
79  return theCopperMB; }
float MaterialBudgetData::getElectronicsDil ( int  is) const
inline

Definition at line 226 of file MaterialBudgetData.h.

References theElectronicsDil.

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

Definition at line 193 of file MaterialBudgetData.h.

References theElectronicsDmb.

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

Definition at line 101 of file MaterialBudgetData.h.

References theElectronicsFractionIL.

101  {
102  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 131 of file MaterialBudgetData.h.

References theElectronicsIL.

131  {
132  return theElectronicsIL; }
float MaterialBudgetData::getElectronicsMB ( ) const
inline

Definition at line 71 of file MaterialBudgetData.h.

References theElectronicsMB.

71  {
72  return theElectronicsMB; }
float MaterialBudgetData::getEnergy ( ) const
inline

Definition at line 162 of file MaterialBudgetData.h.

References theEnergy.

162  {
163  return theEnergy; }
float MaterialBudgetData::getEta ( ) const
inline

Definition at line 153 of file MaterialBudgetData.h.

References theEta.

153  {
154  return theEta; }
float MaterialBudgetData::getH_ScintillatorDil ( int  is) const
inline

Definition at line 234 of file MaterialBudgetData.h.

References theH_ScintillatorDil.

234  {
235  return theH_ScintillatorDil[is]; }
float MaterialBudgetData::getH_ScintillatorDmb ( int  is) const
inline

Definition at line 201 of file MaterialBudgetData.h.

References theH_ScintillatorDmb.

201  {
202  return theH_ScintillatorDmb[is]; }
float MaterialBudgetData::getH_ScintillatorFractionIL ( ) const
inline

Definition at line 109 of file MaterialBudgetData.h.

References theH_ScintillatorFractionIL.

109  {
float MaterialBudgetData::getH_ScintillatorFractionMB ( ) const
inline

Definition at line 50 of file MaterialBudgetData.h.

References theH_ScintillatorFractionMB.

50  {
float MaterialBudgetData::getH_ScintillatorIL ( ) const
inline

Definition at line 139 of file MaterialBudgetData.h.

References theH_ScintillatorIL.

139  {
140  return theH_ScintillatorIL; }
float MaterialBudgetData::getH_ScintillatorMB ( ) const
inline

Definition at line 80 of file MaterialBudgetData.h.

References theH_ScintillatorMB.

80  {
81  return theH_ScintillatorMB; }
bool MaterialBudgetData::getHGCalmode ( void  )
inline

Definition at line 383 of file MaterialBudgetData.h.

References isHGCal.

383 {return isHGCal;}
int MaterialBudgetData::getID ( ) const
inline

Definition at line 158 of file MaterialBudgetData.h.

References theID.

158  {
159  return theID; }
float MaterialBudgetData::getIntLen ( ) const
inline

Definition at line 179 of file MaterialBudgetData.h.

References theIntLen.

179  {
180  return theIntLen; }
float MaterialBudgetData::getLeadDil ( int  is) const
inline

Definition at line 236 of file MaterialBudgetData.h.

References theLeadDil.

236  {
237  return theLeadDil[is]; }
float MaterialBudgetData::getLeadDmb ( int  is) const
inline

Definition at line 203 of file MaterialBudgetData.h.

References theLeadDmb.

203  {
204  return theLeadDmb[is]; }
float MaterialBudgetData::getLeadFractionIL ( ) const
inline

Definition at line 111 of file MaterialBudgetData.h.

References theLeadFractionIL.

111  {
112  return theLeadFractionIL; }
float MaterialBudgetData::getLeadFractionMB ( ) const
inline

Definition at line 52 of file MaterialBudgetData.h.

References theLeadFractionMB.

52  {
53  return theLeadFractionMB; }
float MaterialBudgetData::getLeadIL ( ) const
inline

Definition at line 141 of file MaterialBudgetData.h.

References theLeadIL.

141  {
142  return theLeadIL; }
float MaterialBudgetData::getLeadMB ( ) const
inline

Definition at line 82 of file MaterialBudgetData.h.

References theLeadMB.

82  {
83  return theLeadMB; }
float MaterialBudgetData::getM_NEMA_FR4_plateDil ( int  is) const
inline

Definition at line 238 of file MaterialBudgetData.h.

References theM_NEMA_FR4_plateDil.

238  {
239  return theM_NEMA_FR4_plateDil[is]; }
float MaterialBudgetData::getM_NEMA_FR4_plateDmb ( int  is) const
inline

Definition at line 205 of file MaterialBudgetData.h.

References theM_NEMA_FR4_plateDmb.

205  {
206  return theM_NEMA_FR4_plateDmb[is]; }
float MaterialBudgetData::getM_NEMA_FR4_plateFractionIL ( ) const
inline

Definition at line 113 of file MaterialBudgetData.h.

References theM_NEMA_FR4_plateFractionIL.

113  {
float MaterialBudgetData::getM_NEMA_FR4_plateFractionMB ( ) const
inline

Definition at line 54 of file MaterialBudgetData.h.

References theM_NEMA_FR4_plateFractionMB.

54  {
float MaterialBudgetData::getM_NEMA_FR4_plateIL ( ) const
inline

Definition at line 143 of file MaterialBudgetData.h.

References theM_NEMA_FR4_plateIL.

143  {
144  return theM_NEMA_FR4_plateIL; }
float MaterialBudgetData::getM_NEMA_FR4_plateMB ( ) const
inline

Definition at line 84 of file MaterialBudgetData.h.

References theM_NEMA_FR4_plateMB.

84  {
85  return theM_NEMA_FR4_plateMB; }
float MaterialBudgetData::getMass ( ) const
inline

Definition at line 164 of file MaterialBudgetData.h.

References theMass.

164  {
165  return theMass; }
int MaterialBudgetData::getNumberOfSteps ( ) const
inline

Definition at line 168 of file MaterialBudgetData.h.

References theStepN.

168  {
169  return theStepN; }
float MaterialBudgetData::getOtherDil ( int  is) const
inline

Definition at line 228 of file MaterialBudgetData.h.

References theOtherDil.

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

Definition at line 195 of file MaterialBudgetData.h.

References theOtherDmb.

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

Definition at line 103 of file MaterialBudgetData.h.

References theOtherFractionIL.

103  {
104  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 133 of file MaterialBudgetData.h.

References theOtherIL.

133  {
134  return theOtherIL; }
float MaterialBudgetData::getOtherMB ( ) const
inline

Definition at line 73 of file MaterialBudgetData.h.

References theOtherMB.

73  {
74  return theOtherMB; }
float MaterialBudgetData::getPhi ( ) const
inline

Definition at line 155 of file MaterialBudgetData.h.

References thePhi.

155  {
156  return thePhi; }
float MaterialBudgetData::getPt ( ) const
inline

Definition at line 160 of file MaterialBudgetData.h.

References thePt.

160  {
161  return thePt; }
int MaterialBudgetData::getPVcopyNo ( ) const
inline

Definition at line 175 of file MaterialBudgetData.h.

References thePVcopyNo.

175  {
176  return thePVcopyNo; }
std::string MaterialBudgetData::getPVname ( ) const
inline

Definition at line 173 of file MaterialBudgetData.h.

References thePVname.

173  {
174  return thePVname; }
float MaterialBudgetData::getRadLen ( ) const
inline

Definition at line 177 of file MaterialBudgetData.h.

References theRadLen.

177  {
178  return theRadLen; }
float MaterialBudgetData::getSensitiveDil ( int  is) const
inline

Definition at line 220 of file MaterialBudgetData.h.

References theSensitiveDil.

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

Definition at line 187 of file MaterialBudgetData.h.

References theSensitiveDmb.

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

Definition at line 95 of file MaterialBudgetData.h.

References theSensitiveFractionIL.

95  {
96  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 125 of file MaterialBudgetData.h.

References theSensitiveIL.

125  {
126  return theSensitiveIL; }
float MaterialBudgetData::getSensitiveMB ( ) const
inline

Definition at line 65 of file MaterialBudgetData.h.

References theSensitiveMB.

65  {
66  return theSensitiveMB; }
float MaterialBudgetData::getSiliconDil ( int  is) const
inline

Definition at line 240 of file MaterialBudgetData.h.

References theSiliconDil.

240  {
241  return theSiliconDil[is]; }
float MaterialBudgetData::getSiliconDmb ( int  is) const
inline

Definition at line 207 of file MaterialBudgetData.h.

References theSiliconDmb.

207  {
208  return theSiliconDmb[is]; }
float MaterialBudgetData::getSiliconFractionIL ( ) const
inline

Definition at line 115 of file MaterialBudgetData.h.

References theSiliconFractionIL.

115  {
116  return theSiliconFractionIL; }
float MaterialBudgetData::getSiliconFractionMB ( ) const
inline

Definition at line 56 of file MaterialBudgetData.h.

References theSiliconFractionMB.

56  {
57  return theSiliconFractionMB; }
float MaterialBudgetData::getSiliconIL ( ) const
inline

Definition at line 145 of file MaterialBudgetData.h.

References theSiliconIL.

145  {
146  return theSiliconIL; }
float MaterialBudgetData::getSiliconMB ( ) const
inline

Definition at line 86 of file MaterialBudgetData.h.

References theSiliconMB.

86  {
87  return theSiliconMB; }
float MaterialBudgetData::getStainlessSteelDil ( int  is) const
inline

Definition at line 242 of file MaterialBudgetData.h.

References theStainlessSteelDil.

242  {
243  return theStainlessSteelDil[is]; }
float MaterialBudgetData::getStainlessSteelDmb ( int  is) const
inline

Definition at line 209 of file MaterialBudgetData.h.

References theStainlessSteelDmb.

209  {
210  return theStainlessSteelDmb[is]; }
float MaterialBudgetData::getStainlessSteelFractionIL ( ) const
inline

Definition at line 117 of file MaterialBudgetData.h.

References theStainlessSteelFractionIL.

117  {
float MaterialBudgetData::getStainlessSteelFractionMB ( ) const
inline

Definition at line 58 of file MaterialBudgetData.h.

References theStainlessSteelFractionMB.

58  {
float MaterialBudgetData::getStainlessSteelIL ( ) const
inline

Definition at line 147 of file MaterialBudgetData.h.

References theStainlessSteelIL.

147  {
148  return theStainlessSteelIL; }
float MaterialBudgetData::getStainlessSteelMB ( ) const
inline

Definition at line 88 of file MaterialBudgetData.h.

References theStainlessSteelMB.

88  {
89  return theStainlessSteelMB; }
float MaterialBudgetData::getStepDil ( int  is)
inline

Definition at line 215 of file MaterialBudgetData.h.

References theDil.

215  {
216  return theDil[is];
217  }
float MaterialBudgetData::getStepDmb ( int  is)
inline

Definition at line 182 of file MaterialBudgetData.h.

References theDmb.

182  {
183  return theDmb[is];
184  }
float MaterialBudgetData::getStepFinalBeta ( int  is)
inline

Definition at line 319 of file MaterialBudgetData.h.

References theStepFinalBeta.

319  {
320  return theStepFinalBeta[is];
321  }
float MaterialBudgetData::getStepFinalEnergy ( int  is)
inline

Definition at line 307 of file MaterialBudgetData.h.

References theStepFinalEnergy.

307  {
308  return theStepFinalEnergy[is];
309  }
float MaterialBudgetData::getStepFinalEta ( int  is)
inline

Definition at line 301 of file MaterialBudgetData.h.

References theStepFinalEta.

301  {
302  return theStepFinalEta[is];
303  }
float MaterialBudgetData::getStepFinalGamma ( int  is)
inline

Definition at line 322 of file MaterialBudgetData.h.

References theStepFinalGamma.

322  {
323  return theStepFinalGamma[is];
324  }
float MaterialBudgetData::getStepFinalMass ( int  is)
inline

Definition at line 325 of file MaterialBudgetData.h.

References theStepFinalMass.

325  {
326  return theStepFinalMass[is];
327  }
float MaterialBudgetData::getStepFinalPhi ( int  is)
inline

Definition at line 304 of file MaterialBudgetData.h.

References theStepFinalPhi.

304  {
305  return theStepFinalPhi[is];
306  }
float MaterialBudgetData::getStepFinalPt ( int  is)
inline

Definition at line 298 of file MaterialBudgetData.h.

References theStepFinalPt.

298  {
299  return theStepFinalPt[is];
300  }
float MaterialBudgetData::getStepFinalPx ( int  is)
inline

Definition at line 310 of file MaterialBudgetData.h.

References theStepFinalPx.

310  {
311  return theStepFinalPx[is];
312  }
float MaterialBudgetData::getStepFinalPy ( int  is)
inline

Definition at line 313 of file MaterialBudgetData.h.

References theStepFinalPy.

313  {
314  return theStepFinalPy[is];
315  }
float MaterialBudgetData::getStepFinalPz ( int  is)
inline

Definition at line 316 of file MaterialBudgetData.h.

References theStepFinalPz.

316  {
317  return theStepFinalPz[is];
318  }
double MaterialBudgetData::getStepFinalX ( int  is)
inline

Definition at line 256 of file MaterialBudgetData.h.

References theFinalX.

256  {
257  return theFinalX[is];
258  }
double MaterialBudgetData::getStepFinalY ( int  is)
inline

Definition at line 259 of file MaterialBudgetData.h.

References theFinalY.

259  {
260  return theFinalY[is];
261  }
double MaterialBudgetData::getStepFinalZ ( int  is)
inline

Definition at line 262 of file MaterialBudgetData.h.

References theFinalZ.

262  {
263  return theFinalZ[is];
264  }
int MaterialBudgetData::getStepID ( int  is)
inline

Definition at line 265 of file MaterialBudgetData.h.

References theStepID.

265  {
266  return theStepID[is];
267  }
float MaterialBudgetData::getStepInitialBeta ( int  is)
inline

Definition at line 289 of file MaterialBudgetData.h.

References theStepInitialBeta.

289  {
290  return theStepInitialBeta[is];
291  }
float MaterialBudgetData::getStepInitialEnergy ( int  is)
inline

Definition at line 277 of file MaterialBudgetData.h.

References theStepInitialEnergy.

277  {
278  return theStepInitialEnergy[is];
279  }
float MaterialBudgetData::getStepInitialEta ( int  is)
inline

Definition at line 271 of file MaterialBudgetData.h.

References theStepInitialEta.

271  {
272  return theStepInitialEta[is];
273  }
float MaterialBudgetData::getStepInitialGamma ( int  is)
inline

Definition at line 292 of file MaterialBudgetData.h.

References theStepInitialGamma.

292  {
293  return theStepInitialGamma[is];
294  }
float MaterialBudgetData::getStepInitialMass ( int  is)
inline

Definition at line 295 of file MaterialBudgetData.h.

References theStepInitialMass.

295  {
296  return theStepInitialMass[is];
297  }
float MaterialBudgetData::getStepInitialPhi ( int  is)
inline

Definition at line 274 of file MaterialBudgetData.h.

References theStepInitialPhi.

274  {
275  return theStepInitialPhi[is];
276  }
float MaterialBudgetData::getStepInitialPt ( int  is)
inline

Definition at line 268 of file MaterialBudgetData.h.

References theStepInitialPt.

268  {
269  return theStepInitialPt[is];
270  }
float MaterialBudgetData::getStepInitialPx ( int  is)
inline

Definition at line 280 of file MaterialBudgetData.h.

References theStepInitialPx.

280  {
281  return theStepInitialPx[is];
282  }
float MaterialBudgetData::getStepInitialPy ( int  is)
inline

Definition at line 283 of file MaterialBudgetData.h.

References theStepInitialPy.

283  {
284  return theStepInitialPy[is];
285  }
float MaterialBudgetData::getStepInitialPz ( int  is)
inline

Definition at line 286 of file MaterialBudgetData.h.

References theStepInitialPz.

286  {
287  return theStepInitialPz[is];
288  }
double MaterialBudgetData::getStepInitialX ( int  is)
inline

Definition at line 247 of file MaterialBudgetData.h.

References theInitialX.

247  {
248  return theInitialX[is];
249  }
double MaterialBudgetData::getStepInitialY ( int  is)
inline

Definition at line 250 of file MaterialBudgetData.h.

References theInitialY.

250  {
251  return theInitialY[is];
252  }
double MaterialBudgetData::getStepInitialZ ( int  is)
inline

Definition at line 253 of file MaterialBudgetData.h.

References theInitialZ.

253  {
254  return theInitialZ[is];
255  }
float MaterialBudgetData::getStepMaterialDensity ( int  is)
inline

Definition at line 374 of file MaterialBudgetData.h.

References theMaterialDensity.

374  {
375  return theMaterialDensity[is];
376  }
int MaterialBudgetData::getStepMaterialID ( int  is)
inline

Definition at line 362 of file MaterialBudgetData.h.

References theMaterialID.

362  {
363  return theMaterialID[is];
364  }
float MaterialBudgetData::getStepMaterialLambda0 ( int  is)
inline

Definition at line 371 of file MaterialBudgetData.h.

References theMaterialLambda0.

371  {
372  return theMaterialLambda0[is];
373  }
std::string MaterialBudgetData::getStepMaterialName ( int  is)
inline

Definition at line 365 of file MaterialBudgetData.h.

References theMaterialName.

365  {
366  return theMaterialName[is];
367  }
std::string * theMaterialName
float MaterialBudgetData::getStepMaterialX0 ( int  is)
inline

Definition at line 368 of file MaterialBudgetData.h.

References theMaterialX0.

368  {
369  return theMaterialX0[is];
370  }
int MaterialBudgetData::getStepPostProcess ( int  is)
inline

Definition at line 331 of file MaterialBudgetData.h.

References theStepPostProcess.

331  {
332  return theStepPostProcess[is];
333  }
int MaterialBudgetData::getStepPreProcess ( int  is)
inline

Definition at line 328 of file MaterialBudgetData.h.

References theStepPreProcess.

328  {
329  return theStepPreProcess[is];
330  }
int MaterialBudgetData::getStepVolumeCopy ( int  is)
inline

Definition at line 341 of file MaterialBudgetData.h.

References theVolumeCopy.

341  {
342  return theVolumeCopy[is];
343  }
int MaterialBudgetData::getStepVolumeID ( int  is)
inline

Definition at line 335 of file MaterialBudgetData.h.

References theVolumeID.

335  {
336  return theVolumeID[is];
337  }
std::string MaterialBudgetData::getStepVolumeName ( int  is)
inline

Definition at line 338 of file MaterialBudgetData.h.

References theVolumeName.

338  {
339  return theVolumeName[is];
340  }
std::string * theVolumeName
float MaterialBudgetData::getStepVolumeX ( int  is)
inline

Definition at line 344 of file MaterialBudgetData.h.

References theVolumeX.

344  {
345  return theVolumeX[is];
346  }
CLHEP::HepLorentzVector MaterialBudgetData::getStepVolumeXaxis ( int  is)
inline

Definition at line 353 of file MaterialBudgetData.h.

References theVolumeXaxis1, theVolumeXaxis2, and theVolumeXaxis3.

353  {
354  return CLHEP::HepLorentzVector(theVolumeXaxis1[is],theVolumeXaxis2[is],theVolumeXaxis3[is]);
355  }
float MaterialBudgetData::getStepVolumeY ( int  is)
inline

Definition at line 347 of file MaterialBudgetData.h.

References theVolumeY.

347  {
348  return theVolumeY[is];
349  }
CLHEP::HepLorentzVector MaterialBudgetData::getStepVolumeYaxis ( int  is)
inline

Definition at line 356 of file MaterialBudgetData.h.

References theVolumeYaxis1, theVolumeYaxis2, and theVolumeYaxis3.

356  {
357  return CLHEP::HepLorentzVector(theVolumeYaxis1[is],theVolumeYaxis2[is],theVolumeYaxis3[is]);
358  }
float MaterialBudgetData::getStepVolumeZ ( int  is)
inline

Definition at line 350 of file MaterialBudgetData.h.

References theVolumeZ.

350  {
351  return theVolumeZ[is];
352  }
CLHEP::HepLorentzVector MaterialBudgetData::getStepVolumeZaxis ( int  is)
inline

Definition at line 359 of file MaterialBudgetData.h.

References theVolumeZaxis1, theVolumeZaxis2, and theVolumeZaxis3.

359  {
360  return CLHEP::HepLorentzVector(theVolumeZaxis1[is],theVolumeZaxis2[is],theVolumeZaxis3[is]);
361  }
float MaterialBudgetData::getSupportDil ( int  is) const
inline

Definition at line 218 of file MaterialBudgetData.h.

References theSupportDil.

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

Definition at line 185 of file MaterialBudgetData.h.

References theSupportDmb.

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

Definition at line 93 of file MaterialBudgetData.h.

References theSupportFractionIL.

93  {
94  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 123 of file MaterialBudgetData.h.

References theSupportIL.

123  {
124  return theSupportIL; }
float MaterialBudgetData::getSupportMB ( ) const
inline

Definition at line 63 of file MaterialBudgetData.h.

References theSupportMB.

63  {
64  return theSupportMB; }
float MaterialBudgetData::getTotalIL ( ) const
inline

Definition at line 121 of file MaterialBudgetData.h.

References theTotalIL.

121  {
122  return theTotalIL; }
float MaterialBudgetData::getTotalMB ( ) const
inline

Definition at line 30 of file MaterialBudgetData.h.

References theTotalMB.

30  {
31  return theTotalMB; }
float MaterialBudgetData::getTrkLen ( ) const
inline

Definition at line 171 of file MaterialBudgetData.h.

References theTrkLen.

171  {
172  return theTrkLen; }
float MaterialBudgetData::getWCuDil ( int  is) const
inline

Definition at line 244 of file MaterialBudgetData.h.

References theWCuDil.

244  {
245  return theWCuDil[is]; }
float MaterialBudgetData::getWCuDmb ( int  is) const
inline

Definition at line 211 of file MaterialBudgetData.h.

References theWCuDmb.

211  {
212  return theWCuDmb[is]; }
float MaterialBudgetData::getWCuFractionIL ( ) const
inline

Definition at line 119 of file MaterialBudgetData.h.

References theWCuFractionIL.

119  {
120  return theWCuFractionIL; }
float MaterialBudgetData::getWCuFractionMB ( ) const
inline

Definition at line 60 of file MaterialBudgetData.h.

References theWCuFractionMB.

60  {
61  return theWCuFractionMB; }
float MaterialBudgetData::getWCuIL ( ) const
inline

Definition at line 149 of file MaterialBudgetData.h.

References theWCuIL.

149  {
150  return theWCuIL; }
float MaterialBudgetData::getWCuMB ( ) const
inline

Definition at line 90 of file MaterialBudgetData.h.

References theWCuMB.

90  {
91  return theWCuMB; }
void MaterialBudgetData::SetAllStepsToTree ( )

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

Definition at line 114 of file MaterialBudgetData.cc.

References allStepsToTree, MAXNUMBERSTEPS, AlCaHLTBitMon_QueryRunRegistry::string, theAirDil, theAirDmb, theCablesDil, theCablesDmb, theCoolingDil, theCoolingDmb, theCopperDil, theCopperDmb, theDil, theDmb, theElectronicsDil, theElectronicsDmb, theFinalX, theFinalY, theFinalZ, theH_ScintillatorDil, theH_ScintillatorDmb, theInitialX, theInitialY, theInitialZ, theLeadDil, theLeadDmb, theM_NEMA_FR4_plateDil, theM_NEMA_FR4_plateDmb, theMaterialDensity, theMaterialID, theMaterialLambda0, theMaterialName, theMaterialX0, theOtherDil, theOtherDmb, theSensitiveDil, theSensitiveDmb, theSiliconDil, theSiliconDmb, theStainlessSteelDil, theStainlessSteelDmb, 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, theVolumeZaxis3, theWCuDil, and theWCuDmb.

115 {
116  allStepsToTree = true;
117  MAXNUMBERSTEPS = 0;
118  MAXNUMBERSTEPS = 10000;
119  theDmb = new float[MAXNUMBERSTEPS];
120  theDil = new float[MAXNUMBERSTEPS];
121  // rr
122  theSupportDmb = new float[MAXNUMBERSTEPS];
123  theSensitiveDmb = new float[MAXNUMBERSTEPS];
124  theCablesDmb = new float[MAXNUMBERSTEPS];
125  theCoolingDmb = new float[MAXNUMBERSTEPS];
126  theElectronicsDmb = new float[MAXNUMBERSTEPS];
127  theOtherDmb = new float[MAXNUMBERSTEPS];
128  //HGCal
129  theAirDmb = new float[MAXNUMBERSTEPS];
130  theCablesDmb = new float[MAXNUMBERSTEPS];
131  theCopperDmb = new float[MAXNUMBERSTEPS];
133  theLeadDmb = new float[MAXNUMBERSTEPS];
135  theSiliconDmb = new float[MAXNUMBERSTEPS];
137  theWCuDmb = new float[MAXNUMBERSTEPS];
138 
139  theSupportDil = new float[MAXNUMBERSTEPS];
140  theSensitiveDil = new float[MAXNUMBERSTEPS];
141  theCoolingDil = new float[MAXNUMBERSTEPS];
142  theElectronicsDil = new float[MAXNUMBERSTEPS];
143  theOtherDil = new float[MAXNUMBERSTEPS];
144  //HGCal
145  theAirDil = new float[MAXNUMBERSTEPS];
146  theCablesDil = new float[MAXNUMBERSTEPS];
147  theCopperDil = new float[MAXNUMBERSTEPS];
149  theLeadDil = new float[MAXNUMBERSTEPS];
151  theSiliconDil = new float[MAXNUMBERSTEPS];
153  theWCuDil = new float[MAXNUMBERSTEPS];
154 
155  // rr
156  theInitialX = new double[MAXNUMBERSTEPS];
157  theInitialY = new double[MAXNUMBERSTEPS];
158  theInitialZ = new double[MAXNUMBERSTEPS];
159  theFinalX = new double[MAXNUMBERSTEPS];
160  theFinalY = new double[MAXNUMBERSTEPS];
161  theFinalZ = new double[MAXNUMBERSTEPS];
162  // rr
163  theVolumeID = new int[MAXNUMBERSTEPS];
165  theVolumeCopy = new int[MAXNUMBERSTEPS];
166  theVolumeX = new float[MAXNUMBERSTEPS];
167  theVolumeY = new float[MAXNUMBERSTEPS];
168  theVolumeZ = new float[MAXNUMBERSTEPS];
169  theVolumeXaxis1 = new float[MAXNUMBERSTEPS];
170  theVolumeXaxis2 = new float[MAXNUMBERSTEPS];
171  theVolumeXaxis3 = new float[MAXNUMBERSTEPS];
172  theVolumeYaxis1 = new float[MAXNUMBERSTEPS];
173  theVolumeYaxis2 = new float[MAXNUMBERSTEPS];
174  theVolumeYaxis3 = new float[MAXNUMBERSTEPS];
175  theVolumeZaxis1 = new float[MAXNUMBERSTEPS];
176  theVolumeZaxis2 = new float[MAXNUMBERSTEPS];
177  theVolumeZaxis3 = new float[MAXNUMBERSTEPS];
178  theMaterialID = new int[MAXNUMBERSTEPS];
180  theMaterialX0 = new float[MAXNUMBERSTEPS];
181  theMaterialLambda0 = new float[MAXNUMBERSTEPS];
182  theMaterialDensity = new float[MAXNUMBERSTEPS];
183  theStepID = new int[MAXNUMBERSTEPS];
184  theStepInitialPt = new float[MAXNUMBERSTEPS];
185  theStepInitialEta = new float[MAXNUMBERSTEPS];
186  theStepInitialPhi = new float[MAXNUMBERSTEPS];
188  theStepInitialPx = new float[MAXNUMBERSTEPS];
189  theStepInitialPy = new float[MAXNUMBERSTEPS];
190  theStepInitialPz = new float[MAXNUMBERSTEPS];
191  theStepInitialBeta = new float[MAXNUMBERSTEPS];
192  theStepInitialGamma = new float[MAXNUMBERSTEPS];
193  theStepInitialMass = new float[MAXNUMBERSTEPS];
194  theStepFinalPt = new float[MAXNUMBERSTEPS];
195  theStepFinalEta = new float[MAXNUMBERSTEPS];
196  theStepFinalPhi = new float[MAXNUMBERSTEPS];
197  theStepFinalEnergy = new float[MAXNUMBERSTEPS];
198  theStepFinalPx = new float[MAXNUMBERSTEPS];
199  theStepFinalPy = new float[MAXNUMBERSTEPS];
200  theStepFinalPz = new float[MAXNUMBERSTEPS];
201  theStepFinalBeta = new float[MAXNUMBERSTEPS];
202  theStepFinalGamma = new float[MAXNUMBERSTEPS];
203  theStepFinalMass = new float[MAXNUMBERSTEPS];
206  // rr
207 }
std::string * theMaterialName
std::string * theVolumeName
void MaterialBudgetData::setHGCalmode ( bool  t)
inline

Definition at line 384 of file MaterialBudgetData.h.

References isHGCal, and lumiQTWidget::t.

Member Data Documentation

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

Definition at line 477 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and MaterialBudgetData().

bool MaterialBudgetData::isHGCal
private
int MaterialBudgetData::MAXNUMBERSTEPS
private

Definition at line 472 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and SetAllStepsToTree().

MaterialBudgetCategorizer* MaterialBudgetData::myMaterialBudgetCategorizer
private

Definition at line 467 of file MaterialBudgetData.h.

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

int MaterialBudgetData::stepN
private

Definition at line 471 of file MaterialBudgetData.h.

float * MaterialBudgetData::theAirDil
private
float * MaterialBudgetData::theAirDmb
private
float MaterialBudgetData::theAirFractionIL
private

Definition at line 395 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theAirFractionMB
private

Definition at line 393 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theAirIL
private

Definition at line 402 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theAirMB
private

Definition at line 397 of file MaterialBudgetData.h.

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

float * MaterialBudgetData::theCablesDil
private
float * MaterialBudgetData::theCablesDmb
private
float MaterialBudgetData::theCablesFractionIL
private

Definition at line 395 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theCablesFractionMB
private

Definition at line 393 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theCablesIL
private

Definition at line 402 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theCablesMB
private

Definition at line 397 of file MaterialBudgetData.h.

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

float * MaterialBudgetData::theCoolingDil
private
float * MaterialBudgetData::theCoolingDmb
private
float MaterialBudgetData::theCoolingFractionIL
private

Definition at line 395 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theCoolingFractionMB
private

Definition at line 393 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theCoolingIL
private

Definition at line 402 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theCoolingMB
private

Definition at line 397 of file MaterialBudgetData.h.

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

float* MaterialBudgetData::theCopperDil
private
float* MaterialBudgetData::theCopperDmb
private
float MaterialBudgetData::theCopperFractionIL
private

Definition at line 404 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theCopperFractionMB
private

Definition at line 399 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theCopperIL
private

Definition at line 405 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theCopperMB
private

Definition at line 400 of file MaterialBudgetData.h.

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

float* MaterialBudgetData::theDil
private
float* MaterialBudgetData::theDmb
private
float * MaterialBudgetData::theElectronicsDil
private
float * MaterialBudgetData::theElectronicsDmb
private
float MaterialBudgetData::theElectronicsFractionIL
private

Definition at line 395 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theElectronicsFractionMB
private

Definition at line 393 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theElectronicsIL
private

Definition at line 402 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theElectronicsMB
private

Definition at line 397 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theEnergy
private

Definition at line 391 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theEta
private

Definition at line 387 of file MaterialBudgetData.h.

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

double* MaterialBudgetData::theFinalX
private
double * MaterialBudgetData::theFinalY
private
double * MaterialBudgetData::theFinalZ
private
float * MaterialBudgetData::theH_ScintillatorDil
private
float * MaterialBudgetData::theH_ScintillatorDmb
private
float MaterialBudgetData::theH_ScintillatorFractionIL
private

Definition at line 404 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theH_ScintillatorFractionMB
private

Definition at line 399 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theH_ScintillatorIL
private
float MaterialBudgetData::theH_ScintillatorMB
private
int MaterialBudgetData::theID
private

Definition at line 390 of file MaterialBudgetData.h.

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

double* MaterialBudgetData::theInitialX
private
double * MaterialBudgetData::theInitialY
private
double * MaterialBudgetData::theInitialZ
private
float MaterialBudgetData::theIntLen
private

Definition at line 470 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and getIntLen().

float * MaterialBudgetData::theLeadDil
private
float * MaterialBudgetData::theLeadDmb
private
float MaterialBudgetData::theLeadFractionIL
private

Definition at line 404 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theLeadFractionMB
private

Definition at line 399 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theLeadIL
private

Definition at line 405 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theLeadMB
private

Definition at line 400 of file MaterialBudgetData.h.

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

float * MaterialBudgetData::theM_NEMA_FR4_plateDil
private
float * MaterialBudgetData::theM_NEMA_FR4_plateDmb
private
float MaterialBudgetData::theM_NEMA_FR4_plateFractionIL
private
float MaterialBudgetData::theM_NEMA_FR4_plateFractionMB
private
float MaterialBudgetData::theM_NEMA_FR4_plateIL
private
float MaterialBudgetData::theM_NEMA_FR4_plateMB
private
float MaterialBudgetData::theMass
private

Definition at line 392 of file MaterialBudgetData.h.

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

float* MaterialBudgetData::theMaterialDensity
private
int* MaterialBudgetData::theMaterialID
private
float* MaterialBudgetData::theMaterialLambda0
private
std::string* MaterialBudgetData::theMaterialName
private
float* MaterialBudgetData::theMaterialX0
private
float * MaterialBudgetData::theOtherDil
private
float * MaterialBudgetData::theOtherDmb
private
float MaterialBudgetData::theOtherFractionIL
private

Definition at line 395 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theOtherFractionMB
private

Definition at line 393 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theOtherIL
private

Definition at line 402 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theOtherMB
private

Definition at line 397 of file MaterialBudgetData.h.

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

float MaterialBudgetData::thePhi
private

Definition at line 387 of file MaterialBudgetData.h.

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

float MaterialBudgetData::thePt
private

Definition at line 389 of file MaterialBudgetData.h.

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

int MaterialBudgetData::thePVcopyNo
private

Definition at line 465 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and getPVcopyNo().

std::string MaterialBudgetData::thePVname
private

Definition at line 464 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and getPVname().

float MaterialBudgetData::theRadLen
private

Definition at line 469 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and getRadLen().

float * MaterialBudgetData::theSensitiveDil
private
float * MaterialBudgetData::theSensitiveDmb
private
float MaterialBudgetData::theSensitiveFractionIL
private

Definition at line 395 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theSensitiveFractionMB
private

Definition at line 393 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theSensitiveIL
private

Definition at line 402 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theSensitiveMB
private

Definition at line 397 of file MaterialBudgetData.h.

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

float * MaterialBudgetData::theSiliconDil
private
float * MaterialBudgetData::theSiliconDmb
private
float MaterialBudgetData::theSiliconFractionIL
private

Definition at line 404 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theSiliconFractionMB
private

Definition at line 399 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theSiliconIL
private

Definition at line 405 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theSiliconMB
private

Definition at line 400 of file MaterialBudgetData.h.

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

float * MaterialBudgetData::theStainlessSteelDil
private
float * MaterialBudgetData::theStainlessSteelDmb
private
float MaterialBudgetData::theStainlessSteelFractionIL
private

Definition at line 404 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theStainlessSteelFractionMB
private

Definition at line 399 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theStainlessSteelIL
private
float MaterialBudgetData::theStainlessSteelMB
private
float* MaterialBudgetData::theStepFinalBeta
private
float* MaterialBudgetData::theStepFinalEnergy
private
float* MaterialBudgetData::theStepFinalEta
private
float* MaterialBudgetData::theStepFinalGamma
private
float* MaterialBudgetData::theStepFinalMass
private
float* MaterialBudgetData::theStepFinalPhi
private
float* MaterialBudgetData::theStepFinalPt
private
float* MaterialBudgetData::theStepFinalPx
private
float* MaterialBudgetData::theStepFinalPy
private
float* MaterialBudgetData::theStepFinalPz
private
int* MaterialBudgetData::theStepID
private
float* MaterialBudgetData::theStepInitialBeta
private
float* MaterialBudgetData::theStepInitialEnergy
private
float* MaterialBudgetData::theStepInitialEta
private
float* MaterialBudgetData::theStepInitialGamma
private
float* MaterialBudgetData::theStepInitialMass
private
float* MaterialBudgetData::theStepInitialPhi
private
float* MaterialBudgetData::theStepInitialPt
private
float* MaterialBudgetData::theStepInitialPx
private
float* MaterialBudgetData::theStepInitialPy
private
float* MaterialBudgetData::theStepInitialPz
private
int MaterialBudgetData::theStepN
private

Definition at line 407 of file MaterialBudgetData.h.

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

int* MaterialBudgetData::theStepPostProcess
private
int* MaterialBudgetData::theStepPreProcess
private
float* MaterialBudgetData::theSupportDil
private
float* MaterialBudgetData::theSupportDmb
private
float MaterialBudgetData::theSupportFractionIL
private

Definition at line 395 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theSupportFractionMB
private

Definition at line 393 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theSupportIL
private

Definition at line 402 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theSupportMB
private

Definition at line 397 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theTotalIL
private

Definition at line 401 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theTotalMB
private

Definition at line 387 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theTrkLen
private

Definition at line 463 of file MaterialBudgetData.h.

Referenced by dataPerStep(), and getTrkLen().

int* MaterialBudgetData::theVolumeCopy
private
int* MaterialBudgetData::theVolumeID
private
std::string* MaterialBudgetData::theVolumeName
private
float* MaterialBudgetData::theVolumeX
private
float* MaterialBudgetData::theVolumeXaxis1
private
float* MaterialBudgetData::theVolumeXaxis2
private
float* MaterialBudgetData::theVolumeXaxis3
private
float* MaterialBudgetData::theVolumeY
private
float* MaterialBudgetData::theVolumeYaxis1
private
float* MaterialBudgetData::theVolumeYaxis2
private
float* MaterialBudgetData::theVolumeYaxis3
private
float* MaterialBudgetData::theVolumeZ
private
float* MaterialBudgetData::theVolumeZaxis1
private
float* MaterialBudgetData::theVolumeZaxis2
private
float* MaterialBudgetData::theVolumeZaxis3
private
float * MaterialBudgetData::theWCuDil
private
float * MaterialBudgetData::theWCuDmb
private
float MaterialBudgetData::theWCuFractionIL
private

Definition at line 404 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theWCuFractionMB
private

Definition at line 399 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theWCuIL
private

Definition at line 405 of file MaterialBudgetData.h.

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

float MaterialBudgetData::theWCuMB
private

Definition at line 400 of file MaterialBudgetData.h.

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