#include <DataMixingModule.h>
Public Member Functions | |
void | addSignals (const edm::Event &e, const edm::EventSetup &ES) override |
void | beginLuminosityBlock (LuminosityBlock const &l1, EventSetup const &c) override |
void | beginRun (edm::Run const &run, edm::EventSetup const &eventSetup) override |
void | checkSignal (const edm::Event &e) override |
void | createnewEDProduct () override |
DataMixingModule (const edm::ParameterSet &ps, MixingCache::Config const *globalConf) | |
void | doPileUp (edm::Event &e, const edm::EventSetup &ES) override |
void | endLuminosityBlock (LuminosityBlock const &l1, EventSetup const &c) override |
void | endRun (const edm::Run &r, const edm::EventSetup &setup) override |
void | initializeEvent (edm::Event const &e, edm::EventSetup const &eventSetup) override |
bool | pileWorker (const edm::EventPrincipal &, int bcr, int EventId, const edm::EventSetup &ES, ModuleCallingContext const *) |
void | put (edm::Event &e, const edm::EventSetup &ES) override |
~DataMixingModule () override | |
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 |
void | beginLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &setup) override |
void | beginRun (const edm::Run &r, const edm::EventSetup &setup) override |
BMixingModule (const edm::ParameterSet &ps, MixingCache::Config const *globalConf) | |
void | endLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &setup) override |
void | endRun (const edm::Run &r, const edm::EventSetup &setup) override |
virtual void | finalizeEvent (edm::Event &event, const edm::EventSetup &setup) |
bool | poisson () const |
void | produce (edm::Event &e1, const edm::EventSetup &c) override |
void | registerLateConsumes (eventsetup::ESRecordsToProductResolverIndices const &) override |
virtual void | reload (const edm::EventSetup &setup) |
virtual void | setBcrOffset () |
virtual void | setSourceOffset (const unsigned int s) |
~BMixingModule () override | |
Public Member Functions inherited from edm::stream::EDProducer< GlobalCache< MixingCache::Config > > | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
virtual void | getSubdetectorNames () |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< GlobalCache< MixingCache::Config > > | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Static Public Member Functions inherited from edm::BMixingModule | |
static void | globalEndJob (MixingCache::Config *) |
static std::unique_ptr< MixingCache::Config > | initializeGlobalCache (edm::ParameterSet const &) |
Protected Member Functions inherited from edm::BMixingModule | |
void | beginStream (edm::StreamID) override |
void | dropUnwantedBranches (std::vector< std::string > const &wantedBranches) |
void | endStream () override |
void | setupPileUpEvent (const edm::EventSetup &setup) |
void | update (edm::EventSetup const &) |
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< float > | TrueNumInteractions_ |
int | vertexOffset_ |
Static Protected Attributes inherited from edm::BMixingModule | |
static const unsigned int | maxNbSources_ = 4 |
Definition at line 45 of file DataMixingModule.h.
|
explicit |
standard constructor
Definition at line 31 of file DataMixingModule.cc.
References CSCComparatorDigiCollectionDM_, CSCStripDigiCollectionDM_, CSCWireDigiCollectionDM_, DTDigiCollectionDM_, EBDigiCollectionDM_, EBRecHitCollectionDM_, EEDigiCollectionDM_, EERecHitCollectionDM_, EMDigiWorker_, EMWorker_, ESDigiCollectionDM_, ESRecHitCollectionDM_, edm::ParameterSet::exists(), mixOne_sim_on_sim_cfi::GenPUProtonsInputTags, edm::ParameterSet::getParameter(), getSubdetectorNames(), HBHEDigiCollectionDM_, HBHEPileInputTag_, HBHERecHitCollectionDM_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, HFDigiCollectionDM_, HFPileInputTag_, HFRecHitCollectionDM_, HODigiCollectionDM_, HOPileInputTag_, HORecHitCollectionDM_, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MergeTrackerDigis_, MuonWorker_, PixelDigiCollectionDM_, PUWorker_, QIE10DigiCollectionDM_, QIE10PileInputTag_, QIE11DigiCollectionDM_, QIE11PileInputTag_, RPCDigiCollectionDM_, SiPixelWorker_, SiStripDigiCollectionDM_, SiStripRawWorker_, SiStripWorker_, AlCaHLTBitMon_QueryRunRegistry::string, tok_hbhe_, tok_hf_, tok_ho_, tok_qie10_, tok_qie11_, tok_zdc_, tokDB_, useSiStripRawDigi_, ZDCDigiCollectionDM_, ZDCPileInputTag_, and ZDCRecHitCollectionDM_.
|
override |
Default destructor
Definition at line 254 of file DataMixingModule.cc.
References EMDigiWorker_, EMWorker_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MuonWorker_, PUWorker_, SiPixelWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 281 of file DataMixingModule.cc.
References AddedPileup_, edm::DataMixingEMWorker::addEMSignals(), edm::DataMixingEMDigiWorker::addEMSignals(), edm::DataMixingHcalWorker::addHcalSignals(), edm::DataMixingHcalDigiWorker::addHcalSignals(), edm::DataMixingHcalDigiWorkerProd::addHcalSignals(), edm::DataMixingMuonWorker::addMuonSignals(), edm::DataMixingSiPixelWorker::addSiPixelSignals(), edm::DataMixingSiStripWorker::addSiStripSignals(), edm::DataMixingSiStripRawWorker::addSiStripSignals(), MillePedeFileConverter_cfg::e, EMDigiWorker_, EMWorker_, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, LogDebug, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MuonWorker_, SiPixelWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
|
override |
Definition at line 462 of file DataMixingModule.cc.
References edm::BMixingModule::beginLuminosityBlock(), and DummyCfis::c.
|
override |
Definition at line 249 of file DataMixingModule.cc.
References edm::BMixingModule::beginRun(), and writedatasetfile::run.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 381 of file DataMixingModule.cc.
References MillePedeFileConverter_cfg::e, edm::BMixingModule::inputSources_, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, pileWorker(), edm::source(), and edm::BMixingModule::TrueNumInteractions_.
|
override |
Definition at line 466 of file DataMixingModule.cc.
References DummyCfis::c, and edm::BMixingModule::endLuminosityBlock().
|
override |
Definition at line 251 of file DataMixingModule.cc.
References edm::BMixingModule::endRun(), and writedatasetfile::run.
|
privatevirtual |
|
overridevirtual |
bool DataMixingModule::pileWorker | ( | const edm::EventPrincipal & | ep, |
int | bcr, | ||
int | EventId, | ||
const edm::EventSetup & | ES, | ||
edm::ModuleCallingContext const * | mcc | ||
) |
Definition at line 318 of file DataMixingModule.cc.
References AddedPileup_, edm::DataMixingEMWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingHcalWorker::addHcalPileups(), edm::DataMixingHcalDigiWorker::addHcalPileups(), edm::DataMixingHcalDigiWorkerProd::addHcalPileups(), edm::DataMixingMuonWorker::addMuonPileups(), edm::DataMixingPileupCopy::addPileupInfo(), edm::DataMixingSiPixelWorker::addSiPixelPileups(), edm::DataMixingSiStripWorker::addSiStripPileups(), edm::DataMixingSiStripRawWorker::addSiStripPileups(), EMDigiWorker_, EMWorker_, SiStripBadComponentsDQMServiceTemplate_cfg::ep, HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, LogDebug, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MuonWorker_, PUWorker_, edm::BMixingModule::setupPileUpEvent(), SiPixelWorker_, SiStripRawWorker_, SiStripWorker_, and useSiStripRawDigi_.
Referenced by doPileUp().
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 418 of file DataMixingModule.cc.
References hltParticleFlowClusterECAL_cfi::bunchSpacing, MillePedeFileConverter_cfg::e, EMDigiWorker_, EMWorker_, edm::DataMixingPileupCopy::getPileupInfo(), HcalDigiWorker_, HcalDigiWorkerProd_, HcalWorker_, MergeEMDigis_, MergeHcalDigis_, MergeHcalDigisProd_, MergePileup_, MuonWorker_, edm::DataMixingEMWorker::putEM(), edm::DataMixingEMDigiWorker::putEM(), edm::DataMixingHcalWorker::putHcal(), edm::DataMixingHcalDigiWorker::putHcal(), edm::DataMixingHcalDigiWorkerProd::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 173 of file DataMixingModule.h.
Referenced by addSignals(), and pileWorker().
|
private |
Definition at line 124 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 120 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 122 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 118 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 83 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 151 of file DataMixingModule.h.
|
private |
Definition at line 75 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 85 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 152 of file DataMixingModule.h.
|
private |
Definition at line 77 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 141 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 140 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 87 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 153 of file DataMixingModule.h.
|
private |
Definition at line 79 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 103 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 154 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 93 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 147 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 148 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 146 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 156 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 97 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 105 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 155 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 95 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 197 of file DataMixingModule.h.
Referenced by Modules.SwitchProducer::__addParameter(), SequenceTypes.DummyModule::__repr__(), Modules.SwitchProducer::__setattr__(), Mixins._Labelable::_findDependencies(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 142 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 169 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 170 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 172 of file DataMixingModule.h.
Referenced by DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 134 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 177 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 131 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 138 of file DataMixingModule.h.
Referenced by DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 111 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 158 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 113 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 159 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 119 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 188 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 127 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 184 of file DataMixingModule.h.
|
private |
Definition at line 182 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 181 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 193 of file DataMixingModule.h.
|
private |
Definition at line 160 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 162 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 161 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 164 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 165 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 163 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 167 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 183 of file DataMixingModule.h.
Referenced by addSignals(), DataMixingModule(), pileWorker(), put(), and ~DataMixingModule().
|
private |
Definition at line 109 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 157 of file DataMixingModule.h.
Referenced by DataMixingModule().
|
private |
Definition at line 99 of file DataMixingModule.h.
Referenced by DataMixingModule().