Private Types | |
using | EnergyMap = std::vector< std::pair< unsigned, float >> |
Private Member Functions | |
void | add (const SimClusterCollection &clusters, const CaloParticleCollection &particles, const EnergyMap &energyMap) |
Private Attributes | |
SimClusterRefProd | clusterRef_ |
std::unique_ptr < SimClusterCollection > | newClusters_ |
std::unique_ptr < CaloParticleCollection > | newParticles_ |
std::string | particleCollectionDM_ |
edm::InputTag | particlePileInputTag_ |
edm::EDGetTokenT < SimClusterCollection > | sigClusterToken_ |
edm::EDGetTokenT< EnergyMap > | sigEnergyToken_ |
edm::EDGetTokenT < CaloParticleCollection > | sigParticleToken_ |
std::unordered_map< unsigned, float > | totalEnergy_ |
Definition at line 17 of file PreMixingCaloParticleWorker.cc.
|
private |
Definition at line 31 of file PreMixingCaloParticleWorker.cc.
PreMixingCaloParticleWorker::PreMixingCaloParticleWorker | ( | const edm::ParameterSet & | ps, |
edm::ProducesCollector | producesCollector, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 49 of file PreMixingCaloParticleWorker.cc.
References particleCollectionDM_, and edm::ProducesCollector::produces().
|
overridedefault |
|
private |
Definition at line 101 of file PreMixingCaloParticleWorker.cc.
References clusterRef_, filterCSVwithJSON::copy, newClusters_, newParticles_, AlCaHLTBitMon_ParallelJobs::p, and totalEnergy_.
Referenced by addPileups(), addSignals(), and counter.Counter::register().
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 86 of file PreMixingCaloParticleWorker.cc.
References add(), HLT_FULL_cff::clusters, relval_parameters_module::energy, PileUpEventPrincipal::getByLabel(), edm::HandleBase::isValid(), particlePileInputTag_, and HLT_FULL_cff::particles.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 71 of file PreMixingCaloParticleWorker.cc.
References add(), HLT_FULL_cff::clusters, relval_parameters_module::energy, edm::Event::getByToken(), edm::HandleBase::isValid(), HLT_FULL_cff::particles, sigClusterToken_, sigEnergyToken_, and sigParticleToken_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 61 of file PreMixingCaloParticleWorker.cc.
References clusterRef_, iEvent, newClusters_, newParticles_, and particleCollectionDM_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 129 of file PreMixingCaloParticleWorker.cc.
References HLT_FULL_cff::fraction, eostools::move(), newClusters_, newParticles_, particleCollectionDM_, edm::Event::put(), and totalEnergy_.
|
private |
Definition at line 46 of file PreMixingCaloParticleWorker.cc.
Referenced by add(), and initializeEvent().
|
private |
Definition at line 44 of file PreMixingCaloParticleWorker.cc.
Referenced by add(), initializeEvent(), and put().
|
private |
Definition at line 45 of file PreMixingCaloParticleWorker.cc.
Referenced by add(), initializeEvent(), and put().
|
private |
Definition at line 40 of file PreMixingCaloParticleWorker.cc.
Referenced by initializeEvent(), PreMixingCaloParticleWorker(), and put().
|
private |
Definition at line 39 of file PreMixingCaloParticleWorker.cc.
Referenced by addPileups().
|
private |
Definition at line 35 of file PreMixingCaloParticleWorker.cc.
Referenced by addSignals().
|
private |
Definition at line 37 of file PreMixingCaloParticleWorker.cc.
Referenced by addSignals().
|
private |
Definition at line 36 of file PreMixingCaloParticleWorker.cc.
Referenced by addSignals().
|
private |
Definition at line 42 of file PreMixingCaloParticleWorker.cc.