Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
TotemTestGem (const edm::ParameterSet &p) | |
~TotemTestGem () override | |
Public Member Functions inherited from SimProducer | |
const SimProducer & | operator= (const SimProducer &)=delete |
void | registerProducts (edm::ProducesCollector producesCollector) |
SimProducer () | |
SimProducer (const SimProducer &)=delete | |
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 EndOfEvent * > | |
Observer () | |
void | slotForUpdate (const EndOfEvent *iT) |
virtual | ~Observer () |
Protected Member Functions | |
void | update (const BeginOfEvent *evt) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfEvent *evt) override |
This routine will be called when the appropriate signal arrives. More... | |
Protected Member Functions inherited from SimProducer | |
template<class T > | |
void | produces () |
template<class T > | |
void | produces (const std::string &instanceName) |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
Private Member Functions | |
void | clear () |
void | fillEvent (TotemTestHistoClass &) |
Private Attributes | |
int | evtnum |
std::vector< TotemG4Hit * > | hits |
std::vector< std::string > | names |
Definition at line 46 of file TotemTestGem.cc.
TotemTestGem::TotemTestGem | ( | const edm::ParameterSet & | p | ) |
Definition at line 72 of file TotemTestGem.cc.
References edm::ParameterSet::getParameter(), and names.
|
override |
Definition at line 80 of file TotemTestGem.cc.
|
private |
|
private |
Definition at line 127 of file TotemTestGem.cc.
References evtnum, TotemTestHistoClass::fillHit(), TotemG4Hit::getEnergyLoss(), TotemG4Hit::getEntry(), TotemG4Hit::getPabs(), TotemG4Hit::getParentId(), TotemG4Hit::getParticleType(), TotemG4Hit::getTrackID(), TotemG4Hit::getUnitID(), TotemG4Hit::getVx(), TotemG4Hit::getVy(), TotemG4Hit::getVz(), hits, TotemTestHistoClass::setEVT(), SectorBuilder_Tid_cff::TID, x, y, and z.
Referenced by produce().
|
overridevirtual |
Implements SimProducer.
Definition at line 86 of file TotemTestGem.cc.
References fillEvent(), eostools::move(), and edm::Event::put().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 92 of file TotemTestGem.cc.
References clear(), iev, and LogDebug.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const EndOfEvent * >.
Definition at line 98 of file TotemTestGem.cc.
References evtnum, hits, recoMuon::in, LogDebug, and names.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 64 of file TotemTestGem.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 65 of file TotemTestGem.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 63 of file TotemTestGem.cc.
Referenced by TotemTestGem(), and update().