CMS 3D CMS Logo

EcalPFClusterIsolation.h
Go to the documentation of this file.
1 #ifndef EgammaIsolationProducers_EcalPFClusterIsolation_h
2 #define EgammaIsolationProducers_EcalPFClusterIsolation_h
3 
4 //*****************************************************************************
5 // File: PFClusterEcalIsolation.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 
31  double getSum(T1, edm::Handle<std::vector<reco::PFCluster> >);
32  double getSum(T1Ref, edm::Handle<std::vector<reco::PFCluster> >);
33 
34 private:
35  bool computedRVeto(T1Ref candRef, reco::PFClusterRef pfclu);
36  bool computedRVeto(T1 cand, reco::PFClusterRef pfclu);
37 
38  double drVeto2_;
39  const double drMax_;
40  const double drVetoBarrel_;
41  const double drVetoEndcap_;
42  const double etaStripBarrel_;
43  const double etaStripEndcap_;
44  const double energyBarrel_;
45  const double energyEndcap_;
46 };
47 
48 #endif
EcalPFClusterIsolation(double drMax, double drVetoBarrel, double drVetoEndcap, double etaStripBarrel, double etaStripEndcap, double energyBarrel, double energyEndcap)
double getSum(T1, edm::Handle< std::vector< reco::PFCluster > >)
edm::Ref< T1Collection > T1Ref
bool computedRVeto(T1Ref candRef, reco::PFClusterRef pfclu)
std::vector< T1 > T1Collection