Public Member Functions | |
PrintMaterialBudgetInfo (edm::ParameterSet const &p) | |
~PrintMaterialBudgetInfo () override | |
Public Member Functions inherited from SimWatcher | |
virtual void | beginRun (edm::EventSetup const &) |
bool | isMT () const |
const SimWatcher & | operator= (const SimWatcher &)=delete |
virtual void | registerConsumes (edm::ConsumesCollector) |
SimWatcher () | |
SimWatcher (const SimWatcher &)=delete | |
virtual | ~SimWatcher () |
Public Member Functions inherited from Observer< const BeginOfJob *> | |
Observer () | |
void | slotForUpdate (const BeginOfJob * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const BeginOfRun *> | |
Observer () | |
void | slotForUpdate (const BeginOfRun * iT) |
virtual | ~Observer () |
Private Member Functions | |
void | dumpElementMassFraction (std::ostream &elementOut=G4cout) |
void | dumpHeader (std::ostream &out=G4cout) |
void | dumpHierarchyLeaf (G4VPhysicalVolume *pv, G4LogicalVolume *lv, unsigned int leafDepth, std::ostream &weightOut=G4cout, std::ostream &texOut=G4cout) |
void | dumpLaTeXFooter (std::ostream &out=G4cout) |
void | dumpLaTeXHeader (std::ostream &out=G4cout) |
void | printInfo (G4VPhysicalVolume *pv, G4LogicalVolume *lv, unsigned int leafDepth, std::ostream &weightOut=G4cout, std::ostream &texOut=G4cout) |
std::string | stringLaTeXSuperscript (std::string stringname) |
std::string | stringLaTeXUnderscore (std::string stringname) |
void | update (const BeginOfJob *job) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfRun *run) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
std::vector< std::string > | elementNames |
std::ofstream | elementOutputFile |
std::vector< double > | elementTotalWeight |
std::vector< double > | elementWeightFraction |
G4NavigationHistory | fHistory |
unsigned int | levelFound |
std::string | name |
int | nchar |
std::ofstream | texOutputFile |
mpvpv | thePVTree |
G4VPhysicalVolume * | theTopPV |
bool | volumeFound |
std::ofstream | weightOutputFile |
Additional Inherited Members | |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
Definition at line 40 of file PrintMaterialBudgetInfo.cc.
PrintMaterialBudgetInfo::PrintMaterialBudgetInfo | ( | edm::ParameterSet const & | p | ) |
Definition at line 84 of file PrintMaterialBudgetInfo.cc.
References elementNames, elementOutputFile, elementTotalWeight, elementWeightFraction, ecalTB2006H4_GenSimDigiReco_cfg::G4cout, name, nchar, AlCaHLTBitMon_ParallelJobs::p, AlCaHLTBitMon_QueryRunRegistry::string, texOutputFile, volumeFound, and weightOutputFile.
|
override |
Definition at line 104 of file PrintMaterialBudgetInfo.cc.
|
private |
Definition at line 288 of file PrintMaterialBudgetInfo.cc.
References mps_setup::append, elementNames, elementTotalWeight, elementWeightFraction, createfilelist::int, findQualityFiles::size, and generateEDF::totalWeight.
Referenced by update().
|
private |
Definition at line 131 of file PrintMaterialBudgetInfo.cc.
References MillePedeFileConverter_cfg::out.
Referenced by update().
|
private |
Definition at line 210 of file PrintMaterialBudgetInfo.cc.
References levelFound, name, nchar, printInfo(), MetAnalyzer::pv(), AlCaHLTBitMon_QueryRunRegistry::string, and volumeFound.
Referenced by update().
|
private |
Definition at line 205 of file PrintMaterialBudgetInfo.cc.
References MillePedeFileConverter_cfg::out.
Referenced by update().
|
private |
Definition at line 171 of file PrintMaterialBudgetInfo.cc.
References name, and MillePedeFileConverter_cfg::out.
Referenced by update().
|
private |
Definition at line 249 of file PrintMaterialBudgetInfo.cc.
References fastSimProducer_cff::density, elementNames, elementTotalWeight, createfilelist::int, MetAnalyzer::pv(), AlCaHLTBitMon_QueryRunRegistry::string, stringLaTeXSuperscript(), and stringLaTeXUnderscore().
Referenced by dumpHierarchyLeaf().
|
private |
Definition at line 338 of file PrintMaterialBudgetInfo.cc.
References mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by printInfo().
|
private |
Definition at line 323 of file PrintMaterialBudgetInfo.cc.
References mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by printInfo().
|
inlineoverrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob *>.
Definition at line 48 of file PrintMaterialBudgetInfo.cc.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun *>.
Definition at line 106 of file PrintMaterialBudgetInfo.cc.
References cms::cuda::assert(), dumpElementMassFraction(), dumpHeader(), dumpHierarchyLeaf(), dumpLaTeXFooter(), dumpLaTeXHeader(), elementNames, elementOutputFile, elementTotalWeight, elementWeightFraction, texOutputFile, theTopPV, and weightOutputFile.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 76 of file PrintMaterialBudgetInfo.cc.
Referenced by dumpElementMassFraction(), printInfo(), PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 74 of file PrintMaterialBudgetInfo.cc.
Referenced by PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 77 of file PrintMaterialBudgetInfo.cc.
Referenced by dumpElementMassFraction(), printInfo(), PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 78 of file PrintMaterialBudgetInfo.cc.
Referenced by dumpElementMassFraction(), PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 70 of file PrintMaterialBudgetInfo.cc.
|
private |
Definition at line 72 of file PrintMaterialBudgetInfo.cc.
Referenced by dumpHierarchyLeaf().
|
private |
Definition at line 66 of file PrintMaterialBudgetInfo.cc.
Referenced by dirstructure.Directory::__create_pie_image(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dirstructure.Comparison::__make_image(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.CFG::__str__(), dirstructure.Directory::calcStats(), validation.Sample::digest(), dumpHierarchyLeaf(), dumpLaTeXHeader(), utils.StatisticalTest::get_status(), VIDSelectorBase.VIDSelectorBase::initialize(), dirstructure.Directory::print_report(), and PrintMaterialBudgetInfo().
|
private |
Definition at line 67 of file PrintMaterialBudgetInfo.cc.
Referenced by dumpHierarchyLeaf(), and PrintMaterialBudgetInfo().
|
private |
Definition at line 75 of file PrintMaterialBudgetInfo.cc.
Referenced by PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 68 of file PrintMaterialBudgetInfo.cc.
|
private |
Definition at line 69 of file PrintMaterialBudgetInfo.cc.
Referenced by update().
|
private |
Definition at line 71 of file PrintMaterialBudgetInfo.cc.
Referenced by dumpHierarchyLeaf(), and PrintMaterialBudgetInfo().
|
private |
Definition at line 73 of file PrintMaterialBudgetInfo.cc.
Referenced by PrintMaterialBudgetInfo(), and update().