Public Member Functions | |
const SimG4FluxProducer & | operator= (const SimG4FluxProducer &)=delete |
void | produce (edm::Event &, const edm::EventSetup &) override |
SimG4FluxProducer (const edm::ParameterSet &p) | |
SimG4FluxProducer (const SimG4FluxProducer &)=delete | |
~SimG4FluxProducer () 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 Member Functions | |
void | endOfEvent (ParticleFlux &pflx, unsigned int k) |
std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > >::iterator | findLV (G4LogicalVolume *plv) |
G4VPhysicalVolume * | getTopPV () |
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 | |
unsigned int | count_ |
bool | init_ |
std::vector< std::string > | LVNames_ |
std::vector< int > | LVTypes_ |
std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > > | mapLV_ |
std::map< std::pair< G4LogicalVolume *, unsigned int >, ParticleFlux > | store_ |
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 35 of file SimG4FluxProducer.cc.
SimG4FluxProducer::SimG4FluxProducer | ( | const edm::ParameterSet & | p | ) |
Definition at line 68 of file SimG4FluxProducer.cc.
References edm::ParameterSet::getUntrackedParameter(), dqmdumpme::k, LVNames_, LVTypes_, and AlCaHLTBitMon_ParallelJobs::p.
|
delete |
|
override |
Definition at line 82 of file SimG4FluxProducer.cc.
|
private |
Definition at line 171 of file SimG4FluxProducer.cc.
References fileCollector::done, first, ParticleFlux::getComponents(), ParticleFlux::getFlux(), ParticleFlux::getId(), ParticleFlux::getName(), dqmdumpme::k, mapLV_, and store_.
Referenced by produce().
|
private |
Definition at line 203 of file SimG4FluxProducer.cc.
References dqmdumpme::k, LVNames_, mapLV_, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by update().
|
private |
Definition at line 199 of file SimG4FluxProducer.cc.
Referenced by update().
|
delete |
|
overridevirtual |
Implements SimProducer.
Definition at line 84 of file SimG4FluxProducer.cc.
References MillePedeFileConverter_cfg::e, endOfEvent(), dqmdumpme::k, LVNames_, eostools::move(), Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun *>.
Definition at line 96 of file SimG4FluxProducer.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 122 of file SimG4FluxProducer.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 129 of file SimG4FluxProducer.cc.
References filterCSVwithJSON::copy, findLV(), first, ParticleFlux::flux::hitPoint, init_, createfilelist::int, crabWrapper::key, LVTypes_, mapLV_, ParticleFlux::flux::momentum, EgammaValidation_cff::pdgid, store_, protons_cff::time, HLT_2022v15_cff::track, and ParticleFlux::flux::vertex.
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 SimG4FluxProducer.cc.
Referenced by update().
|
private |
Definition at line 64 of file SimG4FluxProducer.cc.
Referenced by update().
|
private |
Definition at line 57 of file SimG4FluxProducer.cc.
Referenced by findLV(), produce(), and SimG4FluxProducer().
|
private |
Definition at line 58 of file SimG4FluxProducer.cc.
Referenced by SimG4FluxProducer(), and update().
|
private |
Definition at line 60 of file SimG4FluxProducer.cc.
Referenced by endOfEvent(), findLV(), and update().
|
private |
Definition at line 65 of file SimG4FluxProducer.cc.
Referenced by endOfEvent(), and update().
|
private |
Definition at line 59 of file SimG4FluxProducer.cc.
Referenced by update().