37 RoundnessCut = iConfig.
getParameter<
double>(
"RoundnessCutParam");
38 AngleCut = iConfig.
getParameter<
double>(
"AngleCutParam");
48 produces<EcalHaloData>();
91 *TheCaloGeometry, ThePhotons, TheSuperClusters, TheEBRecHits, TheEERecHits, TheESRecHits, TheHBHERecHits, iSetup)));
float EERecHitEnergyThreshold
edm::EDGetTokenT< EBRecHitCollection > ebrechit_token_
void SetAngleCut(float a=4.)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< EERecHitCollection > eerechit_token_
edm::EDGetTokenT< reco::SuperClusterCollection > supercluster_token_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
float EBRecHitEnergyThreshold
edm::InputTag IT_EBRecHit
edm::InputTag IT_SuperCluster
void produce(edm::Event &, const edm::EventSetup &) override
edm::InputTag IT_EERecHit
edm::EDGetTokenT< reco::PhotonCollection > photon_token_
edm::InputTag IT_ESRecHit
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > calogeometry_token_
void SetRecHitEnergyThresholds(float EB, float EE, float ES)
edm::EDGetTokenT< ESRecHitCollection > esrechit_token_
float ESRecHitEnergyThreshold
void SetPhiWedgeThresholds(float SumE, int nhits)
float SumEcalEnergyThreshold
edm::InputTag IT_HBHERecHit
T getParameter(std::string const &) const
reco::EcalHaloData Calculate(const CaloGeometry &TheCaloGeometry, edm::Handle< reco::PhotonCollection > &ThePhotons, edm::Handle< reco::SuperClusterCollection > &TheSuperClusters, edm::Handle< EBRecHitCollection > &TheEBRecHits, edm::Handle< EERecHitCollection > &TheEERecHits, edm::Handle< ESRecHitCollection > &TheESRecHits, edm::Handle< HBHERecHitCollection > &TheHBHERecHits, const edm::EventSetup &TheSetup)
edm::EDGetTokenT< HBHERecHitCollection > hbherechit_token_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
~EcalHaloDataProducer() override
void SetRoundnessCut(float r=100.)