CMS 3D CMS Logo

EgammaIsoHcalDetIdCollectionProducer.h
Go to the documentation of this file.
1 #ifndef RECOEGAMMA_EGAMMAISOLATIONALGOS_EGAMMAISOHCALDETIDCOLLECTIONPRODUCER_H
2 #define RECOEGAMMA_EGAMMAISOLATIONALGOS_EGAMMAISOHCALDETIDCOLLECTIONPRODUCER_H
3 
4 
5 // -*- C++ -*-
6 //
7 // Package: EgammaIsoHcalDetIdCollectionProducer
8 // Class: EgammaIsoHcalDetIdCollectionProducer
9 //
20 // system include files
21 #include <memory>
22 
23 // user include files
31 
39 
41 
42 
43 
45 public:
48  virtual void beginRun (edm::Run const&, const edm::EventSetup&) override final;
50  virtual void produce(edm::Event &, const edm::EventSetup&) override;
51 
52 private:
53  void addDetIds(const reco::SuperCluster& superClus,const HBHERecHitCollection& recHits,std::vector<DetId>& detIdsToStore);
54 
55  // ----------member data ---------------------------
60 
62 
63  float minSCEt_;
64  float minEleEt_;
65  float minPhoEt_;
66 
67  int maxDIEta_;
68  int maxDIPhi_;
69 
71 
73 
74 };
75 
76 #endif
virtual void produce(edm::Event &, const edm::EventSetup &) override
producer
edm::EDGetTokenT< reco::SuperClusterCollection > superClustersToken_
edm::EDGetTokenT< HBHERecHitCollection > recHitsToken_
edm::EDGetTokenT< reco::GsfElectronCollection > elesToken_
EgammaIsoHcalDetIdCollectionProducer(const edm::ParameterSet &)
ctor
edm::ESHandle< CaloTowerConstituentsMap > towerMap_
edm::EDGetTokenT< reco::PhotonCollection > phosToken_
void addDetIds(const reco::SuperCluster &superClus, const HBHERecHitCollection &recHits, std::vector< DetId > &detIdsToStore)
virtual void beginRun(edm::Run const &, const edm::EventSetup &) override final
Definition: Run.h:42