#include <MixingModule.h>
Public Types | |
typedef std::vector< DigiAccumulatorMixMod * > | Accumulators |
Public Types inherited from edm::stream::EDProducer< GlobalCache< MixingCache::Config > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Member Functions | |
void | accumulateEvent (Event const &event, EventSetup const &setup) |
void | accumulateEvent (PileUpEventPrincipal const &event, EventSetup const &setup, edm::StreamID const &) |
virtual void | beginJob () |
void | beginLuminosityBlock (LuminosityBlock const &l1, EventSetup const &c) override |
void | beginRun (Run const &r1, EventSetup const &c) override |
void | endLuminosityBlock (LuminosityBlock const &l1, EventSetup const &c) override |
void | endRun (Run const &r1, EventSetup const &c) override |
void | finalizeEvent (Event &event, EventSetup const &setup) override |
void | initializeEvent (Event const &event, EventSetup const &setup) override |
MixingModule (const edm::ParameterSet &ps, MixingCache::Config const *globalConf) | |
void | reload (const edm::EventSetup &) override |
~MixingModule () 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 |
bool | poisson () const |
void | produce (edm::Event &e1, const edm::EventSetup &c) override |
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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Private Member Functions | |
void | addSignals (const edm::Event &e, const edm::EventSetup &es) override |
virtual void | branchesActivate (const std::string &friendlyName, const std::string &subdet, InputTag &tag, std::string &label) |
void | checkSignal (const edm::Event &e) override |
void | createDigiAccumulators (const edm::ParameterSet &mixingPSet, edm::ConsumesCollector &iC) |
void | createnewEDProduct () override |
void | doPileUp (edm::Event &e, const edm::EventSetup &es) override |
bool | pileAllWorkers (EventPrincipal const &ep, ModuleCallingContext const *, int bcr, int id, int &offset, const edm::EventSetup &setup, edm::StreamID const &) |
void | put (edm::Event &e, const edm::EventSetup &es) override |
Private Attributes | |
std::vector< AdjusterBase * > | adjusters_ |
std::vector< AdjusterBase * > | adjustersObjects_ |
Accumulators | digiAccumulators_ |
InputTag | inputTagPlayback_ |
bool | mixProdStep1_ |
bool | mixProdStep2_ |
CrossingFramePlaybackInfoNew * | playbackInfo_ |
bool | skipSignal_ |
bool | useCurrentProcessOnly_ |
std::vector< std::string > | wantedBranches_ |
std::vector< MixingWorkerBase * > | workers_ |
std::vector< MixingWorkerBase * > | workersObjects_ |
bool | wrapLongTimes_ |
Additional Inherited Members | |
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_ |
const bool | mixProdStep1_ |
const bool | mixProdStep2_ |
edm::ESWatcher< MixingRcd > | parameterWatcher_ |
bool | playback_ |
bool | readDB_ |
std::vector< float > | TrueNumInteractions_ |
int | vertexOffset_ |
Static Protected Attributes inherited from edm::BMixingModule | |
const static unsigned int | maxNbSources_ = 4 |
Definition at line 49 of file MixingModule.h.
typedef std::vector<DigiAccumulatorMixMod*> edm::MixingModule::Accumulators |
Definition at line 51 of file MixingModule.h.
|
explicit |
standard constructor
Definition at line 41 of file MixingModule.cc.
References adjustersObjects_, edm::binary_search_all(), MicroEventContent_cff::branch, branchesActivate(), edm::BMixingModule::bunchSpace_, createDigiAccumulators(), DigiHGCalTB160_cff::crossingFrames, edm::BMixingModule::dropUnwantedBranches(), edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), mps_fire::i, cuy::ii, HLT_FULL_cff::InputTag, inputTagPlayback_, edm::InputTag::kSkipCurrentProcess, label, LogDebug, DigiHGCalTB160_cff::makeCrossingFrame, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, mixProdStep1_, mixProdStep2_, names, mixObjects_cfi::pcrossingFrames, edm::BMixingModule::playback_, muonDTDigis_cfi::pset, skipSignal_, edm::sort_all(), AlCaHLTBitMon_QueryRunRegistry::string, fireworks::subdets, GlobalPosition_Frontier_DevDB_cff::tag, triggerMatcherToHLTDebug_cfi::tags, useCurrentProcessOnly_, wantedBranches_, workersObjects_, and wrapLongTimes_.
|
override |
Default destructor
Definition at line 344 of file MixingModule.cc.
References adjustersObjects_, digiAccumulators_, and workersObjects_.
void MixingModule::accumulateEvent | ( | edm::Event const & | event, |
edm::EventSetup const & | setup | ||
) |
Definition at line 678 of file MixingModule.cc.
References digiAccumulators_, and singleTopDQM_cfi::setup.
Referenced by addSignals(), and pileAllWorkers().
void MixingModule::accumulateEvent | ( | PileUpEventPrincipal const & | event, |
edm::EventSetup const & | setup, | ||
edm::StreamID const & | streamID | ||
) |
Definition at line 686 of file MixingModule.cc.
References digiAccumulators_, and singleTopDQM_cfi::setup.
|
overrideprivatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 358 of file MixingModule.cc.
References accumulateEvent(), MillePedeFileConverter_cfg::e, cuy::ii, LogDebug, singleTopDQM_cfi::setup, skipSignal_, and workers_.
|
inlinevirtual |
Definition at line 59 of file MixingModule.h.
|
override |
Definition at line 652 of file MixingModule.cc.
References edm::BMixingModule::beginLuminosityBlock(), digiAccumulators_, and singleTopDQM_cfi::setup.
|
override |
Definition at line 634 of file MixingModule.cc.
References edm::BMixingModule::beginRun(), digiAccumulators_, writedatasetfile::run, and singleTopDQM_cfi::setup.
|
privatevirtual |
Definition at line 303 of file MixingModule.cc.
References edm::friendlyname::friendlyName(), HLT_FULL_cff::InputTag, label, SimL1EmulatorRepack_CalouGT_cff::processName, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, useCurrentProcessOnly_, and wantedBranches_.
Referenced by MixingModule().
|
overrideprivatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 317 of file MixingModule.cc.
References adjusters_, adjustersObjects_, MillePedeFileConverter_cfg::e, or, skipSignal_, workers_, and workersObjects_.
|
private |
Definition at line 273 of file MixingModule.cc.
References mixOne_premix_on_sim_cfi::accumulator, digiAccumulators_, edm::DigiAccumulatorMixModFactory::get(), edm::ParameterSet::getParameterNames(), edm::ParameterSet::getParameterSet(), and muonDTDigis_cfi::pset.
Referenced by MixingModule().
|
overrideprivatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 334 of file MixingModule.cc.
References cuy::ii, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, playbackInfo_, and workers_.
|
overrideprivatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 401 of file MixingModule.cc.
References genPUProtons_cfi::bunchCrossingList, edm::BMixingModule::bunchSpace_, digiAccumulators_, MillePedeFileConverter_cfg::e, mps_fire::end, Exception, CrossingFramePlaybackInfoNew::getEventId(), CrossingFramePlaybackInfoNew::getNumberOfEvents(), CrossingFramePlaybackInfoExtended::getStartEventId(), cuy::ii, edm::BMixingModule::inputSources_, inputTagPlayback_, B2GTnPMonitor_cfi::item, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, eostools::move(), pileAllWorkers(), edm::BMixingModule::playback_, playbackInfo_, CrossingFramePlaybackInfoNew::setInfo(), singleTopDQM_cfi::setup, edm::source(), edm::BMixingModule::TrueNumInteractions_, mitigatedMETSequence_cff::U, and workers_.
|
override |
Definition at line 661 of file MixingModule.cc.
References digiAccumulators_, edm::BMixingModule::endLuminosityBlock(), and singleTopDQM_cfi::setup.
|
override |
Definition at line 643 of file MixingModule.cc.
References digiAccumulators_, edm::BMixingModule::endRun(), writedatasetfile::run, and singleTopDQM_cfi::setup.
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 696 of file MixingModule.cc.
References digiAccumulators_, and singleTopDQM_cfi::setup.
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 670 of file MixingModule.cc.
References digiAccumulators_, and singleTopDQM_cfi::setup.
|
private |
Definition at line 372 of file MixingModule.cc.
References accumulateEvent(), adjusters_, edm::BMixingModule::bunchSpace_, edm::EventPrincipal::id(), LogDebug, singleTopDQM_cfi::setup, and workers_.
Referenced by doPileUp().
|
overrideprivatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 627 of file MixingModule.cc.
References MillePedeFileConverter_cfg::e, eostools::move(), and playbackInfo_.
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 290 of file MixingModule.cc.
References edm::BMixingModule::bunchSpace_, submitPVResolutionJobs::config, edm::get(), cuy::ii, edm::BMixingModule::maxBunch_, edm::BMixingModule::minBunch_, singleTopDQM_cfi::setup, and workersObjects_.
|
private |
Definition at line 103 of file MixingModule.h.
Referenced by checkSignal(), and pileAllWorkers().
|
private |
Definition at line 104 of file MixingModule.h.
Referenced by checkSignal(), MixingModule(), and ~MixingModule().
|
private |
Definition at line 113 of file MixingModule.h.
Referenced by accumulateEvent(), beginLuminosityBlock(), beginRun(), createDigiAccumulators(), doPileUp(), endLuminosityBlock(), endRun(), finalizeEvent(), initializeEvent(), and ~MixingModule().
|
private |
Definition at line 98 of file MixingModule.h.
Referenced by doPileUp(), and MixingModule().
|
private |
Definition at line 100 of file MixingModule.h.
Referenced by MixingModule().
|
private |
Definition at line 99 of file MixingModule.h.
Referenced by MixingModule().
|
private |
Definition at line 101 of file MixingModule.h.
Referenced by createnewEDProduct(), doPileUp(), and put().
|
private |
Definition at line 110 of file MixingModule.h.
Referenced by addSignals(), checkSignal(), and MixingModule().
|
private |
Definition at line 108 of file MixingModule.h.
Referenced by branchesActivate(), and MixingModule().
|
private |
Definition at line 107 of file MixingModule.h.
Referenced by branchesActivate(), and MixingModule().
|
private |
Definition at line 105 of file MixingModule.h.
Referenced by addSignals(), checkSignal(), createnewEDProduct(), doPileUp(), and pileAllWorkers().
|
private |
Definition at line 106 of file MixingModule.h.
Referenced by checkSignal(), MixingModule(), reload(), and ~MixingModule().
|
private |
Definition at line 109 of file MixingModule.h.
Referenced by MixingModule().