#include <StoreSecondary.h>
Public Member Functions | |
const StoreSecondary & | operator= (const StoreSecondary &)=delete |
void | produce (edm::Event &, const edm::EventSetup &) override |
StoreSecondary (const edm::ParameterSet &p) | |
StoreSecondary (const StoreSecondary &)=delete | |
~StoreSecondary () 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 BeginOfTrack *> | |
Observer () | |
void | slotForUpdate (const BeginOfTrack * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const G4Step *> | |
Observer () | |
void | slotForUpdate (const G4Step * iT) |
virtual | ~Observer () |
Private Member Functions | |
void | update (const BeginOfEvent *evt) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfTrack *trk) 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 | |
int | killAfter |
int | nHad |
std::vector< int > | nsecs |
std::vector< std::string > | procs |
std::vector< math::XYZTLorentzVector > | secondaries |
bool | storeIt |
TreatSecondary * | treatSecondary |
int | verbosity |
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 19 of file StoreSecondary.h.
StoreSecondary::StoreSecondary | ( | const edm::ParameterSet & | p | ) |
Definition at line 22 of file StoreSecondary.cc.
References AlCaHLTBitMon_ParallelJobs::p, and treatSecondary.
|
delete |
|
override |
|
delete |
|
overridevirtual |
Implements SimProducer.
Definition at line 36 of file StoreSecondary.cc.
References MillePedeFileConverter_cfg::e, mps_fire::i, LogDebug, eostools::move(), nsecs, procs, and secondaries.
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent *>.
Definition at line 57 of file StoreSecondary.cc.
References nsecs, procs, and secondaries.
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 BeginOfTrack *>.
Definition at line 63 of file StoreSecondary.cc.
References TreatSecondary::initTrack(), nHad, nsecs, storeIt, and treatSecondary.
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 73 of file StoreSecondary.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, EgHLTOffHistBins_cfi::deltaE, mps_fire::i, createfilelist::int, Skims_PA_cff::name, nHad, nsecs, procs, fileinputsource_cfi::sec, secondaries, storeIt, AlCaHLTBitMon_QueryRunRegistry::string, TreatSecondary::tracks(), DiMuonV_cfg::tracks, and treatSecondary.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 38 of file StoreSecondary.h.
|
private |
Definition at line 39 of file StoreSecondary.h.
Referenced by update().
|
private |
Definition at line 42 of file StoreSecondary.h.
|
private |
Definition at line 43 of file StoreSecondary.h.
|
private |
Definition at line 41 of file StoreSecondary.h.
|
private |
Definition at line 40 of file StoreSecondary.h.
Referenced by update().
|
private |
Definition at line 44 of file StoreSecondary.h.
Referenced by StoreSecondary(), update(), and ~StoreSecondary().
|
private |
Definition at line 38 of file StoreSecondary.h.