#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) |
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 | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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_ |
const bool | mixProdStep1_ |
const bool | mixProdStep2_ |
edm::ESWatcher< MixingRcd > | parameterWatcher_ |
bool | playback_ |
bool | readDB_ |
std::vector< float > | TrueNumInteractions_ |
int | vertexOffset_ |
Static Protected Attributes | |
const static unsigned int | maxNbSources_ = 4 |
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 |
Definition at line 40 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 78 of file BMixingModule.h.
|
inlinevirtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 77 of file BMixingModule.h.
Referenced by produce().
|
inline |
|
override |
Definition at line 235 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 243 of file BMixingModule.cc.
References inputSources_, maxNbSources_, writedatasetfile::run, singleTopDQM_cfi::setup, and update().
Referenced by edm::PreMixingModule::beginRun(), edm::DataMixingModule::beginRun(), and edm::MixingModule::beginRun().
|
overrideprotected |
|
virtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 332 of file BMixingModule.cc.
Referenced by produce().
|
virtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 328 of file BMixingModule.cc.
Referenced by produce().
|
virtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 344 of file BMixingModule.cc.
Referenced by produce().
|
protected |
Definition at line 307 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::MixingModule::MixingModule().
|
override |
Definition at line 251 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 258 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 |
|
inlinevirtual |
Reimplemented in edm::MixingModule.
Definition at line 54 of file BMixingModule.h.
Referenced by produce().
|
inlinestatic |
Definition at line 63 of file BMixingModule.h.
|
inlinevirtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 51 of file BMixingModule.h.
Referenced by produce().
|
static |
Definition at line 230 of file BMixingModule.cc.
References maxNbSources_, and muonDTDigis_cfi::pset.
|
inline |
|
override |
Cumulates the pileup events onto this event
Definition at line 276 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 82 of file BMixingModule.h.
Referenced by produce().
|
inlinevirtual |
Reimplemented in edm::MixingModule.
Definition at line 66 of file BMixingModule.h.
Referenced by update().
|
virtual |
Definition at line 336 of file BMixingModule.cc.
|
virtual |
Definition at line 340 of file BMixingModule.cc.
|
protected |
Definition at line 300 of file BMixingModule.cc.
References inputSources_, maxNbSources_, and singleTopDQM_cfi::setup.
Referenced by edm::DataMixingModule::pileWorker(), and edm::PreMixingModule::pileWorker().
|
protected |
Definition at line 265 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(), beginRun(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
protected |
Definition at line 91 of file BMixingModule.h.
Referenced by edm::MixingModule::doPileUp(), edm::MixingModule::MixingModule(), edm::MixingModule::pileAllWorkers(), and edm::MixingModule::reload().
|
protected |
Definition at line 93 of file BMixingModule.h.
|
protected |
Definition at line 102 of file BMixingModule.h.
|
protected |
Definition at line 105 of file BMixingModule.h.
|
protected |
Definition at line 108 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(), setupPileUpEvent(), and update().
|
protected |
Definition at line 95 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 101 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(), setupPileUpEvent(), and update().
|
protected |
Definition at line 94 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 96 of file BMixingModule.h.
Referenced by produce().
|
protected |
Definition at line 97 of file BMixingModule.h.
|
protected |
Definition at line 111 of file BMixingModule.h.
Referenced by update().
|
protected |
Definition at line 100 of file BMixingModule.h.
Referenced by edm::MixingModule::doPileUp(), and edm::MixingModule::MixingModule().
|
protected |
Definition at line 99 of file BMixingModule.h.
Referenced by BMixingModule(), and update().
|
protected |
Definition at line 103 of file BMixingModule.h.
Referenced by edm::PreMixingModule::doPileUp(), edm::DataMixingModule::doPileUp(), and edm::MixingModule::doPileUp().
|
protected |
Definition at line 92 of file BMixingModule.h.