Public Member Functions | |
HGCPassive (const edm::ParameterSet &p) | |
HGCPassive (const HGCPassive &)=delete | |
const HGCPassive & | operator= (const HGCPassive &)=delete |
void | produce (edm::Event &, const edm::EventSetup &) override |
~HGCPassive () 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 BeginOfRun *> | |
Observer () | |
void | slotForUpdate (const BeginOfRun * iT) |
virtual | ~Observer () |
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 () |
Private Types | |
typedef std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > >::iterator | volumeIterator |
Private Member Functions | |
void | endOfEvent (edm::PassiveHitContainer &hgcPH, unsigned int k) |
volumeIterator | findLV (G4LogicalVolume *plv) |
G4VPhysicalVolume * | getTopPV () |
void | storeInfo (const volumeIterator itr, G4LogicalVolume *plv, unsigned int copy, double time, double energy, bool flag) |
void | update (const BeginOfRun *run) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfEvent *evt) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *step) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
const int | addlevel_ |
unsigned int | count_ |
bool | init_ |
const std::vector< std::string > | LVNames_ |
const edm::ParameterSet | m_Passive |
std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > > | mapLV_ |
const std::string | motherName_ |
std::map< std::pair< G4LogicalVolume *, unsigned int >, std::array< double, 3 > > | store_ |
G4LogicalVolume * | topLV_ |
G4VPhysicalVolume * | topPV_ |
Additional Inherited Members | |
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) |
Definition at line 36 of file HGCPassive.cc.
|
private |
Definition at line 57 of file HGCPassive.cc.
HGCPassive::HGCPassive | ( | const edm::ParameterSet & | p | ) |
Definition at line 78 of file HGCPassive.cc.
References addlevel_, dqmdumpme::k, LVNames_, motherName_, and Skims_PA_cff::name.
|
delete |
|
override |
Definition at line 100 of file HGCPassive.cc.
|
private |
Definition at line 214 of file HGCPassive.cc.
References first, dqmdumpme::k, mapLV_, and store_.
Referenced by produce().
|
private |
Definition at line 239 of file HGCPassive.cc.
References dqmdumpme::k, LVNames_, mapLV_, motherName_, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and topLV_.
Referenced by update().
|
private |
Definition at line 235 of file HGCPassive.cc.
Referenced by update().
|
delete |
|
overridevirtual |
Implements SimProducer.
Definition at line 102 of file HGCPassive.cc.
References MillePedeFileConverter_cfg::e, endOfEvent(), dqmdumpme::k, LVNames_, and eostools::move().
|
private |
Definition at line 258 of file HGCPassive.cc.
References filterCSVwithJSON::copy, HCALHighEnergyHPDFilter_cfi::energy, first, RemoveAddSevLevel::flag, crabWrapper::key, store_, and protons_cff::time.
Referenced by update().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun *>.
Definition at line 110 of file HGCPassive.cc.
References findLV(), first, getTopPV(), init_, dqmdumpme::k, mapLV_, and topPV_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent *>.
Definition at line 134 of file HGCPassive.cc.
References count_, iev, and store_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step *>.
Definition at line 144 of file HGCPassive.cc.
References filterCSVwithJSON::copy, HCALHighEnergyHPDFilter_cfi::energy, findLV(), mps_fire::i, init_, personalPlayback::level, mapLV_, storeInfo(), AlCaHLTBitMon_QueryRunRegistry::string, protons_cff::time, and topLV_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 67 of file HGCPassive.cc.
Referenced by HGCPassive().
|
private |
Definition at line 73 of file HGCPassive.cc.
Referenced by update().
|
private |
Definition at line 74 of file HGCPassive.cc.
Referenced by update().
|
private |
Definition at line 65 of file HGCPassive.cc.
Referenced by findLV(), HGCPassive(), and produce().
|
private |
Definition at line 64 of file HGCPassive.cc.
|
private |
Definition at line 70 of file HGCPassive.cc.
Referenced by endOfEvent(), findLV(), and update().
|
private |
Definition at line 66 of file HGCPassive.cc.
Referenced by findLV(), and HGCPassive().
|
private |
Definition at line 75 of file HGCPassive.cc.
Referenced by endOfEvent(), storeInfo(), and update().
|
private |
Definition at line 69 of file HGCPassive.cc.
|
private |
Definition at line 68 of file HGCPassive.cc.
Referenced by update().