#include <MaterialBudgetAction.h>
Public Member Functions | |
MaterialBudgetAction (const edm::ParameterSet &) | |
~MaterialBudgetAction () 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 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 EndOfRun *> | |
Observer () | |
void | slotForUpdate (const EndOfRun * iT) |
virtual | ~Observer () |
Private Member Functions | |
bool | CheckTouchableInSelectedVolumes (const G4VTouchable *touch) |
std::string | getPartName (G4StepPoint *aStepPoint) |
std::string | getSubDetectorName (G4StepPoint *aStepPoint) |
MaterialBudgetAction (const MaterialBudgetAction &) | |
const MaterialBudgetAction & | operator= (const MaterialBudgetAction &) |
void | save (const G4Step *aStep) |
bool | StopAfterProcess (const G4Step *aStep) |
void | update (const BeginOfRun *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfTrack *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfTrack *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfRun *) override |
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 |
std::shared_ptr< MaterialBudgetData > | theData |
std::string | theHistoList |
std::shared_ptr< TestHistoMgr > | theHistoMgr |
std::shared_ptr< MaterialBudgetFormat > | theHistos |
G4String | theProcessToStop |
std::shared_ptr< MaterialBudgetTree > | theTree |
std::shared_ptr< MaterialBudgetTxt > | theTxt |
std::vector< G4String > | theVolumeList |
Additional Inherited Members | |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
Definition at line 33 of file MaterialBudgetAction.h.
MaterialBudgetAction::MaterialBudgetAction | ( | const edm::ParameterSet & | iPSet | ) |
Definition at line 33 of file MaterialBudgetAction.cc.
References Ekin, firstParticle, edm::ParameterSet::getParameter(), LogDebug, saveToHistos, saveToTree, saveToTxt, storeDecay, AlCaHLTBitMon_QueryRunRegistry::string, theData, theHistoList, theHistoMgr, theHistos, theProcessToStop, theTree, theTxt, and theVolumeList.
|
override |
Definition at line 145 of file MaterialBudgetAction.cc.
|
private |
|
private |
Definition at line 325 of file MaterialBudgetAction.cc.
References spr::find(), cuy::ii, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and theVolumeList.
Referenced by update().
|
private |
Definition at line 285 of file MaterialBudgetAction.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 273 of file MaterialBudgetAction.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
|
private |
|
private |
Definition at line 336 of file MaterialBudgetAction.cc.
References theProcessToStop.
Referenced by update().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun *>.
Definition at line 148 of file MaterialBudgetAction.cc.
References cuy::ii, findQualityFiles::jj, AlCaHLTBitMon_QueryRunRegistry::string, theProcessToStop, and theVolumeList.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfTrack *>.
Definition at line 195 of file MaterialBudgetAction.cc.
References Ekin, firstParticle, LogDebug, saveToHistos, saveToTree, saveToTxt, storeDecay, theData, theHistos, theTree, and theTxt.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step *>.
Definition at line 247 of file MaterialBudgetAction.cc.
References CheckTouchableInSelectedVolumes(), saveToHistos, saveToTree, saveToTxt, StopAfterProcess(), theData, theHistos, theTree, theTxt, theVolumeList, and HLT_2023v12_cff::track.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const EndOfTrack *>.
Definition at line 297 of file MaterialBudgetAction.cc.
References saveToHistos, saveToTree, saveToTxt, theData, theHistos, theTree, and theTxt.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const EndOfRun *>.
Definition at line 310 of file MaterialBudgetAction.cc.
References saveToHistos, saveToTree, saveToTxt, theHistos, and theTree.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 69 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 70 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 67 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 67 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 67 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 68 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 61 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 74 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction().
|
private |
Definition at line 65 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction().
|
private |
Definition at line 63 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 73 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), StopAfterProcess(), and update().
|
private |
Definition at line 62 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 64 of file MaterialBudgetAction.h.
Referenced by MaterialBudgetAction(), and update().
|
private |
Definition at line 72 of file MaterialBudgetAction.h.
Referenced by CheckTouchableInSelectedVolumes(), MaterialBudgetAction(), and update().