test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
12 //#include "FWCore/Framework/interface/Frameworkfwd.h"
13 //#include "FWCore/Framework/interface/stream/EDProducer.h"
14 
15 // #include "FWCore/Framework/interface/Event.h"
16 // #include "FWCore/Framework/interface/MakerMacros.h"
17 
18 // #include "FWCore/ParameterSet/interface/ParameterSet.h"
19 
22 
25 
28 
29 #include <vector>
30 
31 template<typename T1>
33  public:
34 
35  typedef std::vector<T1> T1Collection;
37 
39  double drVetoBarrel,
40  double drVetoEndcap,
41  double etaStripBarrel,
42  double etaStripEndcap,
43  double energyBarrel,
44  double energyEndcap);
45 
47  double getSum(T1Ref, edm::Handle<std::vector<reco::PFCluster> >);
48 
49  private:
50  bool computedRVeto(T1Ref candRef, reco::PFClusterRef pfclu);
51 
52  double drVeto2_;
53  const double drMax_;
54  const double drVetoBarrel_;
55  const double drVetoEndcap_;
56  const double etaStripBarrel_;
57  const double etaStripEndcap_;
58  const double energyBarrel_;
59  const double energyEndcap_;
60 
61 };
62 
63 #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