#include <PrintMaterialBudgetInfo.h>
Public Member Functions | |
PrintMaterialBudgetInfo (edm::ParameterSet const &p) | |
~PrintMaterialBudgetInfo () override | |
Public Member Functions inherited from SimWatcher | |
SimWatcher () | |
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=std::cout) |
void | dumpHeader (std::ostream &out=std::cout) |
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) |
void | dumpLaTeXHeader (std::ostream &out=std::cout) |
void | printInfo (G4VPhysicalVolume *pv, G4LogicalVolume *lv, unsigned int leafDepth, std::ostream &weightOut=std::cout, std::ostream &texOut=std::cout) |
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 |
Definition at line 24 of file PrintMaterialBudgetInfo.h.
PrintMaterialBudgetInfo::PrintMaterialBudgetInfo | ( | edm::ParameterSet const & | p | ) |
Definition at line 32 of file PrintMaterialBudgetInfo.cc.
References gather_cfg::cout, elementNames, elementOutputFile, elementTotalWeight, elementWeightFraction, name, nchar, AlCaHLTBitMon_ParallelJobs::p, AlCaHLTBitMon_QueryRunRegistry::string, texOutputFile, volumeFound, and weightOutputFile.
|
override |
Definition at line 52 of file PrintMaterialBudgetInfo.cc.
|
private |
Definition at line 242 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 79 of file PrintMaterialBudgetInfo.cc.
References MillePedeFileConverter_cfg::out.
Referenced by update().
|
private |
Definition at line 164 of file PrintMaterialBudgetInfo.cc.
References levelFound, name, nchar, printInfo(), MetAnalyzer::pv(), AlCaHLTBitMon_QueryRunRegistry::string, and volumeFound.
Referenced by update().
|
private |
Definition at line 157 of file PrintMaterialBudgetInfo.cc.
References MillePedeFileConverter_cfg::out.
Referenced by update().
|
private |
Definition at line 119 of file PrintMaterialBudgetInfo.cc.
References name, and MillePedeFileConverter_cfg::out.
Referenced by update().
|
private |
Definition at line 203 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 292 of file PrintMaterialBudgetInfo.cc.
References mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by printInfo().
|
private |
Definition at line 277 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 32 of file PrintMaterialBudgetInfo.h.
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 54 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 60 of file PrintMaterialBudgetInfo.h.
Referenced by dumpElementMassFraction(), printInfo(), PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 58 of file PrintMaterialBudgetInfo.h.
Referenced by PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 61 of file PrintMaterialBudgetInfo.h.
Referenced by dumpElementMassFraction(), printInfo(), PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 62 of file PrintMaterialBudgetInfo.h.
Referenced by dumpElementMassFraction(), PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 54 of file PrintMaterialBudgetInfo.h.
|
private |
Definition at line 56 of file PrintMaterialBudgetInfo.h.
Referenced by dumpHierarchyLeaf().
|
private |
Definition at line 50 of file PrintMaterialBudgetInfo.h.
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 51 of file PrintMaterialBudgetInfo.h.
Referenced by dumpHierarchyLeaf(), and PrintMaterialBudgetInfo().
|
private |
Definition at line 59 of file PrintMaterialBudgetInfo.h.
Referenced by PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 52 of file PrintMaterialBudgetInfo.h.
|
private |
Definition at line 53 of file PrintMaterialBudgetInfo.h.
Referenced by update().
|
private |
Definition at line 55 of file PrintMaterialBudgetInfo.h.
Referenced by dumpHierarchyLeaf(), and PrintMaterialBudgetInfo().
|
private |
Definition at line 57 of file PrintMaterialBudgetInfo.h.
Referenced by PrintMaterialBudgetInfo(), and update().