Public Member Functions | |
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 | |
Public Member Functions inherited from PreMixingWorker | |
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 |
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_, bsc_activity_cfg::clusters, filterCSVwithJSON::copy, hcalRecHitTable_cff::energy, newClusters_, newParticles_, AlCaHLTBitMon_ParallelJobs::p, ecalTrigSettings_cff::particles, and totalEnergy_.
Referenced by addPileups(), addSignals(), and counter.Counter::register().
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 86 of file PreMixingCaloParticleWorker.cc.
References add(), bsc_activity_cfg::clusters, hcalRecHitTable_cff::energy, PileUpEventPrincipal::getByLabel(), particlePileInputTag_, and ecalTrigSettings_cff::particles.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 71 of file PreMixingCaloParticleWorker.cc.
References add(), bsc_activity_cfg::clusters, hcalRecHitTable_cff::energy, iEvent, ecalTrigSettings_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_2024v13_cff::fraction, iEvent, eostools::move(), newClusters_, newParticles_, particleCollectionDM_, 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.