CMS 3D CMS Logo

HcalPFClusterIsolation.h
Go to the documentation of this file.
1 #ifndef EgammaIsolationProducers_HcalPFClusterIsolation_h
2 #define EgammaIsolationProducers_HcalPFClusterIsolation_h
3 
4 //*****************************************************************************
5 // File: HcalPFClusterIsolation.h
6 // ----------------------------------------------------------------------------
7 // OrigAuth: Matteo Sani
8 // Institute: UCSD
9 //*****************************************************************************
10 
13 
14 #include <vector>
15 
16 template<typename T1>
18  public:
19 
20  typedef std::vector<T1> T1Collection;
22 
24  double drVetoBarrel,
25  double drVetoEndcap,
26  double etaStripBarrel,
27  double etaStripEndcap,
28  double energyBarrel,
29  double energyEndcap,
30  bool useEt);
31 
33  double getSum(const T1Ref candRef, const std::vector<edm::Handle<reco::PFClusterCollection>>& clusterHandles);
34 
35  private:
36  const double drMax_;
37  const double drVetoBarrel_;
38  const double drVetoEndcap_;
39  const double etaStripBarrel_;
40  const double etaStripEndcap_;
41  const double energyBarrel_;
42  const double energyEndcap_;
43  const bool useEt_;
44 
45 };
46 
47 #endif
std::vector< T1 > T1Collection
edm::Ref< T1Collection > T1Ref
double getSum(const T1Ref candRef, const std::vector< edm::Handle< reco::PFClusterCollection >> &clusterHandles)
HcalPFClusterIsolation(double drMax, double drVetoBarrel, double drVetoEndcap, double etaStripBarrel, double etaStripEndcap, double energyBarrel, double energyEndcap, bool useEt)