|
void | addPileups (PileUpEventPrincipal const &pep, edm::EventSetup const &iSetup) override |
|
void | addSignals (edm::Event const &iEvent, edm::EventSetup const &iSetup) override |
|
void | initializeEvent (edm::Event const &iEvent, edm::EventSetup const &iSetup) override |
|
| PreMixingCaloParticleWorker (const edm::ParameterSet &ps, edm::ProducesCollector, edm::ConsumesCollector &&iC) |
|
void | put (edm::Event &iEvent, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bunchSpacing) override |
|
| ~PreMixingCaloParticleWorker () override=default |
|
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &iLumi, edm::EventSetup const &iSetup) |
|
virtual void | beginRun (edm::Run const &iRun, edm::EventSetup const &iSetup) |
|
virtual void | endRun () |
|
virtual void | finalizeBunchCrossing (edm::Event &iEvent, edm::EventSetup const &iSetup, int bunchCrossing) |
|
virtual void | initializeBunchCrossing (edm::Event const &iEvent, edm::EventSetup const &iSetup, int bunchCrossing) |
|
| PreMixingWorker ()=default |
|
virtual | ~PreMixingWorker ()=default |
|
|
using | EnergyMap = std::vector< std::pair< unsigned, float > > |
|
◆ EnergyMap
◆ PreMixingCaloParticleWorker()
◆ ~PreMixingCaloParticleWorker()
PreMixingCaloParticleWorker::~PreMixingCaloParticleWorker |
( |
| ) |
|
|
overridedefault |
◆ add()
Definition at line 101 of file PreMixingCaloParticleWorker.cc.
117 particle.clearSimClusters();
118 for (
const auto &ref :
p.simClusters()) {
124 for (
const auto &elem :
energy) {
References clusterRef_, bsc_activity_cfg::clusters, filterCSVwithJSON::copy, HCALHighEnergyHPDFilter_cfi::energy, newClusters_, newParticles_, AlCaHLTBitMon_ParallelJobs::p, ecalTrigSettings_cff::particles, and totalEnergy_.
Referenced by addPileups(), addSignals(), and counter.Counter::register().
◆ addPileups()
◆ addSignals()
◆ initializeEvent()
◆ put()
◆ clusterRef_
◆ newClusters_
◆ newParticles_
◆ particleCollectionDM_
std::string PreMixingCaloParticleWorker::particleCollectionDM_ |
|
private |
◆ particlePileInputTag_
◆ sigClusterToken_
◆ sigEnergyToken_
◆ sigParticleToken_
◆ totalEnergy_
std::unordered_map<unsigned, float> PreMixingCaloParticleWorker::totalEnergy_ |
|
private |
std::unordered_map< unsigned, float > totalEnergy_
SimClusterRefProd clusterRef_
std::vector< std::pair< unsigned, float > > EnergyMap
std::vector< CaloParticle > CaloParticleCollection
std::unique_ptr< CaloParticleCollection > newParticles_
edm::EDGetTokenT< EnergyMap > sigEnergyToken_
edm::InputTag particlePileInputTag_
edm::EDGetTokenT< SimClusterCollection > sigClusterToken_
std::unique_ptr< SimClusterCollection > newClusters_
edm::EDGetTokenT< CaloParticleCollection > sigParticleToken_
void add(const SimClusterCollection &clusters, const CaloParticleCollection &particles, const EnergyMap &energyMap)
std::string particleCollectionDM_