![]() |
![]() |
Classes | |
class | AdjustPileupDistribution |
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_, edm::EventBase::id(), LogDebug, w(), and workers_.
|
override |
Definition at line 305 of file PreMixingModule.cc.
References edm::BMixingModule::beginLuminosityBlock(), w(), and workers_.
|
override |
Definition at line 157 of file PreMixingModule.cc.
References edm::BMixingModule::beginRun(), w(), and workers_.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 231 of file PreMixingModule.cc.
References 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_.
|
override |
Definition at line 312 of file PreMixingModule.cc.
References edm::BMixingModule::endLuminosityBlock().
|
override |
Definition at line 164 of file PreMixingModule.cc.
References edm::BMixingModule::endRun(), w(), and workers_.
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 151 of file PreMixingModule.cc.
|
private |
Definition at line 183 of file PreMixingModule.cc.
References addedPileup_, edm::PreMixingPileupCopy::addPileupInfo(), edm::RandomNumberGenerator::getEngine(), edm::PreMixingPileupCopy::getTrueNumInteractions(), edm::EventPrincipal::id(), LogDebug, 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 292 of file PreMixingModule.cc.
References 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(), edm::for(), initializeEvent(), pileWorker(), and put().