Classes | |
class | AdjustPileupDistribution |
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 | |
bool | pileWorker (const edm::EventPrincipal &, int bcr, int EventId, const edm::EventSetup &ES, ModuleCallingContext const *, AdjustPileupDistribution const *pileupAdjuster) |
Private Attributes | |
bool | addedPileup_ = false |
std::vector< AdjustPileupDistribution > | pileupAdjusters_ |
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 40 of file PreMixingModule.cc.
PreMixingModule::PreMixingModule | ( | const edm::ParameterSet & | ps, |
MixingCache::Config const * | globalConf | ||
) |
Definition at line 98 of file PreMixingModule.cc.
References a, b, popcon2dropbox::copy(), beamerCreator::create(), spr::find(), reco::get(), mps_fire::i, eostools::move(), dataset::name, names, pileupAdjusters_, muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, tmp, mixOne_premix_on_sim_cfi::workers, and workers_.
|
overridedefault |
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 164 of file PreMixingModule.cc.
References addedPileup_, edm::EventBase::id(), LogDebug, w, and workers_.
Referenced by createnewEDProduct().
|
override |
Definition at line 296 of file PreMixingModule.cc.
References edm::BMixingModule::beginLuminosityBlock(), w, and workers_.
Referenced by createnewEDProduct().
|
override |
Definition at line 150 of file PreMixingModule.cc.
References edm::BMixingModule::beginRun(), w, and workers_.
Referenced by createnewEDProduct().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 47 of file PreMixingModule.cc.
References addSignals(), beginLuminosityBlock(), beginRun(), EnergyCorrector::c, doPileUp(), MillePedeFileConverter_cfg::e, endLuminosityBlock(), endRun(), initializeEvent(), put(), alignCSCRings::r, writedatasetfile::run, and GeneralSetup::setup().
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 220 of file PreMixingModule.cc.
References HTMLExport::elem(), Exception, edm::EventBase::id(), edm::BMixingModule::inputSources_, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, edm::Event::moduleCallingContext(), pileupAdjusters_, pileWorker(), edm::EventID::run(), edm::source(), edm::Event::streamID(), edm::BMixingModule::TrueNumInteractions_, w, and workers_.
Referenced by createnewEDProduct().
|
override |
Definition at line 303 of file PreMixingModule.cc.
References DEFINE_FWK_MODULE, and edm::BMixingModule::endLuminosityBlock().
Referenced by createnewEDProduct().
|
override |
Definition at line 157 of file PreMixingModule.cc.
References edm::BMixingModule::endRun(), w, and workers_.
Referenced by createnewEDProduct().
|
override |
Definition at line 143 of file PreMixingModule.cc.
Referenced by createnewEDProduct().
|
private |
Definition at line 176 of file PreMixingModule.cc.
References addedPileup_, edm::PreMixingPileupCopy::addPileupInfo(), edm::RandomNumberGenerator::getEngine(), edm::PreMixingPileupCopy::getTrueNumInteractions(), edm::EventPrincipal::id(), LogDebug, TtFullHadEvtBuilder_cfi::prob, edm::PreMixingModule::AdjustPileupDistribution::probability(), puWorker_, edm::BMixingModule::setupPileUpEvent(), edm::EventPrincipal::streamID(), w, and workers_.
Referenced by doPileUp().
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 283 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 92 of file PreMixingModule.cc.
Referenced by addSignals(), and pileWorker().
|
private |
Definition at line 94 of file PreMixingModule.cc.
Referenced by doPileUp(), and PreMixingModule().
|
private |
Definition at line 91 of file PreMixingModule.cc.
Referenced by pileWorker(), and put().
|
private |
Definition at line 95 of file PreMixingModule.cc.
Referenced by addSignals(), beginLuminosityBlock(), beginRun(), doPileUp(), endRun(), initializeEvent(), pileWorker(), PreMixingModule(), and put().