#include <PreMixingPileupCopy.h>
Public Member Functions | |
void | addPileupInfo (PileUpEventPrincipal const &pep) |
int | getBunchSpacing () const |
const std::vector< PileupSummaryInfo > & | getPileupSummaryInfo () const |
float | getTrueNumInteractions (PileUpEventPrincipal const &pep) const |
PreMixingPileupCopy (const edm::ParameterSet &ps, edm::ProducesCollector, edm::ConsumesCollector &&iC) | |
void | putPileupInfo (edm::Event &e) |
~PreMixingPileupCopy ()=default | |
Private Attributes | |
int | bsStorage_ |
edm::InputTag | bunchSpacingInputTag_ |
edm::InputTag | cfPlaybackInputTag_ |
CrossingFramePlaybackInfoNew | crossingFramePlaybackStorage_ |
bool | foundPlayback_ |
std::vector< std::vector< reco::GenParticle > > | genPUProtons_ |
std::vector< std::string > | genPUProtons_labels_ |
std::vector< edm::InputTag > | genPUProtonsInputTags_ |
edm::InputTag | pileupInfoInputTag_ |
std::vector< PileupSummaryInfo > | pileupSummaryStorage_ |
Definition at line 34 of file PreMixingPileupCopy.h.
PreMixingPileupCopy::PreMixingPileupCopy | ( | const edm::ParameterSet & | ps, |
edm::ProducesCollector | producesCollector, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 12 of file PreMixingPileupCopy.cc.
References genPUProtonsInputTags_, edm::ProducesCollector::produces(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
default |
void PreMixingPileupCopy::addPileupInfo | ( | PileUpEventPrincipal const & | pep | ) |
Definition at line 41 of file PreMixingPileupCopy.cc.
References bsStorage_, bunchSpacingInputTag_, cfPlaybackInputTag_, crossingFramePlaybackStorage_, foundPlayback_, genPUProtons_, genPUProtons_labels_, genPUProtonsInputTags_, PileUpEventPrincipal::getByLabel(), edm::EventPrincipal::id(), edm::HandleBase::isValid(), LogDebug, pileupInfoInputTag_, pileupSummaryStorage_, PileUpEventPrincipal::principal(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by edm::PreMixingModule::pileWorker().
|
inline |
Definition at line 43 of file PreMixingPileupCopy.h.
References MillePedeFileConverter_cfg::e.
Referenced by edm::PreMixingModule::put().
|
inline |
Definition at line 42 of file PreMixingPileupCopy.h.
Referenced by edm::PreMixingModule::put().
float PreMixingPileupCopy::getTrueNumInteractions | ( | PileUpEventPrincipal const & | pep | ) | const |
Definition at line 28 of file PreMixingPileupCopy.cc.
References Exception, PileUpEventPrincipal::getByLabel(), pileupInfoInputTag_, and alignCSCRings::s.
Referenced by edm::PreMixingModule::pileWorker().
void PreMixingPileupCopy::putPileupInfo | ( | edm::Event & | e | ) |
Definition at line 81 of file PreMixingPileupCopy.cc.
References bsStorage_, crossingFramePlaybackStorage_, foundPlayback_, genPUProtons_, genPUProtons_labels_, training_settings::idx, eostools::move(), pileupSummaryStorage_, and edm::Event::put().
Referenced by edm::PreMixingModule::put().
|
private |
Definition at line 56 of file PreMixingPileupCopy.h.
Referenced by addPileupInfo(), and putPileupInfo().
|
private |
Definition at line 48 of file PreMixingPileupCopy.h.
Referenced by addPileupInfo().
|
private |
Definition at line 49 of file PreMixingPileupCopy.h.
Referenced by addPileupInfo().
|
private |
Definition at line 54 of file PreMixingPileupCopy.h.
Referenced by addPileupInfo(), and putPileupInfo().
|
private |
Definition at line 61 of file PreMixingPileupCopy.h.
Referenced by addPileupInfo(), and putPileupInfo().
|
private |
Definition at line 59 of file PreMixingPileupCopy.h.
Referenced by addPileupInfo(), and putPileupInfo().
|
private |
Definition at line 58 of file PreMixingPileupCopy.h.
Referenced by addPileupInfo(), and putPileupInfo().
|
private |
Definition at line 51 of file PreMixingPileupCopy.h.
Referenced by addPileupInfo(), and PreMixingPileupCopy().
|
private |
Definition at line 47 of file PreMixingPileupCopy.h.
Referenced by addPileupInfo(), and getTrueNumInteractions().
|
private |
Definition at line 55 of file PreMixingPileupCopy.h.
Referenced by addPileupInfo(), and putPileupInfo().