#include <BMixingModule.h>
Public Member Functions | |
virtual void | addPileups (const int bcr, EventPrincipal *ep, unsigned int eventId, unsigned int worker, const edm::EventSetup &c) |
virtual void | addSignals (const edm::Event &e, 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) | |
virtual void | checkSignal (const edm::Event &e) |
virtual void | createnewEDProduct () |
virtual void | doPileUp (edm::Event &e, const edm::EventSetup &c) |
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 | put (edm::Event &e, const edm::EventSetup &c) |
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 | |
Public Member Functions inherited from edm::stream::EDProducer< GlobalCache< MixingCache::Config > > | |
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 |
Static Public Member Functions | |
static void | globalEndJob (MixingCache::Config *) |
static std::unique_ptr< MixingCache::Config > | initializeGlobalCache (edm::ParameterSet const &) |
Protected Member Functions | |
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 | |
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 | |
static const unsigned int | maxNbSources_ = 4 |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< GlobalCache< MixingCache::Config > > | |
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 |
Definition at line 41 of file BMixingModule.h.
|
explicit |
standard constructor
Definition at line 179 of file BMixingModule.cc.
References edm::MixingCache::Config::inputConfigs_, inputSources_, maxNbSources_, muonDTDigis_cfi::pset, and readDB_.
|
override |
|
inlinevirtual |
Definition at line 81 of file BMixingModule.h.
|
inlinevirtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 80 of file BMixingModule.h.
Referenced by produce().
|
inline |
Definition at line 74 of file BMixingModule.h.
References inputSources_.
|
override |
Definition at line 243 of file BMixingModule.cc.
References inputSources_, maxNbSources_, singleTopDQM_cfi::setup, and update().
Referenced by edm::PreMixingModule::beginLuminosityBlock(), edm::MixingModule::beginLuminosityBlock(), and edm::DataMixingModule::beginLuminosityBlock().
|
override |
Definition at line 251 of file BMixingModule.cc.
References inputSources_, maxNbSources_, writedatasetfile::run, and singleTopDQM_cfi::setup.
Referenced by edm::PreMixingModule::beginRun(), edm::DataMixingModule::beginRun(), and edm::MixingModule::beginRun().
|
overrideprotected |
Definition at line 321 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
|
virtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 339 of file BMixingModule.cc.
Referenced by produce().
|
virtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 335 of file BMixingModule.cc.
Referenced by produce().
|
virtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 351 of file BMixingModule.cc.
Referenced by produce().
|
protected |
Definition at line 314 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::MixingModule::MixingModule().
|
override |
Definition at line 258 of file BMixingModule.cc.
References inputSources_, maxNbSources_, and singleTopDQM_cfi::setup.
Referenced by edm::PreMixingModule::endLuminosityBlock(), edm::DataMixingModule::endLuminosityBlock(), and edm::MixingModule::endLuminosityBlock().
|
override |
Definition at line 265 of file BMixingModule.cc.
References inputSources_, maxNbSources_, writedatasetfile::run, and singleTopDQM_cfi::setup.
Referenced by edm::PreMixingModule::endRun(), edm::MixingModule::endRun(), and edm::DataMixingModule::endRun().
|
overrideprotected |
Definition at line 328 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
|
inlinevirtual |
Reimplemented in edm::MixingModule.
Definition at line 57 of file BMixingModule.h.
Referenced by produce().
|
inlinestatic |
Definition at line 66 of file BMixingModule.h.
|
inlinevirtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 54 of file BMixingModule.h.
Referenced by produce().
|
static |
Definition at line 238 of file BMixingModule.cc.
References maxNbSources_, and muonDTDigis_cfi::pset.
|
inline |
Definition at line 76 of file BMixingModule.h.
References inputSources_.
|
override |
Cumulates the pileup events onto this event
Definition at line 283 of file BMixingModule.cc.
References addSignals(), checkSignal(), createnewEDProduct(), doPileUp(), MillePedeFileConverter_cfg::e, finalizeEvent(), initializeEvent(), mixProdStep1_, put(), and singleTopDQM_cfi::setup.
|
inlinevirtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 85 of file BMixingModule.h.
Referenced by produce().
|
override |
Definition at line 204 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
|
inlinevirtual |
Reimplemented in edm::MixingModule.
Definition at line 69 of file BMixingModule.h.
Referenced by update().
|
virtual |
Definition at line 343 of file BMixingModule.cc.
|
virtual |
Definition at line 347 of file BMixingModule.cc.
|
protected |
Definition at line 307 of file BMixingModule.cc.
References inputSources_, maxNbSources_, and singleTopDQM_cfi::setup.
Referenced by edm::MixingModule::pileAllWorkers(), edm::DataMixingModule::pileWorker(), and edm::PreMixingModule::pileWorker().
|
protected |
Definition at line 272 of file BMixingModule.cc.
References edm::ESWatcher< T >::check(), inputSources_, maxNbSources_, parameterWatcher_, readDB_, reload(), and singleTopDQM_cfi::setup.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), beginLuminosityBlock(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
protected |
Definition at line 94 of file BMixingModule.h.
Referenced by edm::MixingModule::doPileUp(), edm::MixingModule::MixingModule(), edm::MixingModule::pileAllWorkers(), and edm::MixingModule::reload().
|
protected |
Definition at line 96 of file BMixingModule.h.
|
protected |
Definition at line 105 of file BMixingModule.h.
|
protected |
Definition at line 108 of file BMixingModule.h.
|
protected |
Definition at line 111 of file BMixingModule.h.
Referenced by averageNumber(), beginLuminosityBlock(), beginRun(), beginStream(), BMixingModule(), edm::PreMixingModule::doPileUp(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), dropUnwantedBranches(), endLuminosityBlock(), endRun(), endStream(), poisson(), registerLateConsumes(), setupPileUpEvent(), and update().
|
protected |
Definition at line 98 of file BMixingModule.h.
Referenced by edm::MixingModule::createnewEDProduct(), edm::PreMixingModule::doPileUp(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), edm::MixingModule::MixingModule(), and edm::MixingModule::reload().
|
staticprotected |
Definition at line 104 of file BMixingModule.h.
Referenced by beginLuminosityBlock(), beginRun(), beginStream(), BMixingModule(), edm::MixingModule::createnewEDProduct(), edm::PreMixingModule::doPileUp(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), dropUnwantedBranches(), endLuminosityBlock(), endRun(), endStream(), initializeGlobalCache(), edm::MixingModule::MixingModule(), registerLateConsumes(), setupPileUpEvent(), and update().
|
protected |
Definition at line 97 of file BMixingModule.h.
Referenced by edm::MixingModule::createnewEDProduct(), edm::PreMixingModule::doPileUp(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), edm::MixingModule::MixingModule(), and edm::MixingModule::reload().
|
protected |
Definition at line 99 of file BMixingModule.h.
Referenced by produce().
|
protected |
Definition at line 100 of file BMixingModule.h.
|
protected |
Definition at line 114 of file BMixingModule.h.
Referenced by update().
|
protected |
Definition at line 103 of file BMixingModule.h.
Referenced by edm::MixingModule::doPileUp(), and edm::MixingModule::MixingModule().
|
protected |
Definition at line 102 of file BMixingModule.h.
Referenced by BMixingModule(), and update().
|
protected |
Definition at line 106 of file BMixingModule.h.
Referenced by edm::PreMixingModule::doPileUp(), edm::DataMixingModule::doPileUp(), and edm::MixingModule::doPileUp().
|
protected |
Definition at line 95 of file BMixingModule.h.