#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, edm::ParameterSet::getUntrackedParameter(), name, nchar, AlCaHLTBitMon_QueryRunRegistry::string, texOutputFile, volumeFound, and weightOutputFile.
|
override |
Definition at line 52 of file PrintMaterialBudgetInfo.cc.
|
private |
Definition at line 224 of file PrintMaterialBudgetInfo.cc.
References mps_setup::append, elementNames, elementTotalWeight, elementWeightFraction, createfilelist::int, and findQualityFiles::size.
Referenced by update().
|
private |
|
private |
Definition at line 134 of file PrintMaterialBudgetInfo.cc.
References levelFound, name, nchar, printInfo(), AlCaHLTBitMon_QueryRunRegistry::string, and volumeFound.
Referenced by update().
|
private |
|
private |
|
private |
Definition at line 176 of file PrintMaterialBudgetInfo.cc.
References elementNames, elementTotalWeight, createfilelist::int, AlCaHLTBitMon_QueryRunRegistry::string, stringLaTeXSuperscript(), and stringLaTeXUnderscore().
Referenced by dumpHierarchyLeaf(), and update().
|
private |
Definition at line 274 of file PrintMaterialBudgetInfo.cc.
References mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by printInfo().
|
private |
Definition at line 258 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.
References gather_cfg::cout, dumpElementMassFraction(), dumpHeader(), dumpHierarchyLeaf(), dumpLaTeXFooter(), dumpLaTeXHeader(), MillePedeFileConverter_cfg::out, printInfo(), MetAnalyzer::pv(), and findQualityFiles::run.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 54 of file PrintMaterialBudgetInfo.cc.
References dumpElementMassFraction(), dumpHeader(), dumpHierarchyLeaf(), dumpLaTeXFooter(), dumpLaTeXHeader(), elementNames, elementOutputFile, elementTotalWeight, elementWeightFraction, texOutputFile, theTopPV, and weightOutputFile.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 54 of file PrintMaterialBudgetInfo.h.
Referenced by dumpElementMassFraction(), printInfo(), PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 52 of file PrintMaterialBudgetInfo.h.
Referenced by PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 55 of file PrintMaterialBudgetInfo.h.
Referenced by dumpElementMassFraction(), printInfo(), PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 56 of file PrintMaterialBudgetInfo.h.
Referenced by dumpElementMassFraction(), PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 48 of file PrintMaterialBudgetInfo.h.
|
private |
Definition at line 50 of file PrintMaterialBudgetInfo.h.
Referenced by dumpHierarchyLeaf().
|
private |
Definition at line 44 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(), PrintMaterialBudgetInfo(), and Vispa.Views.PropertyView.Property::valueChanged().
|
private |
Definition at line 45 of file PrintMaterialBudgetInfo.h.
Referenced by dumpHierarchyLeaf(), and PrintMaterialBudgetInfo().
|
private |
Definition at line 53 of file PrintMaterialBudgetInfo.h.
Referenced by PrintMaterialBudgetInfo(), and update().
|
private |
Definition at line 46 of file PrintMaterialBudgetInfo.h.
|
private |
Definition at line 47 of file PrintMaterialBudgetInfo.h.
Referenced by update().
|
private |
Definition at line 49 of file PrintMaterialBudgetInfo.h.
Referenced by dumpHierarchyLeaf(), and PrintMaterialBudgetInfo().
|
private |
Definition at line 51 of file PrintMaterialBudgetInfo.h.
Referenced by PrintMaterialBudgetInfo(), and update().