#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 | getEventStartInfo (edm::Event &e, const unsigned int source) |
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 | setEventStartInfo (const unsigned int s) |
virtual void | setSourceOffset (const unsigned int s) |
virtual | ~BMixingModule () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Protected Member Functions | |
void | dropUnwantedBranches (std::vector< std::string > const &wantedBranches) |
virtual void | endJob () |
void | update (edm::EventSetup const &) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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< boost::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_ |
Static Protected Attributes | |
static const unsigned int | maxNbSources_ =4 |
static int | vertexoffset = 0 |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Definition at line 30 of file BMixingModule.h.
|
explicit |
standard constructor
Definition at line 169 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 65 of file BMixingModule.h.
|
inlinevirtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 64 of file BMixingModule.h.
Referenced by produce().
|
inline |
Definition at line 58 of file BMixingModule.h.
References inputSources_.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Reimplemented in edm::MixingModule.
Definition at line 204 of file BMixingModule.cc.
References update().
|
overridevirtual |
Reimplemented from edm::EDProducer.
Reimplemented in edm::MixingModule.
Definition at line 208 of file BMixingModule.cc.
References update().
|
inlinevirtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 63 of file BMixingModule.h.
References gather_cfg::cout.
Referenced by produce().
|
inlinevirtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 62 of file BMixingModule.h.
References gather_cfg::cout.
Referenced by produce().
|
inlinevirtual |
Reimplemented in edm::MixingModule, and edm::DataMixingModule.
Definition at line 69 of file BMixingModule.h.
References gather_cfg::cout.
Referenced by produce().
|
protected |
Definition at line 247 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
Referenced by edm::MixingModule::MixingModule().
|
protectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 253 of file BMixingModule.cc.
References inputSources_, and maxNbSources_.
|
inlineoverridevirtual |
Reimplemented from edm::EDProducer.
Reimplemented in edm::MixingModule.
Definition at line 50 of file BMixingModule.h.
|
inlineoverridevirtual |
Reimplemented from edm::EDProducer.
Reimplemented in edm::MixingModule.
Definition at line 49 of file BMixingModule.h.
|
inlinevirtual |
Reimplemented in edm::MixingModule.
Definition at line 44 of file BMixingModule.h.
Referenced by produce().
|
inlinevirtual |
Definition at line 71 of file BMixingModule.h.
|
inlinevirtual |
Reimplemented in edm::MixingModule.
Definition at line 41 of file BMixingModule.h.
Referenced by produce().
|
inline |
Definition at line 60 of file BMixingModule.h.
References inputSources_.
|
overridevirtual |
Cumulates the pileup events onto this event
Implements edm::EDProducer.
Definition at line 222 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 68 of file BMixingModule.h.
Referenced by produce().
|
inlinevirtual |
Reimplemented in edm::MixingModule.
Definition at line 53 of file BMixingModule.h.
Referenced by update().
|
inlinevirtual |
Definition at line 66 of file BMixingModule.h.
References gather_cfg::cout.
|
inlinevirtual |
Definition at line 70 of file BMixingModule.h.
|
inlinevirtual |
|
protected |
Definition at line 212 of file BMixingModule.cc.
References edm::ESWatcher< T >::check(), inputSources_, maxNbSources_, parameterWatcher_, readDB_, and reload().
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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 77 of file BMixingModule.h.
Referenced by edm::MixingModule::MixingModule(), edm::MixingModule::pileAllWorkers(), and edm::MixingModule::reload().
|
protected |
Definition at line 79 of file BMixingModule.h.
|
protected |
Definition at line 89 of file BMixingModule.h.
|
protected |
Definition at line 92 of file BMixingModule.h.
|
protected |
Definition at line 95 of file BMixingModule.h.
Referenced by averageNumber(), BMixingModule(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), dropUnwantedBranches(), endJob(), poisson(), and update().
|
protected |
Definition at line 81 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 87 of file BMixingModule.h.
Referenced by BMixingModule(), edm::MixingModule::createnewEDProduct(), edm::DataMixingModule::doPileUp(), edm::MixingModule::doPileUp(), dropUnwantedBranches(), endJob(), edm::MixingModule::MixingModule(), 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().
|
protected |
Definition at line 82 of file BMixingModule.h.
Referenced by produce().
|
protected |
Definition at line 83 of file BMixingModule.h.
|
protected |
Definition at line 98 of file BMixingModule.h.
Referenced by update().
|
protected |
Definition at line 86 of file BMixingModule.h.
Referenced by BMixingModule(), and edm::MixingModule::doPileUp().
|
protected |
Definition at line 85 of file BMixingModule.h.
Referenced by BMixingModule(), and update().
|
protected |
Definition at line 88 of file BMixingModule.h.
Referenced by BMixingModule().
|
protected |
Definition at line 90 of file BMixingModule.h.
Referenced by edm::DataMixingModule::doPileUp(), and edm::MixingModule::doPileUp().
|
staticprotected |
Definition at line 78 of file BMixingModule.h.