#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 | |
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::ParameterSet::getParameter(), edm::MixingCache::Config::inputConfigs_, inputSources_, maxNbSources_, and readDB_.
|
override |
|
inlinevirtual |
Definition at line 79 of file BMixingModule.h.
|
inlinevirtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 78 of file BMixingModule.h.
Referenced by produce().
|
inline |
Definition at line 72 of file BMixingModule.h.
References inputSources_.
|
override |
Definition at line 236 of file BMixingModule.cc.
References inputSources_, maxNbSources_, and update().
Referenced by edm::PreMixingModule::beginLuminosityBlock(), edm::MixingModule::beginLuminosityBlock(), and edm::DataMixingModule::beginLuminosityBlock().
|
override |
Definition at line 244 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::PreMixingModule::beginRun(), edm::DataMixingModule::beginRun(), and edm::MixingModule::beginRun().
|
overrideprotected |
Definition at line 314 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
|
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_, and maxNbSources_.
Referenced by edm::PreMixingModule::endLuminosityBlock(), edm::DataMixingModule::endLuminosityBlock(), and edm::MixingModule::endLuminosityBlock().
|
override |
Definition at line 258 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::PreMixingModule::endRun(), edm::MixingModule::endRun(), and edm::DataMixingModule::endRun().
|
overrideprotected |
Definition at line 321 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
|
inlinevirtual |
Reimplemented in edm::MixingModule.
Definition at line 55 of file BMixingModule.h.
Referenced by produce().
|
inlinestatic |
Definition at line 64 of file BMixingModule.h.
|
inlinevirtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 52 of file BMixingModule.h.
Referenced by produce().
|
static |
Definition at line 231 of file BMixingModule.cc.
References maxNbSources_, and TrackValidation_cff::pset.
|
inline |
Definition at line 74 of file BMixingModule.h.
References inputSources_.
|
override |
Cumulates the pileup events onto this event
Definition at line 276 of file BMixingModule.cc.
References addSignals(), checkSignal(), createnewEDProduct(), doPileUp(), finalizeEvent(), initializeEvent(), mixProdStep1_, and put().
|
inlinevirtual |
Reimplemented in edm::MixingModule, edm::DataMixingModule, and edm::PreMixingModule.
Definition at line 83 of file BMixingModule.h.
Referenced by produce().
|
inlinevirtual |
Reimplemented in edm::MixingModule.
Definition at line 67 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_, and maxNbSources_.
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_, and reload().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), beginLuminosityBlock(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
protected |
Definition at line 92 of file BMixingModule.h.
Referenced by edm::MixingModule::doPileUp(), edm::MixingModule::MixingModule(), edm::MixingModule::pileAllWorkers(), and edm::MixingModule::reload().
|
protected |
Definition at line 94 of file BMixingModule.h.
|
protected |
Definition at line 103 of file BMixingModule.h.
|
protected |
Definition at line 106 of file BMixingModule.h.
|
protected |
Definition at line 109 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 96 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 102 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 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().
|
protected |
Definition at line 97 of file BMixingModule.h.
Referenced by produce().
|
protected |
Definition at line 98 of file BMixingModule.h.
|
protected |
Definition at line 112 of file BMixingModule.h.
Referenced by update().
|
protected |
Definition at line 101 of file BMixingModule.h.
Referenced by edm::MixingModule::doPileUp(), and edm::MixingModule::MixingModule().
|
protected |
Definition at line 100 of file BMixingModule.h.
Referenced by BMixingModule(), and update().
|
protected |
Definition at line 104 of file BMixingModule.h.
Referenced by edm::PreMixingModule::doPileUp(), edm::DataMixingModule::doPileUp(), and edm::MixingModule::doPileUp().
|
protected |
Definition at line 93 of file BMixingModule.h.