#include <MixingModule.h>
Public Types | |
typedef std::vector < DigiAccumulatorMixMod * > | Accumulators |
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 |
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_ |
edm::ESGetToken < MixingModuleConfig, MixingRcd > | configToken_ |
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_ |
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 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(), branchesActivate(), edm::BMixingModule::bunchSpace_, edm::MixingCache::Config::configFromDB_, configToken_, createDigiAccumulators(), edm::BMixingModule::dropUnwantedBranches(), edm::InputTag::encode(), edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, cuy::ii, HLT_FULL_cff::InputTag, inputTagPlayback_, edm::InputTag::instance(), edm::InputTag::kSkipCurrentProcess, label, LogDebug, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, mixProdStep1_, mixProdStep2_, edm::names, mixObjects_cfi::pcrossingFrames, edm::BMixingModule::playback_, TrackValidation_cff::pset, skipSignal_, edm::sort_all(), AlCaHLTBitMon_QueryRunRegistry::string, fireworks::subdets, GlobalPosition_Frontier_DevDB_cff::tag, getPayloadData::tags, useCurrentProcessOnly_, wantedBranches_, workersObjects_, and wrapLongTimes_.
|
override |
Default destructor
Definition at line 346 of file MixingModule.cc.
References adjustersObjects_, digiAccumulators_, and workersObjects_.
void MixingModule::accumulateEvent | ( | edm::Event const & | event, |
edm::EventSetup const & | setup | ||
) |
Definition at line 680 of file MixingModule.cc.
References digiAccumulators_.
Referenced by addSignals(), and pileAllWorkers().
void MixingModule::accumulateEvent | ( | PileUpEventPrincipal const & | event, |
edm::EventSetup const & | setup, | ||
edm::StreamID const & | streamID | ||
) |
Definition at line 688 of file MixingModule.cc.
References digiAccumulators_.
|
overrideprivatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 360 of file MixingModule.cc.
References accumulateEvent(), edm::EventBase::id(), cuy::ii, LogDebug, skipSignal_, and workers_.
|
inlinevirtual |
Definition at line 59 of file MixingModule.h.
|
override |
Definition at line 654 of file MixingModule.cc.
References edm::BMixingModule::beginLuminosityBlock(), and digiAccumulators_.
|
override |
Definition at line 636 of file MixingModule.cc.
References edm::BMixingModule::beginRun(), and digiAccumulators_.
|
privatevirtual |
Definition at line 305 of file MixingModule.cc.
References EgammaHLTValidationUtils::getProcessName(), HLT_FULL_cff::InputTag, edm::InputTag::instance(), edm::InputTag::label(), FSQHLTOfflineSource_cfi::processName, AlCaHLTBitMon_QueryRunRegistry::string, useCurrentProcessOnly_, and wantedBranches_.
Referenced by MixingModule().
|
overrideprivatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 319 of file MixingModule.cc.
References adjusters_, adjustersObjects_, or, skipSignal_, workers_, and workersObjects_.
|
private |
Definition at line 276 of file MixingModule.cc.
References digiAccumulators_, edm::ParameterSet::existsAs(), edm::DigiAccumulatorMixModFactory::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), edm::ParameterSet::getParameterSet(), edm::DigiAccumulatorMixModFactory::makeDigiAccumulator(), and TrackValidation_cff::pset.
Referenced by MixingModule().
|
overrideprivatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 336 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 403 of file MixingModule.cc.
References SplitLinear::begin, edm::BMixingModule::bunchSpace_, digiAccumulators_, dataset::end, Exception, edm::Event::getByLabel(), edm::EventBase::id(), cuy::ii, edm::BMixingModule::inputSources_, inputTagPlayback_, B2GTnPMonitor_cfi::item, edm::BMixingModule::maxBunch_, edm::BMixingModule::maxNbSources_, edm::BMixingModule::minBunch_, edm::Event::moduleCallingContext(), eostools::move(), pileAllWorkers(), edm::BMixingModule::playback_, playbackInfo_, edm::Event::put(), CrossingFramePlaybackInfoNew::setInfo(), edm::source(), edm::Event::streamID(), edm::BMixingModule::TrueNumInteractions_, and workers_.
|
override |
Definition at line 663 of file MixingModule.cc.
References digiAccumulators_, and edm::BMixingModule::endLuminosityBlock().
|
override |
Definition at line 645 of file MixingModule.cc.
References digiAccumulators_, and edm::BMixingModule::endRun().
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 698 of file MixingModule.cc.
References digiAccumulators_.
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 672 of file MixingModule.cc.
References digiAccumulators_.
|
private |
Definition at line 374 of file MixingModule.cc.
References accumulateEvent(), adjusters_, edm::BMixingModule::bunchSpace_, edm::EventPrincipal::id(), LogDebug, and workers_.
Referenced by doPileUp().
|
overrideprivatevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 629 of file MixingModule.cc.
References eostools::move(), playbackInfo_, and edm::Event::put().
|
overridevirtual |
Reimplemented from edm::BMixingModule.
Definition at line 293 of file MixingModule.cc.
References edm::BMixingModule::bunchSpace_, submitPVResolutionJobs::config, configToken_, edm::EventSetup::getData(), cuy::ii, edm::BMixingModule::maxBunch_, edm::BMixingModule::minBunch_, and workersObjects_.
|
private |
Definition at line 104 of file MixingModule.h.
Referenced by checkSignal(), and pileAllWorkers().
|
private |
Definition at line 105 of file MixingModule.h.
Referenced by checkSignal(), MixingModule(), and ~MixingModule().
|
private |
Definition at line 103 of file MixingModule.h.
Referenced by MixingModule(), and reload().
|
private |
Definition at line 114 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 111 of file MixingModule.h.
Referenced by addSignals(), checkSignal(), and MixingModule().
|
private |
Definition at line 109 of file MixingModule.h.
Referenced by branchesActivate(), and MixingModule().
|
private |
Definition at line 108 of file MixingModule.h.
Referenced by branchesActivate(), and MixingModule().
|
private |
Definition at line 106 of file MixingModule.h.
Referenced by addSignals(), checkSignal(), createnewEDProduct(), doPileUp(), and pileAllWorkers().
|
private |
Definition at line 107 of file MixingModule.h.
Referenced by checkSignal(), MixingModule(), reload(), and ~MixingModule().
|
private |
Definition at line 110 of file MixingModule.h.
Referenced by MixingModule().