File indexing completed on 2024-04-06 12:25:16
0001 #ifndef HiEgammaAlgos_EcalClusterIsoCalculator_h
0002 #define HiEgammaAlgos_EcalClusterIsoCalculator_h
0003
0004 #include "DataFormats/EgammaReco/interface/BasicClusterFwd.h"
0005 #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
0006
0007 class EcalClusterIsoCalculator {
0008 public:
0009 EcalClusterIsoCalculator(const edm::Handle<reco::BasicClusterCollection> barrel,
0010 const edm::Handle<reco::BasicClusterCollection> endcap);
0011
0012
0013 double getEcalClusterIso(const reco::SuperClusterRef clus, const double radius, const double threshold);
0014
0015 double getBkgSubEcalClusterIso(const reco::SuperClusterRef clus, const double radius, const double threshold);
0016
0017 private:
0018 const reco::BasicClusterCollection *fEBclusters_;
0019 const reco::BasicClusterCollection *fEEclusters_;
0020 };
0021
0022 #endif