#include <MixingModule.h>
Public Member Functions | |
virtual void | beginJob () |
MixingModule (const edm::ParameterSet &ps) | |
virtual | ~MixingModule () |
Public Member Functions inherited from edm::BMixingModule | |
double | averageNumber () const |
BMixingModule (const edm::ParameterSet &ps) | |
void | merge (const int bcr, const EventPrincipalVector &vec, unsigned int worker, const edm::EventSetup &c) |
bool | poisson () const |
virtual void | produce (edm::Event &e1, const edm::EventSetup &c) |
virtual void | setBcrOffset () |
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 | addPileups (const int bcr, EventPrincipal *, unsigned int EventId, unsigned int worker, const edm::EventSetup &e) |
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) |
virtual void | getEventStartInfo (edm::Event &e, const unsigned int s) |
virtual void | put (edm::Event &e, const edm::EventSetup &es) |
virtual void | setEventStartInfo (const unsigned int s) |
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::BMixingModule | |
typedef PileUp::EventPrincipalVector | EventPrincipalVector |
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) |
Protected Member Functions inherited from edm::BMixingModule | |
void | dropUnwantedBranches (std::vector< std::string > const &wantedBranches) |
virtual void | endJob () |
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] |
std::vector< edm::EventID > | eventIDs_ |
std::vector< int > | fileSeqNrs_ |
int const | maxBunch_ |
int const | minBunch_ |
bool const | mixProdStep1_ |
bool const | mixProdStep2_ |
std::vector< unsigned int > | nrEvents_ |
std::vector< EventPrincipalVector > | pileup_ [4] |
bool | playback_ |
std::vector< std::vector < edm::EventID > > | vectorEventIDs_ |
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(), label, labelPlayback_, LogDebug, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, mixProdStep1_, mixProdStep2_, h::names, CrabTask::pset, sel_, edm::sort_all(), subdets, GlobalPosition_Frontier_DevDB_cff::tag, o2o::tags, useCurrentProcessOnly_, wantedBranches_, and workersObjects_.
|
virtual |
Default destructor
Definition at line 340 of file MixingModule.cc.
References sel_, and workersObjects_.
|
privatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 406 of file MixingModule.cc.
References edm::EventPrincipal::id(), LogDebug, edm::BMixingModule::vertexoffset, and workers_.
|
privatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 346 of file MixingModule.cc.
References edm::EventBase::id(), LogDebug, and workers_.
|
inlinevirtual |
|
privatevirtual |
Definition at line 301 of file MixingModule.cc.
References edm::InputTag::instance(), edm::InputTag::label(), useCurrentProcessOnly_, and wantedBranches_.
Referenced by MixingModule().
|
privatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 317 of file MixingModule.cc.
References workers_, and workersObjects_.
|
privatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 328 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 355 of file MixingModule.cc.
References edm::BMixingModule::doit_, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::merge(), edm::BMixingModule::minBunch_, mixProdStep2_, edm::BMixingModule::pileup_, edm::Event::put(), findQualityFiles::size, and workers_.
|
privatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 425 of file MixingModule.cc.
References edm::hlt::Exception, edm::Event::get(), edm::BMixingModule::playback_, sel_, and edm::BMixingModule::vectorEventIDs_.
|
privatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 417 of file MixingModule.cc.
References playbackInfo_, and edm::Event::put().
|
privatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 413 of file MixingModule.cc.
References playbackInfo_, CrossingFramePlaybackInfoExtended::setEventStartInfo(), and edm::BMixingModule::vectorEventIDs_.
|
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(), put(), and setEventStartInfo().
|
private |
Definition at line 72 of file MixingModule.h.
Referenced by getEventStartInfo(), 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 addPileups(), addSignals(), checkSignal(), createnewEDProduct(), and doPileUp().
|
private |
Definition at line 75 of file MixingModule.h.
Referenced by checkSignal(), MixingModule(), and ~MixingModule().