#include <DataMixingModule.h>
Public Member Functions | |
virtual void | addSignals (const edm::Event &e, const edm::EventSetup &ES) |
virtual void | beginJob () |
virtual void | checkSignal (const edm::Event &e) |
virtual void | createnewEDProduct () |
DataMixingModule (const edm::ParameterSet &ps) | |
virtual void | doPileUp (edm::Event &e, const edm::EventSetup &ES) |
void | pileWorker (const edm::EventPrincipal &, int bcr, int EventId, const edm::EventSetup &ES) |
virtual void | put (edm::Event &e, const edm::EventSetup &ES) |
virtual | ~DataMixingModule () |
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 (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 | 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 | 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 () |
Private Member Functions | |
virtual void | getSubdetectorNames () |
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 | |
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 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 46 of file DataMixingModule.h.
|
explicit |
standard constructor
Definition at line 28 of file DataMixingModule.cc.
References CSCComparatorDigiCollectionDM_, CSCStripDigiCollectionDM_, CSCWireDigiCollectionDM_, DoFastSim_, DTDigiCollectionDM_, EBDigiCollectionDM_, EBRecHitCollectionDM_, EEDigiCollectionDM_, EERecHitCollectionDM_, EMDigiWorker_, EMWorker_, ESDigiCollectionDM_, ESRecHitCollectionDM_, edm::ParameterSet::exists(), GeneralTrackCollectionDM_, GeneralTrackWorker_, edm::ParameterSet::getParameter(), getSubdetectorNames(), HBHEDigiCollectionDM_, HBHERecHitCollectionDM_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, HFDigiCollectionDM_, HFRecHitCollectionDM_, HODigiCollectionDM_, HORecHitCollectionDM_, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MuonWorker_, PixelDigiCollectionDM_, PUWorker_, RPCDigiCollectionDM_, SiPixelWorker_, SiStripDigiCollectionDM_, SiStripRawWorker_, SiStripWorker_, AlCaHLTBitMon_QueryRunRegistry::string, useSiStripRawDigi_, ZDCDigiCollectionDM_, and ZDCRecHitCollectionDM_.
|
virtual |
Default destructor
Definition at line 271 of file DataMixingModule.cc.
References DoFastSim_, EMDigiWorker_, EMWorker_, GeneralTrackWorker_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MuonWorker_, PUWorker_, SiPixelWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
|
virtual |
Reimplemented from edm::BMixingModule.
Definition at line 291 of file DataMixingModule.cc.
References AddedPileup_, edm::DataMixingEMWorker::addEMSignals(), edm::DataMixingEMDigiWorker::addEMSignals(), edm::DataMixingGeneralTrackWorker::addGeneralTrackSignals(), edm::DataMixingHcalWorker::addHcalSignals(), edm::DataMixingHcalDigiWorkerProd::addHcalSignals(), edm::DataMixingHcalDigiWorker::addHcalSignals(), edm::DataMixingMuonWorker::addMuonSignals(), edm::DataMixingSiPixelWorker::addSiPixelSignals(), edm::DataMixingSiStripWorker::addSiStripSignals(), edm::DataMixingSiStripRawWorker::addSiStripSignals(), DoFastSim_, EMDigiWorker_, EMWorker_, GeneralTrackWorker_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, edm::EventBase::id(), LogDebug, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MuonWorker_, SiPixelWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Reimplemented from edm::BMixingModule.
Definition at line 382 of file DataMixingModule.cc.
References edm::EventBase::id(), edm::BMixingModule::inputSources_, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, or, pileWorker(), LaserTracksInput_cfi::source, and edm::BMixingModule::TrueNumInteractions_.
|
privatevirtual |
Definition at line 231 of file DataMixingModule.cc.
Referenced by DataMixingModule().
void DataMixingModule::pileWorker | ( | const edm::EventPrincipal & | ep, |
int | bcr, | ||
int | EventId, | ||
const edm::EventSetup & | ES | ||
) |
Definition at line 331 of file DataMixingModule.cc.
References AddedPileup_, edm::DataMixingEMWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingGeneralTrackWorker::addGeneralTrackPileups(), edm::DataMixingHcalWorker::addHcalPileups(), edm::DataMixingHcalDigiWorkerProd::addHcalPileups(), edm::DataMixingHcalDigiWorker::addHcalPileups(), edm::DataMixingMuonWorker::addMuonPileups(), edm::DataMixingPileupCopy::addPileupInfo(), edm::DataMixingSiPixelWorker::addSiPixelPileups(), edm::DataMixingSiStripWorker::addSiStripPileups(), edm::DataMixingSiStripRawWorker::addSiStripPileups(), DoFastSim_, EMDigiWorker_, EMWorker_, GeneralTrackWorker_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, edm::EventPrincipal::id(), LogDebug, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MuonWorker_, PUWorker_, SiPixelWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
Referenced by doPileUp().
|
virtual |
Reimplemented from edm::BMixingModule.
Definition at line 419 of file DataMixingModule.cc.
References DoFastSim_, EMDigiWorker_, EMWorker_, GeneralTrackWorker_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MuonWorker_, edm::DataMixingEMWorker::putEM(), edm::DataMixingEMDigiWorker::putEM(), edm::DataMixingGeneralTrackWorker::putGeneralTrack(), edm::DataMixingHcalWorker::putHcal(), edm::DataMixingHcalDigiWorkerProd::putHcal(), edm::DataMixingHcalDigiWorker::putHcal(), edm::DataMixingMuonWorker::putMuon(), edm::DataMixingPileupCopy::putPileupInfo(), edm::DataMixingSiPixelWorker::putSiPixel(), edm::DataMixingSiStripWorker::putSiStrip(), edm::DataMixingSiStripRawWorker::putSiStrip(), PUWorker_, SiPixelWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
|
private |
Definition at line 133 of file DataMixingModule.h.
Referenced by addSignals(), and pileWorker().
|
private |
Definition at line 101 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 99 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 100 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 113 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 97 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 77 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 72 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 78 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 73 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 120 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 119 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 79 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 74 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 110 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 152 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 90 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 84 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 126 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 127 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 125 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 92 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 86 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 91 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 85 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 161 of file DataMixingModule.h.
Referenced by Mixins._Labelable::_findDependencies(), Mixins._TypedParameterizable::dumpPython(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 121 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 129 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 130 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 132 of file DataMixingModule.h.
Referenced by DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 137 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 107 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 117 of file DataMixingModule.h.
Referenced by DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 98 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 148 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 104 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 144 of file DataMixingModule.h.
|
private |
Definition at line 142 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 141 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 157 of file DataMixingModule.h.
|
private |
Definition at line 143 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 93 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 87 of file DataMixingModule.h.
Referenced by DataMixingModule().