Public Member Functions | |
void | addSignals (const edm::Event &e, const edm::EventSetup &ES) override |
void | beginLuminosityBlock (LuminosityBlock const &l1, EventSetup const &c) override |
void | beginRun (edm::Run const &run, edm::EventSetup const &eventSetup) override |
void | checkSignal (const edm::Event &e) override |
void | createnewEDProduct () override |
void | doPileUp (edm::Event &e, const edm::EventSetup &ES) override |
void | endLuminosityBlock (LuminosityBlock const &l1, EventSetup const &c) override |
void | endRun (const edm::Run &r, const edm::EventSetup &setup) override |
void | initializeEvent (edm::Event const &e, edm::EventSetup const &eventSetup) override |
PreMixingModule (const edm::ParameterSet &ps, MixingCache::Config const *globalConf) | |
void | put (edm::Event &e, const edm::EventSetup &ES) override |
~PreMixingModule () override=default | |
Public Member Functions inherited from edm::BMixingModule | |
virtual void | addPileups (const int bcr, EventPrincipal *ep, unsigned int eventId, unsigned int worker, const edm::EventSetup &c) |
double | averageNumber () const |
void | beginLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &setup) override |
void | beginRun (const edm::Run &r, const edm::EventSetup &setup) override |
BMixingModule (const edm::ParameterSet &ps, MixingCache::Config const *globalConf) | |
void | endLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &setup) override |
void | endRun (const edm::Run &r, const edm::EventSetup &setup) override |
virtual void | finalizeEvent (edm::Event &event, const edm::EventSetup &setup) |
virtual void | initializeEvent (const edm::Event &event, const edm::EventSetup &setup) |
bool | poisson () const |
void | produce (edm::Event &e1, const edm::EventSetup &c) override |
virtual void | reload (const edm::EventSetup &setup) |
virtual void | setBcrOffset () |
virtual void | setSourceOffset (const unsigned int s) |
~BMixingModule () override | |
Public Member Functions inherited from edm::stream::EDProducer< GlobalCache< MixingCache::Config > > | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Member Functions | |
void | pileWorker (const edm::EventPrincipal &, int bcr, int EventId, const edm::EventSetup &ES, ModuleCallingContext const *) |
Private Attributes | |
bool | addedPileup_ = false |
PreMixingPileupCopy | puWorker_ |
std::vector< std::unique_ptr< PreMixingWorker > > | workers_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< GlobalCache< MixingCache::Config > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Static Public Member Functions inherited from edm::BMixingModule | |
static void | globalEndJob (MixingCache::Config *) |
static std::unique_ptr< MixingCache::Config > | initializeGlobalCache (edm::ParameterSet const &) |
Protected Member Functions inherited from edm::BMixingModule | |
void | beginStream (edm::StreamID) override |
void | dropUnwantedBranches (std::vector< std::string > const &wantedBranches) |
void | endStream () override |
void | setupPileUpEvent (const edm::EventSetup &setup) |
void | update (edm::EventSetup const &) |
Protected Attributes inherited from edm::BMixingModule | |
int | bunchSpace_ |
bool | checktof_ |
bool | doit_ [4] |
unsigned int | eventId_ |
std::vector< std::shared_ptr< PileUp > > | inputSources_ |
int | maxBunch_ |
int | minBunch_ |
bool const | mixProdStep1_ |
bool const | mixProdStep2_ |
edm::ESWatcher< MixingRcd > | parameterWatcher_ |
bool | playback_ |
bool | readDB_ |
std::vector< float > | TrueNumInteractions_ |
int | vertexOffset_ |
Static Protected Attributes inherited from edm::BMixingModule | |
static const unsigned int | maxNbSources_ =4 |
Definition at line 34 of file PreMixingModule.cc.
PreMixingModule::PreMixingModule | ( | const edm::ParameterSet & | ps, |
MixingCache::Config const * | globalConf | ||
) |
Definition at line 61 of file PreMixingModule.cc.
References popcon2dropbox::copy(), beamerCreator::create(), spr::find(), reco::get(), edm::ParameterSet::getParameter(), mps_fire::i, eostools::move(), dataset::name, names, muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, tmp, mixOne_premix_on_sim_cfi::workers, and workers_.
|
overridedefault |
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 120 of file PreMixingModule.cc.
References addedPileup_, edm::EventBase::id(), LogDebug, w, and workers_.
Referenced by createnewEDProduct().
|
override |
Definition at line 220 of file PreMixingModule.cc.
References edm::BMixingModule::beginLuminosityBlock(), w, and workers_.
Referenced by createnewEDProduct().
|
override |
Definition at line 106 of file PreMixingModule.cc.
References edm::BMixingModule::beginRun(), w, and workers_.
Referenced by createnewEDProduct().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 41 of file PreMixingModule.cc.
References addSignals(), beginLuminosityBlock(), beginRun(), EnergyCorrector::c, doPileUp(), MillePedeFileConverter_cfg::e, endLuminosityBlock(), endRun(), initializeEvent(), pileWorker(), put(), alignCSCRings::r, findQualityFiles::run, and GeneralSetup::setup().
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 160 of file PreMixingModule.cc.
References edm::EventBase::id(), edm::BMixingModule::inputSources_, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, edm::Event::moduleCallingContext(), pileWorker(), edm::source(), edm::Event::streamID(), edm::BMixingModule::TrueNumInteractions_, w, and workers_.
Referenced by createnewEDProduct().
|
override |
Definition at line 227 of file PreMixingModule.cc.
References DEFINE_FWK_MODULE, and edm::BMixingModule::endLuminosityBlock().
Referenced by createnewEDProduct().
|
override |
Definition at line 113 of file PreMixingModule.cc.
References edm::BMixingModule::endRun(), w, and workers_.
Referenced by createnewEDProduct().
|
override |
Definition at line 99 of file PreMixingModule.cc.
Referenced by createnewEDProduct().
|
private |
Definition at line 132 of file PreMixingModule.cc.
References addedPileup_, edm::PreMixingPileupCopy::addPileupInfo(), edm::EventPrincipal::id(), LogDebug, puWorker_, edm::BMixingModule::setupPileUpEvent(), w, and workers_.
Referenced by createnewEDProduct(), and doPileUp().
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 207 of file PreMixingModule.cc.
References edm::PreMixingPileupCopy::getBunchSpacing(), edm::PreMixingPileupCopy::getPileupSummaryInfo(), edm::PreMixingPileupCopy::putPileupInfo(), puWorker_, w, and workers_.
Referenced by createnewEDProduct().
|
private |
Definition at line 56 of file PreMixingModule.cc.
Referenced by addSignals(), and pileWorker().
|
private |
Definition at line 55 of file PreMixingModule.cc.
Referenced by pileWorker(), and put().
|
private |
Definition at line 58 of file PreMixingModule.cc.
Referenced by addSignals(), beginLuminosityBlock(), beginRun(), doPileUp(), endRun(), initializeEvent(), pileWorker(), PreMixingModule(), and put().