#include <MixingModule.h>
Public Member Functions | |
virtual void | beginJob () |
MixingModule (const edm::ParameterSet &ps) | |
virtual void | reload (const edm::EventSetup &) |
virtual | ~MixingModule () |
Public Member Functions inherited from edm::BMixingModule | |
virtual void | addPileups (const int bcr, EventPrincipal *ep, unsigned int eventId, unsigned int worker, const edm::EventSetup &c) |
double | averageNumber () const |
virtual void | beginLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run &r, const edm::EventSetup &setup) |
BMixingModule (const edm::ParameterSet &ps) | |
virtual void | getEventStartInfo (edm::Event &e, const unsigned int source) |
bool | poisson () const |
virtual void | produce (edm::Event &e1, const edm::EventSetup &c) |
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 &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
virtual void | addSignals (const edm::Event &e, const edm::EventSetup &es) |
virtual void | branchesActivate (const std::string &friendlyName, const std::string &subdet, InputTag &tag, std::string &label) |
virtual void | checkSignal (const edm::Event &e) |
virtual void | createnewEDProduct () |
virtual void | doPileUp (edm::Event &e, const edm::EventSetup &es) |
void | pileAllWorkers (EventPrincipal const &ep, int bcr, int id, int &offset) |
virtual void | put (edm::Event &e, const edm::EventSetup &es) |
Private Attributes | |
std::string | labelPlayback_ |
bool | mixProdStep1_ |
bool | mixProdStep2_ |
CrossingFramePlaybackInfoExtended * | playbackInfo_ |
Selector * | sel_ |
bool | useCurrentProcessOnly_ |
std::vector< std::string > | wantedBranches_ |
std::vector< MixingWorkerBase * > | workers_ |
std::vector< MixingWorkerBase * > | workersObjects_ |
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) |
Protected Member Functions inherited from edm::BMixingModule | |
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 | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Protected Attributes inherited from edm::BMixingModule | |
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 inherited from edm::BMixingModule | |
static const unsigned int | maxNbSources_ =4 |
static int | vertexoffset = 0 |
Definition at line 44 of file MixingModule.h.
|
explicit |
standard constructor
Definition at line 27 of file MixingModule.cc.
References branchesActivate(), edm::BMixingModule::bunchSpace_, edm::BMixingModule::dropUnwantedBranches(), edm::InputTag::encode(), edm::ParameterSet::exists(), spr::find(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), diffTwoXMLs::label, labelPlayback_, LogDebug, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, mixProdStep1_, mixProdStep2_, h::names, sel_, edm::sort_all(), subdets, GlobalPosition_Frontier_DevDB_cff::tag, o2o::tags, useCurrentProcessOnly_, wantedBranches_, and workersObjects_.
|
virtual |
Default destructor
Definition at line 363 of file MixingModule.cc.
References sel_, and workersObjects_.
|
privatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 369 of file MixingModule.cc.
References edm::EventBase::id(), LogDebug, and workers_.
|
inlinevirtual |
|
privatevirtual |
Definition at line 324 of file MixingModule.cc.
References EgammaHLTValidationUtils::getProcessName(), edm::InputTag::instance(), edm::InputTag::label(), useCurrentProcessOnly_, and wantedBranches_.
Referenced by MixingModule().
|
privatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 340 of file MixingModule.cc.
References workers_, and workersObjects_.
|
privatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 351 of file MixingModule.cc.
References edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, playbackInfo_, and workers_.
|
privatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 395 of file MixingModule.cc.
References edm::hlt::Exception, edm::Event::get(), edm::EventBase::id(), edm::BMixingModule::inputSources_, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, mixProdStep2_, pileAllWorkers(), edm::BMixingModule::playback_, playbackInfo_, edm::Event::put(), sel_, CrossingFramePlaybackInfoExtended::setStartEventId(), LaserTracksInput_cfi::source, edm::BMixingModule::TrueNumInteractions_, and workers_.
|
private |
Definition at line 379 of file MixingModule.cc.
References edm::EventPrincipal::id(), LogDebug, edm::BMixingModule::vertexoffset, and workers_.
Referenced by doPileUp().
|
privatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 521 of file MixingModule.cc.
References playbackInfo_, and edm::Event::put().
|
virtual |
Reimplemented from edm::BMixingModule.
Definition at line 310 of file MixingModule.cc.
References edm::BMixingModule::bunchSpace_, HDQMDatabaseProducer::config, edm::EventSetup::get(), edm::BMixingModule::maxBunch_, edm::BMixingModule::minBunch_, and workersObjects_.
|
private |
Definition at line 67 of file MixingModule.h.
Referenced by MixingModule().
|
private |
Definition at line 69 of file MixingModule.h.
Referenced by MixingModule().
|
private |
Definition at line 68 of file MixingModule.h.
Referenced by doPileUp(), and MixingModule().
|
private |
Definition at line 70 of file MixingModule.h.
Referenced by createnewEDProduct(), doPileUp(), and put().
|
private |
Definition at line 72 of file MixingModule.h.
Referenced by doPileUp(), MixingModule(), and ~MixingModule().
|
private |
Definition at line 77 of file MixingModule.h.
Referenced by branchesActivate(), and MixingModule().
|
private |
Definition at line 76 of file MixingModule.h.
Referenced by branchesActivate(), and MixingModule().
|
private |
Definition at line 74 of file MixingModule.h.
Referenced by addSignals(), checkSignal(), createnewEDProduct(), doPileUp(), and pileAllWorkers().
|
private |
Definition at line 75 of file MixingModule.h.
Referenced by checkSignal(), MixingModule(), reload(), and ~MixingModule().