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  typedef std::vector<T1> T1Collection;
21 
23  double drVetoBarrel,
24  double drVetoEndcap,
25  double etaStripBarrel,
26  double etaStripEndcap,
27  double energyBarrel,
28  double energyEndcap,
29  bool useEt);
30 
32  double getSum(const T1Ref candRef, const std::vector<edm::Handle<reco::PFClusterCollection>>& clusterHandles);
33 
34 private:
35  const double drMax_;
36  const double drVetoBarrel_;
37  const double drVetoEndcap_;
38  const double etaStripBarrel_;
39  const double etaStripEndcap_;
40  const double energyBarrel_;
41  const double energyEndcap_;
42  const bool useEt_;
43 };
44 
45 #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)