#include <MaterialBudgetAction.h>
Public Member Functions | |
MaterialBudgetAction (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) |
virtual | ~MaterialBudgetAction () |
Public Member Functions inherited from SimProducer | |
void | registerProducts (edm::EDProducer &iProd) |
SimProducer () | |
Public Member Functions inherited from SimWatcher | |
SimWatcher () | |
virtual | ~SimWatcher () |
Public Member Functions inherited from Observer< const BeginOfRun * > | |
Observer () | |
void | slotForUpdate (const BeginOfRun *iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const BeginOfTrack * > | |
Observer () | |
void | slotForUpdate (const BeginOfTrack *iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const G4Step * > | |
Observer () | |
void | slotForUpdate (const G4Step *iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const EndOfTrack * > | |
Observer () | |
void | slotForUpdate (const EndOfTrack *iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const EndOfEvent * > | |
Observer () | |
void | slotForUpdate (const EndOfEvent *iT) |
virtual | ~Observer () |
Private Member Functions | |
bool | CheckTouchableInSelectedVolumes (const G4VTouchable *touch) |
void | endRun () |
std::string | getPartName (G4StepPoint *aStepPoint) |
std::string | getSubDetectorName (G4StepPoint *aStepPoint) |
void | initRun () |
MaterialBudgetAction (const MaterialBudgetAction &) | |
const MaterialBudgetAction & | operator= (const MaterialBudgetAction &) |
void | processEvent (unsigned int nEv) |
void | save (const G4Step *aStep) |
bool | StopAfterProcess (const G4Step *aStep) |
void | update (const BeginOfRun *) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfTrack *) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfTrack *) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfEvent *) |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
double | Ekin |
bool | firstParticle |
bool | saveToHistos |
bool | saveToTree |
bool | saveToTxt |
bool | storeDecay |
MaterialBudgetData * | theData |
std::string | theHistoList |
TestHistoMgr * | theHistoMgr |
MaterialBudgetFormat * | theHistos |
G4String | theProcessToStop |
MaterialBudgetTree * | theTree |
MaterialBudgetTxt * | theTxt |
std::vector< G4String > | theVolumeList |
Additional Inherited Members | |
Protected Member Functions inherited from SimProducer | |
template<class T > | |
void | produces () |
template<class T > | |
void | produces (const std::string &instanceName) |
Definition at line 29 of file MaterialBudgetAction.h.
MaterialBudgetAction::MaterialBudgetAction | ( | const edm::ParameterSet & | iPSet | ) |
Definition at line 31 of file MaterialBudgetAction.cc.
References gather_cfg::cout, Ekin, firstParticle, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), saveToHistos, saveToTree, saveToTxt, MaterialBudgetData::SetAllStepsToTree(), storeDecay, theData, theHistoList, theHistoMgr, theHistos, theProcessToStop, theTree, theTxt, and theVolumeList.
|
virtual |
Definition at line 125 of file MaterialBudgetAction.cc.
References saveToHistos, saveToTree, saveToTxt, theData, theHistoMgr, theHistos, theTree, and theTxt.
|
private |
|
private |
Definition at line 337 of file MaterialBudgetAction.cc.
References theVolumeList.
Referenced by update().
|
private |
Definition at line 331 of file MaterialBudgetAction.cc.
|
private |
Definition at line 294 of file MaterialBudgetAction.cc.
|
private |
Definition at line 279 of file MaterialBudgetAction.cc.
|
private |
|
private |
|
private |
|
virtual |
|
private |
|
private |
Definition at line 355 of file MaterialBudgetAction.cc.
References gather_cfg::cout, NULL, and theProcessToStop.
Referenced by update().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 142 of file MaterialBudgetAction.cc.
References ExpressReco_HICollisions_FallBack::cerr, theProcessToStop, and theVolumeList.
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 BeginOfTrack * >.
Definition at line 196 of file MaterialBudgetAction.cc.
References gather_cfg::cout, MaterialBudgetData::dataStartTrack(), Ekin, MaterialBudgetFormat::fillStartTrack(), MaterialBudgetTxt::fillStartTrack(), MaterialBudgetTree::fillStartTrack(), firstParticle, saveToHistos, saveToTree, saveToTxt, storeDecay, theData, theHistos, theTree, and theTxt.
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 G4Step * >.
Definition at line 251 of file MaterialBudgetAction.cc.
References CheckTouchableInSelectedVolumes(), MaterialBudgetData::dataPerStep(), MaterialBudgetFormat::fillPerStep(), MaterialBudgetTxt::fillPerStep(), MaterialBudgetTree::fillPerStep(), saveToHistos, saveToTree, saveToTxt, StopAfterProcess(), theData, theHistos, theTree, theTxt, theVolumeList, and ExpressReco_HICollisions_FallBack::track.
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 EndOfTrack * >.
Definition at line 311 of file MaterialBudgetAction.cc.
References MaterialBudgetData::dataEndTrack(), and theData.
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 EndOfEvent * >.
Definition at line 322 of file MaterialBudgetAction.cc.
References MaterialBudgetFormat::fillEndTrack(), MaterialBudgetTxt::fillEndTrack(), MaterialBudgetTree::fillEndTrack(), saveToHistos, saveToTree, saveToTxt, theHistos, theTree, and theTxt.
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 72 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 73 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 70 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), update(), and ~MaterialBudgetAction().
|
private |
Definition at line 70 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), update(), and ~MaterialBudgetAction().
|
private |
Definition at line 70 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), update(), and ~MaterialBudgetAction().
|
private |
Definition at line 71 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 65 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), update(), and ~MaterialBudgetAction().
|
private |
Definition at line 77 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction().
|
private |
Definition at line 69 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and ~MaterialBudgetAction().
|
private |
Definition at line 67 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), update(), and ~MaterialBudgetAction().
|
private |
Definition at line 76 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), StopAfterProcess(), and update().
|
private |
Definition at line 66 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), update(), and ~MaterialBudgetAction().
|
private |
Definition at line 68 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), update(), and ~MaterialBudgetAction().
|
private |
Definition at line 75 of file MaterialBudgetAction.h.
Referenced by CheckTouchableInSelectedVolumes(), MaterialBudgetAction(), and update().