#include <PrintMaterialBudgetInfo.h>
Public Member Functions | |
PrintMaterialBudgetInfo (edm::ParameterSet const &p) | |
~PrintMaterialBudgetInfo () | |
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) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfRun *run) |
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, texOutputFile, volumeFound, and weightOutputFile.
PrintMaterialBudgetInfo::~PrintMaterialBudgetInfo | ( | ) |
Definition at line 52 of file PrintMaterialBudgetInfo.cc.
|
private |
Definition at line 222 of file PrintMaterialBudgetInfo.cc.
References python.multivaluedict::append(), elementNames, elementTotalWeight, elementWeightFraction, and findQualityFiles::size.
Referenced by update().
|
private |
|
private |
Definition at line 132 of file PrintMaterialBudgetInfo.cc.
References levelFound, name, nchar, printInfo(), and volumeFound.
Referenced by update().
|
private |
|
private |
|
private |
Definition at line 174 of file PrintMaterialBudgetInfo.cc.
References elementNames, elementTotalWeight, stringLaTeXSuperscript(), stringLaTeXUnderscore(), and CommonMethods::weight().
Referenced by dumpHierarchyLeaf().
|
private |
|
private |
|
inlineprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 32 of file PrintMaterialBudgetInfo.h.
Referenced by python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
privatevirtual |
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 python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.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 dumpHierarchyLeaf(), dumpLaTeXHeader(), PrintMaterialBudgetInfo(), and python.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().