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 
11 //#include "FWCore/Framework/interface/Frameworkfwd.h"
12 //#include "FWCore/Framework/interface/stream/EDProducer.h"
13 
14 // #include "FWCore/Framework/interface/Event.h"
15 // #include "FWCore/Framework/interface/MakerMacros.h"
16 
17 // #include "FWCore/ParameterSet/interface/ParameterSet.h"
18 
21 
24 
27 
28 #include <vector>
29 
30 template <typename T1>
32 public:
33  typedef std::vector<T1> T1Collection;
35 
37  double drVetoBarrel,
38  double drVetoEndcap,
39  double etaStripBarrel,
40  double etaStripEndcap,
41  double energyBarrel,
42  double energyEndcap);
43 
45  double getSum(T1Ref, edm::Handle<std::vector<reco::PFCluster> >);
46 
47 private:
48  bool computedRVeto(T1Ref candRef, reco::PFClusterRef pfclu);
49 
50  double drVeto2_;
51  const double drMax_;
52  const double drVetoBarrel_;
53  const double drVetoEndcap_;
54  const double etaStripBarrel_;
55  const double etaStripEndcap_;
56  const double energyBarrel_;
57  const double energyEndcap_;
58 };
59 
60 #endif
EcalPFClusterIsolation(double drMax, double drVetoBarrel, double drVetoEndcap, double etaStripBarrel, double etaStripEndcap, double energyBarrel, double energyEndcap)
edm::Ref< T1Collection > T1Ref
bool computedRVeto(T1Ref candRef, reco::PFClusterRef pfclu)
double getSum(T1Ref, edm::Handle< std::vector< reco::PFCluster > >)
std::vector< T1 > T1Collection