#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) | |
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::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks > | |
EDProducer ()=default | |
Public Member Functions inherited from edm::one::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 (const std::string &iProcessName, std::vector< const char * > &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 () |
Protected Member Functions | |
virtual void | beginJob () override |
void | dropUnwantedBranches (std::vector< std::string > const &wantedBranches) |
virtual void | endJob () 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< std::string > | sourceNames_ |
std::vector< float > | TrueNumInteractions_ |
int | vertexOffset_ |
Static Protected Attributes | |
static const unsigned int | maxNbSources_ =4 |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Definition at line 29 of file BMixingModule.h.
|
explicit |
standard constructor
Definition at line 166 of file BMixingModule.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputSources_, maxBunch_, maxNbSources_, minBunch_, playback_, readDB_, and sourceNames_.
|
virtual |
|
inlinevirtual |
Definition at line 64 of file BMixingModule.h.
|
inlinevirtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 63 of file BMixingModule.h.
Referenced by produce().
|
inline |
Definition at line 57 of file BMixingModule.h.
References inputSources_.
|
overrideprotectedvirtual |
Reimplemented from edm::one::EDProducerBase.
Reimplemented in edm::MixingModule.
Definition at line 274 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
|
overridevirtual |
Reimplemented in edm::DataMixingModule, and edm::MixingModule.
Definition at line 202 of file BMixingModule.cc.
References inputSources_, maxNbSources_, and update().
Referenced by edm::MixingModule::beginLuminosityBlock(), and edm::DataMixingModule::beginLuminosityBlock().
|
overridevirtual |
Reimplemented in edm::DataMixingModule, and edm::MixingModule.
Definition at line 209 of file BMixingModule.cc.
References inputSources_, maxNbSources_, and update().
Referenced by edm::MixingModule::beginRun(), and edm::DataMixingModule::beginRun().
|
virtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 288 of file BMixingModule.cc.
References gather_cfg::cout.
Referenced by produce().
|
virtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 286 of file BMixingModule.cc.
References gather_cfg::cout.
Referenced by produce().
|
virtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 294 of file BMixingModule.cc.
References gather_cfg::cout.
Referenced by produce().
|
protected |
Definition at line 268 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::MixingModule::MixingModule().
|
overrideprotectedvirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 280 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
|
overridevirtual |
Reimplemented in edm::DataMixingModule, and edm::MixingModule.
Definition at line 216 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::MixingModule::endLuminosityBlock(), and edm::DataMixingModule::endLuminosityBlock().
|
overridevirtual |
Reimplemented in edm::DataMixingModule, and edm::MixingModule.
Definition at line 222 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::MixingModule::endRun(), and edm::DataMixingModule::endRun().
|
inlinevirtual |
Reimplemented in edm::MixingModule.
Definition at line 43 of file BMixingModule.h.
Referenced by produce().
|
inlinevirtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 40 of file BMixingModule.h.
Referenced by produce().
|
inline |
Definition at line 59 of file BMixingModule.h.
References inputSources_.
|
overridevirtual |
Cumulates the pileup events onto this event
Implements edm::one::EDProducerBase.
Definition at line 238 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 67 of file BMixingModule.h.
Referenced by produce().
|
inlinevirtual |
Reimplemented in edm::MixingModule.
Definition at line 52 of file BMixingModule.h.
Referenced by update().
|
virtual |
Definition at line 290 of file BMixingModule.cc.
References gather_cfg::cout.
|
virtual |
|
protected |
Definition at line 262 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::DataMixingModule::pileWorker().
|
protected |
Definition at line 228 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 76 of file BMixingModule.h.
Referenced by edm::MixingModule::doPileUp(), edm::MixingModule::MixingModule(), edm::MixingModule::pileAllWorkers(), and edm::MixingModule::reload().
|
protected |
Definition at line 78 of file BMixingModule.h.
|
protected |
Definition at line 88 of file BMixingModule.h.
|
protected |
Definition at line 91 of file BMixingModule.h.
|
protected |
Definition at line 94 of file BMixingModule.h.
Referenced by averageNumber(), beginJob(), beginLuminosityBlock(), beginRun(), BMixingModule(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), dropUnwantedBranches(), endJob(), endLuminosityBlock(), endRun(), poisson(), setupPileUpEvent(), and update().
|
protected |
Definition at line 80 of file BMixingModule.h.
Referenced by BMixingModule(), edm::MixingModule::createnewEDProduct(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), edm::MixingModule::MixingModule(), and edm::MixingModule::reload().
|
staticprotected |
Definition at line 86 of file BMixingModule.h.
Referenced by beginJob(), beginLuminosityBlock(), beginRun(), BMixingModule(), edm::MixingModule::createnewEDProduct(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), dropUnwantedBranches(), endJob(), endLuminosityBlock(), endRun(), edm::MixingModule::MixingModule(), setupPileUpEvent(), and update().
|
protected |
Definition at line 79 of file BMixingModule.h.
Referenced by BMixingModule(), edm::MixingModule::createnewEDProduct(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), edm::MixingModule::MixingModule(), and edm::MixingModule::reload().
|
protected |
Definition at line 81 of file BMixingModule.h.
Referenced by produce().
|
protected |
Definition at line 82 of file BMixingModule.h.
|
protected |
Definition at line 97 of file BMixingModule.h.
Referenced by update().
|
protected |
Definition at line 85 of file BMixingModule.h.
Referenced by BMixingModule(), edm::MixingModule::doPileUp(), and edm::MixingModule::MixingModule().
|
protected |
Definition at line 84 of file BMixingModule.h.
Referenced by BMixingModule(), and update().
|
protected |
Definition at line 87 of file BMixingModule.h.
Referenced by BMixingModule().
|
protected |
Definition at line 89 of file BMixingModule.h.
Referenced by edm::DataMixingModule::doPileUp(), and edm::MixingModule::doPileUp().
|
protected |
Definition at line 77 of file BMixingModule.h.