Go to the documentation of this file.
15 HcalHaloDataProducer::HcalHaloDataProducer(
const edm::ParameterSet& iConfig) : HcalAlgo(consumesCollector()) {
36 produces<HcalHaloData>();
69 iEvent.put(std::make_unique<HcalHaloData>(
70 HcalAlgo.
Calculate(*TheCaloGeometry, TheHBHERecHits, TheCaloTowers, TheEBRecHits, TheEERecHits, iSetup)));
edm::InputTag IT_HBHERecHit
edm::EDGetTokenT< CaloTowerCollection > calotower_token_
void SetRecHitEnergyThresholds(float HB, float HE)
edm::EDGetTokenT< EERecHitCollection > eerechit_token_
edm::EDGetTokenT< EBRecHitCollection > ebrechit_token_
edm::InputTag IT_HORecHit
edm::InputTag IT_EBRecHit
float SumHcalEnergyThreshold
~HcalHaloDataProducer() override
edm::EDGetTokenT< HFRecHitCollection > hfrechit_token_
float HBRecHitEnergyThreshold
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
edm::InputTag IT_CaloTowers
void SetPhiWedgeThresholds(float SumE, int nhits)
edm::EDGetTokenT< HBHERecHitCollection > hbherechit_token_
void produce(edm::Event &, const edm::EventSetup &) override
edm::InputTag IT_HFRecHit
edm::InputTag IT_EERecHit
T getParameter(std::string const &) const
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > calogeometry_token_
float HERecHitEnergyThreshold
reco::HcalHaloData Calculate(const CaloGeometry &TheCaloGeometry, edm::Handle< HBHERecHitCollection > &TheHBHERecHits, edm::Handle< CaloTowerCollection > &TheCaloTowers, edm::Handle< EBRecHitCollection > &TheEBRecHits, edm::Handle< EERecHitCollection > &TheEERecHits, const edm::EventSetup &TheSetup)