#include <DataMixingModule.h>
Public Member Functions | |
virtual void | addSignals (const edm::Event &e, const edm::EventSetup &ES) |
virtual void | beginLuminosityBlock (LuminosityBlock const &l1, EventSetup const &c) override |
void | beginRun (edm::Run const &run, edm::EventSetup const &eventSetup) |
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) override |
virtual void | endLuminosityBlock (LuminosityBlock const &l1, EventSetup const &c) override |
virtual void | endRun (const edm::Run &r, const edm::EventSetup &setup) override |
virtual void | initializeEvent (edm::Event const &e, edm::EventSetup const &eventSetup) |
void | pileWorker (const edm::EventPrincipal &, int bcr, int EventId, const edm::EventSetup &ES, ModuleCallingContext const *) |
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 |
BMixingModule (const edm::ParameterSet &ps) | |
virtual void | finalizeEvent (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 | 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 | |
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 () |
Private Member Functions | |
virtual void | getSubdetectorNames () |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::BMixingModule | |
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::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< 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 inherited from edm::BMixingModule | |
static const unsigned int | maxNbSources_ =4 |
Definition at line 50 of file DataMixingModule.h.
|
explicit |
standard constructor
Definition at line 39 of file DataMixingModule.cc.
References addMCDigiNoise_, edm::EDConsumerBase::consumesCollector(), CSCComparatorDigiCollectionDM_, CSCStripDigiCollectionDM_, CSCWireDigiCollectionDM_, DTDigiCollectionDM_, EBDigiCollectionDM_, EBPileInputTag_, EBRecHitCollectionDM_, EcalDigiWorkerProd_, EEDigiCollectionDM_, EEPileInputTag_, EERecHitCollectionDM_, EMDigiWorker_, EMWorker_, ESDigiCollectionDM_, ESPileInputTag_, ESRecHitCollectionDM_, edm::ParameterSet::exists(), GeneralTrackWorker_, edm::DigiAccumulatorMixModFactory::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), getSubdetectorNames(), edm::ParameterSet::getUntrackedParameter(), HBHEDigiCollectionDM_, HBHEPileInputTag_, HBHERecHitCollectionDM_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, HFDigiCollectionDM_, HFPileInputTag_, HFRecHitCollectionDM_, HODigiCollectionDM_, HOPileInputTag_, HORecHitCollectionDM_, edm::DigiAccumulatorMixModFactory::makeDigiAccumulator(), MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MergeTrackerDigis_, MuonWorker_, PixelDigiCollectionDM_, PUWorker_, fetchall_from_DQM_v2::release, RPCDigiCollectionDM_, edm::DataMixingEcalDigiWorkerProd::setEBAccess(), edm::DataMixingEcalDigiWorkerProd::setEEAccess(), edm::DataMixingEcalDigiWorkerProd::setESAccess(), SiPixelMCDigiWorker_, SiPixelWorker_, SiStripDigiCollectionDM_, SiStripMCDigiWorker_, SiStripRawWorker_, SiStripWorker_, AlCaHLTBitMon_QueryRunRegistry::string, tok_eb_, tok_ee_, tok_es_, tok_hbhe_, tok_hf_, tok_ho_, tok_zdc_, useSiStripRawDigi_, ZDCDigiCollectionDM_, ZDCPileInputTag_, and ZDCRecHitCollectionDM_.
|
virtual |
Default destructor
Definition at line 309 of file DataMixingModule.cc.
References addMCDigiNoise_, EcalDigiWorkerProd_, EMDigiWorker_, EMWorker_, GeneralTrackWorker_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MergeTrackerDigis_, MuonWorker_, PUWorker_, SiPixelMCDigiWorker_, SiPixelWorker_, SiStripMCDigiWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
|
virtual |
Reimplemented from edm::BMixingModule.
Definition at line 334 of file DataMixingModule.cc.
References DigiAccumulatorMixMod::accumulate(), edm::DataMixingEcalDigiWorkerProd::addEcalSignals(), AddedPileup_, edm::DataMixingEMWorker::addEMSignals(), edm::DataMixingEMDigiWorker::addEMSignals(), edm::DataMixingHcalWorker::addHcalSignals(), edm::DataMixingHcalDigiWorker::addHcalSignals(), edm::DataMixingHcalDigiWorkerProd::addHcalSignals(), addMCDigiNoise_, edm::DataMixingMuonWorker::addMuonSignals(), edm::DataMixingSiPixelWorker::addSiPixelSignals(), edm::DataMixingSiPixelMCDigiWorker::addSiPixelSignals(), edm::DataMixingSiStripWorker::addSiStripSignals(), edm::DataMixingSiStripRawWorker::addSiStripSignals(), edm::DataMixingSiStripMCDigiWorker::addSiStripSignals(), EcalDigiWorkerProd_, EMDigiWorker_, EMWorker_, GeneralTrackWorker_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, edm::EventBase::id(), LogDebug, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergeTrackerDigis_, MuonWorker_, SiPixelMCDigiWorker_, SiPixelWorker_, SiStripMCDigiWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 546 of file DataMixingModule.cc.
References edm::BMixingModule::beginLuminosityBlock(), edm::DataMixingEcalDigiWorkerProd::beginLuminosityBlock(), and EcalDigiWorkerProd_.
|
virtual |
Reimplemented from edm::BMixingModule.
Definition at line 292 of file DataMixingModule.cc.
References addMCDigiNoise_, edm::BMixingModule::beginRun(), edm::DataMixingEcalDigiWorkerProd::beginRun(), edm::DataMixingHcalDigiWorkerProd::beginRun(), EcalDigiWorkerProd_, and HcalDigiWorkerProd_.
|
inlinevirtual |
|
inlinevirtual |
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 446 of file DataMixingModule.cc.
References DigiAccumulatorMixMod::finalizeBunchCrossing(), GeneralTrackWorker_, edm::EventBase::id(), DigiAccumulatorMixMod::initializeBunchCrossing(), edm::BMixingModule::inputSources_, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, MergeTrackerDigis_, edm::BMixingModule::minBunch_, edm::Event::moduleCallingContext(), pileWorker(), edm::source(), edm::Event::streamID(), and edm::BMixingModule::TrueNumInteractions_.
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 551 of file DataMixingModule.cc.
References edm::BMixingModule::endLuminosityBlock().
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 300 of file DataMixingModule.cc.
References edm::BMixingModule::endRun().
|
privatevirtual |
Definition at line 237 of file DataMixingModule.cc.
Referenced by DataMixingModule().
|
virtual |
Reimplemented from edm::BMixingModule.
Definition at line 274 of file DataMixingModule.cc.
References addMCDigiNoise_, EcalDigiWorkerProd_, GeneralTrackWorker_, HcalDigiWorkerProd_, DigiAccumulatorMixMod::initializeEvent(), edm::DataMixingSiPixelMCDigiWorker::initializeEvent(), edm::DataMixingHcalDigiWorkerProd::initializeEvent(), edm::DataMixingEcalDigiWorkerProd::initializeEvent(), edm::DataMixingSiStripMCDigiWorker::initializeEvent(), MergeHcalDigisProd_, MergeTrackerDigis_, SiPixelMCDigiWorker_, and SiStripMCDigiWorker_.
void DataMixingModule::pileWorker | ( | const edm::EventPrincipal & | ep, |
int | bcr, | ||
int | EventId, | ||
const edm::EventSetup & | ES, | ||
edm::ModuleCallingContext const * | mcc | ||
) |
Definition at line 380 of file DataMixingModule.cc.
References DigiAccumulatorMixMod::accumulate(), edm::DataMixingEcalDigiWorkerProd::addEcalPileups(), AddedPileup_, edm::DataMixingEMWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingHcalWorker::addHcalPileups(), edm::DataMixingHcalDigiWorkerProd::addHcalPileups(), edm::DataMixingHcalDigiWorker::addHcalPileups(), addMCDigiNoise_, edm::DataMixingMuonWorker::addMuonPileups(), edm::DataMixingPileupCopy::addPileupInfo(), edm::DataMixingSiPixelWorker::addSiPixelPileups(), edm::DataMixingSiPixelMCDigiWorker::addSiPixelPileups(), edm::DataMixingSiStripWorker::addSiStripPileups(), edm::DataMixingSiStripRawWorker::addSiStripPileups(), edm::DataMixingSiStripMCDigiWorker::addSiStripPileups(), EcalDigiWorkerProd_, EMDigiWorker_, EMWorker_, GeneralTrackWorker_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, edm::EventPrincipal::id(), LogDebug, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MergeTrackerDigis_, edm::one::EDProducerBase::moduleDescription(), MuonWorker_, PUWorker_, edm::BMixingModule::setupPileUpEvent(), SiPixelMCDigiWorker_, SiPixelWorker_, SiStripMCDigiWorker_, SiStripRawWorker_, SiStripWorker_, edm::EventPrincipal::streamID(), and useSiStripRawDigi_.
Referenced by doPileUp().
|
virtual |
Reimplemented from edm::BMixingModule.
Definition at line 495 of file DataMixingModule.cc.
References addMCDigiNoise_, EcalDigiWorkerProd_, EMDigiWorker_, EMWorker_, DigiAccumulatorMixMod::finalizeEvent(), GeneralTrackWorker_, edm::DataMixingPileupCopy::getPileupInfo(), HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MergeTrackerDigis_, MuonWorker_, edm::DataMixingEcalDigiWorkerProd::putEcal(), edm::DataMixingEMWorker::putEM(), edm::DataMixingEMDigiWorker::putEM(), edm::DataMixingHcalWorker::putHcal(), edm::DataMixingHcalDigiWorkerProd::putHcal(), edm::DataMixingHcalDigiWorker::putHcal(), edm::DataMixingMuonWorker::putMuon(), edm::DataMixingPileupCopy::putPileupInfo(), edm::DataMixingSiPixelWorker::putSiPixel(), edm::DataMixingSiPixelMCDigiWorker::putSiPixel(), edm::DataMixingSiStripWorker::putSiStrip(), edm::DataMixingSiStripRawWorker::putSiStrip(), edm::DataMixingSiStripMCDigiWorker::putSiStrip(), PUWorker_, SiPixelMCDigiWorker_, SiPixelWorker_, SiStripMCDigiWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
|
private |
Definition at line 158 of file DataMixingModule.h.
Referenced by addSignals(), and pileWorker().
|
private |
Definition at line 170 of file DataMixingModule.h.
Referenced by addSignals(), beginRun(), DataMixingModule(), initializeEvent(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 112 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 110 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 111 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 108 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 88 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 139 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 83 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 129 of file DataMixingModule.h.
Referenced by addSignals(), beginLuminosityBlock(), beginRun(), DataMixingModule(), initializeEvent(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 89 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 140 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 84 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 128 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 90 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 141 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 85 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 180 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), doPileUp(), initializeEvent(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 101 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 142 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 95 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 135 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 136 of file DataMixingModule.h.
Referenced by addSignals(), beginRun(), DataMixingModule(), initializeEvent(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 134 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 103 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 144 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 97 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 102 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 143 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 96 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 189 of file DataMixingModule.h.
Referenced by Mixins._Labelable::_findDependencies(), Mixins._TypedParameterizable::dumpPython(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 130 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 154 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 155 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), initializeEvent(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 157 of file DataMixingModule.h.
Referenced by DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 121 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), doPileUp(), initializeEvent(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 162 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 118 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 125 of file DataMixingModule.h.
Referenced by DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 109 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 175 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), initializeEvent(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 176 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 115 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 167 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), initializeEvent(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 171 of file DataMixingModule.h.
|
private |
Definition at line 168 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 166 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 185 of file DataMixingModule.h.
|
private |
Definition at line 150 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 151 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 152 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 146 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 148 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 147 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 149 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 169 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 145 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 98 of file DataMixingModule.h.
Referenced by DataMixingModule().