CMS 3D CMS Logo

EgammaIsoESDetIdCollectionProducer.h
Go to the documentation of this file.
1 #ifndef RECOEGAMMA_EGAMMAISOLATIONALGOS_EGAMMAISOESDETIDCOLLECTIONPRODUCER_H
2 #define RECOEGAMMA_EGAMMAISOLATIONALGOS_EGAMMAISOESDETIDCOLLECTIONPRODUCER_H
3 
4 // -*- C++ -*-
5 //
6 // Package: EgammaIsoESDetIdCollectionProducer
7 // Class: EgammaIsoESDetIdCollectionProducer
8 //
18 // system include files
19 #include <memory>
20 
21 // user include files
29 
38 
40 public:
43  void beginRun(edm::Run const&, const edm::EventSetup&) final;
45  void produce(edm::Event&, const edm::EventSetup&) override;
46 
47 private:
48  void addDetIds(const reco::SuperCluster& superClus,
50  const reco::PFCluster::EEtoPSAssociation& eeClusToESMap,
51  std::vector<DetId>& detIdsToStore);
52 
53  // ----------member data ---------------------------
59 
61 
62  float minSCEt_;
63  float minEleEt_;
64  float minPhoEt_;
65 
66  float maxDR_;
67 };
68 
69 #endif
void produce(edm::Event &, const edm::EventSetup &) override
producer
edm::EDGetTokenT< reco::GsfElectronCollection > elesToken_
edm::EDGetTokenT< reco::PFCluster::EEtoPSAssociation > eeClusToESMapToken_
edm::EDGetTokenT< reco::PFClusterCollection > ecalPFClustersToken_
void beginRun(edm::Run const &, const edm::EventSetup &) final
std::vector< std::pair< CaloClusterPtr::key_type, edm::Ptr< PFCluster > > > EEtoPSAssociation
Definition: PFCluster.h:48
edm::EDGetTokenT< reco::PhotonCollection > phosToken_
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
Definition: PFClusterFwd.h:9
edm::EDGetTokenT< reco::SuperClusterCollection > superClustersToken_
void addDetIds(const reco::SuperCluster &superClus, reco::PFClusterCollection clusters, const reco::PFCluster::EEtoPSAssociation &eeClusToESMap, std::vector< DetId > &detIdsToStore)
Definition: Run.h:45
EgammaIsoESDetIdCollectionProducer(const edm::ParameterSet &)
ctor