PreMixingCaloParticleWorker(const edm::ParameterSet &ps, edm::ProducesCollector, edm::ConsumesCollector &&iC)
~PreMixingCaloParticleWorker() override=default
std::unordered_map< unsigned, float > totalEnergy_
SimClusterRefProd clusterRef_
std::vector< std::pair< unsigned, float > > EnergyMap
std::vector< CaloParticle > CaloParticleCollection
void put(edm::Event &iEvent, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bunchSpacing) override
void addSignals(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
std::unique_ptr< CaloParticleCollection > newParticles_
void addPileups(PileUpEventPrincipal const &pep, edm::EventSetup const &iSetup) override
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)
void initializeEvent(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
std::string particleCollectionDM_