#include <SimG4CMS/Forward/interface/TotemTestGem.h>
Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
TotemTestGem (const edm::ParameterSet &p) | |
~TotemTestGem () override | |
Public Member Functions inherited from SimProducer | |
void | registerProducts (edm::ProducesCollector producesCollector) |
SimProducer () | |
Public Member Functions inherited from SimWatcher | |
SimWatcher () | |
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) |
Private Member Functions | |
void | clear () |
void | fillEvent (TotemTestHistoClass &) |
Private Attributes | |
int | evtnum |
std::vector< TotemG4Hit * > | hits |
std::vector< std::string > | names |
Description: Manages Root file creation for Totem Tests
Usage: Used in testing Totem simulation
Definition at line 40 of file TotemTestGem.h.
TotemTestGem::TotemTestGem | ( | const edm::ParameterSet & | p | ) |
Definition at line 38 of file TotemTestGem.cc.
References edm::ParameterSet::getParameter(), names, and AlCaHLTBitMon_ParallelJobs::p.
|
override |
Definition at line 46 of file TotemTestGem.cc.
|
private |
|
private |
Definition at line 93 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 52 of file TotemTestGem.cc.
References MillePedeFileConverter_cfg::e, fillEvent(), and eostools::move().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 58 of file TotemTestGem.cc.
References clear(), 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 64 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 59 of file TotemTestGem.h.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 60 of file TotemTestGem.h.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 58 of file TotemTestGem.h.
Referenced by TotemTestGem(), and update().