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 void printInfo(G4VPhysicalVolume*
pv, G4LogicalVolume* lv,
unsigned int leafDepth,
std::multimap< G4LogicalVolume *, G4VPhysicalVolume *, std::less< G4LogicalVolume * > > mmlvpv
std::vector< std::string > elementNames
std::vector< double > elementWeightFraction
std::vector< double > elementTotalWeight
~PrintMaterialBudgetInfo()
void dumpElementMassFraction(std::ostream &elementOut=std::cout)
void dumpHierarchyLeaf(G4VPhysicalVolume *pv, G4LogicalVolume *lv, unsigned int leafDepth, std::ostream &weightOut=std::cout, std::ostream &texOut=std::cout)
void printInfo(G4VPhysicalVolume *pv, G4LogicalVolume *lv, unsigned int leafDepth, std::ostream &weightOut=std::cout, std::ostream &texOut=std::cout)
G4NavigationHistory fHistory
PrintMaterialBudgetInfo(edm::ParameterSet const &p)
std::map< G4VPhysicalVolume *, G4VPhysicalVolume *, std::less< G4VPhysicalVolume * > > mpvpv
void dumpLaTeXFooter(std::ostream &out=std::cout)
G4VPhysicalVolume * theTopPV
std::ofstream weightOutputFile
std::ofstream elementOutputFile
std::string stringLaTeXSuperscript(std::string stringname)
void dumpHeader(std::ostream &out=std::cout)
void update(const BeginOfJob *job)
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 texOutputFile