CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  double getSum(const T1 cand, 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 #endif
std::vector< T1 > T1Collection
edm::Ref< T1Collection > T1Ref
double getSum(const T1Ref candRef, const std::vector< edm::Handle< reco::PFClusterCollection >> &clusterHandles)
tuple etaStripEndcap
HcalPFClusterIsolation(double drMax, double drVetoBarrel, double drVetoEndcap, double etaStripBarrel, double etaStripEndcap, double energyBarrel, double energyEndcap, bool useEt)
tuple etaStripBarrel