![]() |
![]() |
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 | |
![]() | |
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) |
bool | poisson () const |
void | produce (edm::Event &e1, const edm::EventSetup &c) override |
void | registerLateConsumes (eventsetup::ESRecordsToProxyIndices const &) override |
virtual void | reload (const edm::EventSetup &setup) |
virtual void | setBcrOffset () |
virtual void | setSourceOffset (const unsigned int s) |
~BMixingModule () override | |
![]() | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
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 | |
![]() | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
![]() | |
static void | globalEndJob (MixingCache::Config *) |
static std::unique_ptr< MixingCache::Config > | initializeGlobalCache (edm::ParameterSet const &) |
![]() | |
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 &) |
![]() | |
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 const unsigned int | maxNbSources_ = 4 |
Definition at line 39 of file PreMixingModule.cc.
PreMixingModule::PreMixingModule | ( | const edm::ParameterSet & | ps, |
MixingCache::Config const * | globalConf | ||
) |
Definition at line 105 of file PreMixingModule.cc.
|
overridedefault |
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 171 of file PreMixingModule.cc.
References addedPileup_, MillePedeFileConverter_cfg::e, LogDebug, w(), and workers_.
|
override |
Definition at line 305 of file PreMixingModule.cc.
References edm::BMixingModule::beginLuminosityBlock(), HltBtagPostValidation_cff::c, w(), and workers_.
|
override |
Definition at line 157 of file PreMixingModule.cc.
References edm::BMixingModule::beginRun(), writedatasetfile::run, w(), and workers_.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 231 of file PreMixingModule.cc.
References MillePedeFileConverter_cfg::e, Exception, edm::BMixingModule::inputSources_, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, pileupAdjusters_, pileWorker(), edm::source(), edm::BMixingModule::TrueNumInteractions_, w(), and workers_.
|
override |
Definition at line 312 of file PreMixingModule.cc.
References HltBtagPostValidation_cff::c, and edm::BMixingModule::endLuminosityBlock().
|
override |
Definition at line 164 of file PreMixingModule.cc.
References edm::BMixingModule::endRun(), writedatasetfile::run, w(), and workers_.
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 151 of file PreMixingModule.cc.
References MillePedeFileConverter_cfg::e, w(), and workers_.
|
private |
Definition at line 183 of file PreMixingModule.cc.
References addedPileup_, edm::PreMixingPileupCopy::addPileupInfo(), SiStripBadComponentsDQMServiceTemplate_cfg::ep, edm::RandomNumberGenerator::getEngine(), edm::PreMixingPileupCopy::getTrueNumInteractions(), LogDebug, TtFullHadEvtBuilder_cfi::prob, edm::PreMixingModule::AdjustPileupDistribution::probability(), puWorker_, edm::BMixingModule::setupPileUpEvent(), w(), and workers_.
Referenced by doPileUp().
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 292 of file PreMixingModule.cc.
References hltParticleFlowClusterECALL1Seeded_cfi::bunchSpacing, MillePedeFileConverter_cfg::e, edm::PreMixingPileupCopy::getBunchSpacing(), edm::PreMixingPileupCopy::getPileupSummaryInfo(), edm::PreMixingPileupCopy::putPileupInfo(), puWorker_, w(), and workers_.
|
private |
Definition at line 99 of file PreMixingModule.cc.
Referenced by addSignals(), and pileWorker().
|
private |
Definition at line 101 of file PreMixingModule.cc.
Referenced by doPileUp().
|
private |
Definition at line 98 of file PreMixingModule.cc.
Referenced by pileWorker(), and put().
|
private |
Definition at line 102 of file PreMixingModule.cc.
Referenced by addSignals(), beginLuminosityBlock(), beginRun(), doPileUp(), endRun(), initializeEvent(), pileWorker(), and put().