Go to the documentation of this file. 1 #ifndef SimG4CorePrintGeomInfo_PrintMaterialBudgetInfo_H
2 #define SimG4CorePrintGeomInfo_PrintMaterialBudgetInfo_H
8 #include "G4NavigationHistory.hh"
17 class G4LogicalVolume;
18 class G4VPhysicalVolume;
21 typedef std::map<G4VPhysicalVolume*, G4VPhysicalVolume*, std::less<G4VPhysicalVolume*> >
mpvpv;
22 typedef std::multimap<G4LogicalVolume*, G4VPhysicalVolume*, std::less<G4LogicalVolume*> >
mmlvpv;
38 unsigned int leafDepth,
43 unsigned int leafDepth,
std::multimap< G4LogicalVolume *, G4VPhysicalVolume *, std::less< G4LogicalVolume * > > mmlvpv
std::ofstream texOutputFile
~PrintMaterialBudgetInfo() override
void dumpElementMassFraction(std::ostream &elementOut=std::cout)
std::vector< std::string > elementNames
std::map< G4VPhysicalVolume *, G4VPhysicalVolume *, std::less< G4VPhysicalVolume * > > mpvpv
void printInfo(G4VPhysicalVolume *pv, G4LogicalVolume *lv, unsigned int leafDepth, std::ostream &weightOut=std::cout, std::ostream &texOut=std::cout)
PrintMaterialBudgetInfo(edm::ParameterSet const &p)
std::vector< double > elementTotalWeight
std::vector< double > elementWeightFraction
void dumpHierarchyLeaf(G4VPhysicalVolume *pv, G4LogicalVolume *lv, unsigned int leafDepth, std::ostream &weightOut=std::cout, std::ostream &texOut=std::cout)
void dumpLaTeXFooter(std::ostream &out=std::cout)
G4VPhysicalVolume * theTopPV
std::ofstream elementOutputFile
G4NavigationHistory fHistory
std::string stringLaTeXSuperscript(std::string stringname)
void dumpHeader(std::ostream &out=std::cout)
void update(const BeginOfJob *job) override
This routine will be called when the appropriate signal arrives.
std::string stringLaTeXUnderscore(std::string stringname)
void dumpLaTeXHeader(std::ostream &out=std::cout)
std::ofstream weightOutputFile