Public Member Functions | |
EcalTBH4Trigger (const edm::ParameterSet &pSet) | |
void | update (const BeginOfEvent *anEvent) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *iStep) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfEvent *anEvent) override |
This routine will be called when the appropriate signal arrives. More... | |
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 BeginOfEvent *> | |
Observer () | |
void | slotForUpdate (const BeginOfEvent * 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 EndOfEvent *> | |
Observer () | |
void | slotForUpdate (const EndOfEvent * iT) |
virtual | ~Observer () |
Private Attributes | |
bool | m_passedTrg1 |
bool | m_passedTrg3 |
bool | m_passedTrg4 |
bool | m_passedTrg5 |
bool | m_passedTrg6 |
bool | m_verbose |
int | nTriggeredEvents_ |
int | trigEvents_ |
Additional Inherited Members | |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
SimG4Core/HelpfulWatchers/interface/EcalTBH4Trigger.h
Description: Simulates ECALTBH4 trigger an throw exception in case of non triggering event
Usage: <usage>
Definition at line 40 of file EcalTBH4Trigger.cc.
|
inline |
Definition at line 45 of file EcalTBH4Trigger.cc.
|
overridevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent *>.
Definition at line 72 of file EcalTBH4Trigger.cc.
References m_passedTrg1, m_passedTrg3, m_passedTrg4, m_passedTrg5, and m_passedTrg6.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overridevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step *>.
Definition at line 80 of file EcalTBH4Trigger.cc.
References cuy::ii, m_passedTrg1, m_passedTrg3, m_passedTrg4, m_passedTrg5, m_passedTrg6, m_verbose, nTriggeredEvents_, and trigEvents_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overridevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const EndOfEvent *>.
Definition at line 139 of file EcalTBH4Trigger.cc.
References nTriggeredEvents_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 63 of file EcalTBH4Trigger.cc.
Referenced by update().
|
private |
Definition at line 64 of file EcalTBH4Trigger.cc.
Referenced by update().
|
private |
Definition at line 65 of file EcalTBH4Trigger.cc.
Referenced by update().
|
private |
Definition at line 66 of file EcalTBH4Trigger.cc.
Referenced by update().
|
private |
Definition at line 67 of file EcalTBH4Trigger.cc.
Referenced by update().
|
private |
Definition at line 62 of file EcalTBH4Trigger.cc.
Referenced by update().
|
private |
Definition at line 68 of file EcalTBH4Trigger.cc.
Referenced by update().
|
private |
Definition at line 69 of file EcalTBH4Trigger.cc.
Referenced by update().