#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 |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &setup) override |
virtual 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) |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &setup) override |
virtual 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 |
virtual 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) |
virtual | ~BMixingModule () |
Public Member Functions inherited from edm::stream::EDProducer< GlobalCache< MixingCache::Config > > | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static void | globalEndJob (MixingCache::Config *) |
static std::unique_ptr < MixingCache::Config > | initializeGlobalCache (edm::ParameterSet const &) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions | |
virtual void | beginStream (edm::StreamID) override |
void | dropUnwantedBranches (std::vector< std::string > const &wantedBranches) |
virtual void | endStream () override |
void | setupPileUpEvent (const edm::EventSetup &setup) |
void | update (edm::EventSetup const &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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 > > | |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Definition at line 40 of file BMixingModule.h.
|
explicit |
standard constructor
Definition at line 165 of file BMixingModule.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::MixingCache::Config::inputConfigs_, inputSources_, maxNbSources_, AlCaHLTBitMon_ParallelJobs::p, and readDB_.
|
virtual |
|
inlinevirtual |
Definition at line 78 of file BMixingModule.h.
|
inlinevirtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 77 of file BMixingModule.h.
Referenced by produce().
|
inline |
Definition at line 71 of file BMixingModule.h.
References inputSources_.
|
overridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Reimplemented in edm::DataMixingModule, and edm::MixingModule.
Definition at line 223 of file BMixingModule.cc.
References inputSources_, maxNbSources_, and update().
Referenced by edm::MixingModule::beginLuminosityBlock(), and edm::DataMixingModule::beginLuminosityBlock().
|
overridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Reimplemented in edm::DataMixingModule, and edm::MixingModule.
Definition at line 230 of file BMixingModule.cc.
References inputSources_, maxNbSources_, and update().
Referenced by edm::MixingModule::beginRun(), and edm::DataMixingModule::beginRun().
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 295 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
|
virtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 311 of file BMixingModule.cc.
Referenced by produce().
|
virtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 307 of file BMixingModule.cc.
Referenced by produce().
|
virtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 323 of file BMixingModule.cc.
Referenced by produce().
|
protected |
Definition at line 289 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::MixingModule::MixingModule().
|
overridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Reimplemented in edm::DataMixingModule, and edm::MixingModule.
Definition at line 237 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::MixingModule::endLuminosityBlock(), and edm::DataMixingModule::endLuminosityBlock().
|
overridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Reimplemented in edm::DataMixingModule, and edm::MixingModule.
Definition at line 243 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::MixingModule::endRun(), and edm::DataMixingModule::endRun().
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 301 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
|
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, and edm::DataMixingModule.
Definition at line 51 of file BMixingModule.h.
Referenced by produce().
|
static |
Definition at line 218 of file BMixingModule.cc.
References helper::Config, and maxNbSources_.
|
inline |
Definition at line 73 of file BMixingModule.h.
References inputSources_.
|
overridevirtual |
Cumulates the pileup events onto this event
Implements edm::stream::EDProducerBase.
Definition at line 259 of file BMixingModule.cc.
References addSignals(), checkSignal(), createnewEDProduct(), doPileUp(), finalizeEvent(), initializeEvent(), mixProdStep1_, and put().
|
inlinevirtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 81 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 315 of file BMixingModule.cc.
|
virtual |
Definition at line 319 of file BMixingModule.cc.
|
protected |
Definition at line 283 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::DataMixingModule::pileWorker().
|
protected |
Definition at line 249 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__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), beginLuminosityBlock(), beginRun(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
protected |
Definition at line 90 of file BMixingModule.h.
Referenced by edm::MixingModule::doPileUp(), edm::MixingModule::MixingModule(), edm::MixingModule::pileAllWorkers(), and edm::MixingModule::reload().
|
protected |
Definition at line 92 of file BMixingModule.h.
|
protected |
Definition at line 101 of file BMixingModule.h.
|
protected |
Definition at line 104 of file BMixingModule.h.
|
protected |
Definition at line 107 of file BMixingModule.h.
Referenced by averageNumber(), beginLuminosityBlock(), beginRun(), beginStream(), BMixingModule(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), dropUnwantedBranches(), endLuminosityBlock(), endRun(), endStream(), poisson(), setupPileUpEvent(), and update().
|
protected |
Definition at line 94 of file BMixingModule.h.
Referenced by edm::MixingModule::createnewEDProduct(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), edm::MixingModule::MixingModule(), and edm::MixingModule::reload().
|
staticprotected |
Definition at line 100 of file BMixingModule.h.
Referenced by beginLuminosityBlock(), beginRun(), beginStream(), BMixingModule(), edm::MixingModule::createnewEDProduct(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), dropUnwantedBranches(), endLuminosityBlock(), endRun(), endStream(), initializeGlobalCache(), edm::MixingModule::MixingModule(), setupPileUpEvent(), and update().
|
protected |
Definition at line 93 of file BMixingModule.h.
Referenced by edm::MixingModule::createnewEDProduct(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), edm::MixingModule::MixingModule(), and edm::MixingModule::reload().
|
protected |
Definition at line 95 of file BMixingModule.h.
Referenced by produce().
|
protected |
Definition at line 96 of file BMixingModule.h.
|
protected |
Definition at line 110 of file BMixingModule.h.
Referenced by update().
|
protected |
Definition at line 99 of file BMixingModule.h.
Referenced by edm::MixingModule::doPileUp(), and edm::MixingModule::MixingModule().
|
protected |
Definition at line 98 of file BMixingModule.h.
Referenced by BMixingModule(), and update().
|
protected |
Definition at line 102 of file BMixingModule.h.
Referenced by edm::DataMixingModule::doPileUp(), and edm::MixingModule::doPileUp().
|
protected |
Definition at line 91 of file BMixingModule.h.