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
RecoEcalCandidateIsolation.h
HLT_2018_cff.etaStripEndcap
etaStripEndcap
Definition: HLT_2018_cff.py:17512
EcalPFClusterIsolation::computedRVeto
bool computedRVeto(T1Ref candRef, reco::PFClusterRef pfclu)
Definition: EcalPFClusterIsolation.cc:75
EcalPFClusterIsolation::drVetoEndcap_
const double drVetoEndcap_
Definition: EcalPFClusterIsolation.h:53
RecoChargedCandidateIsolation.h
EcalPFClusterIsolation::getSum
double getSum(T1Ref, edm::Handle< std::vector< reco::PFCluster > >)
Definition: EcalPFClusterIsolation.cc:38
edm::Handle
Definition: AssociativeIterator.h:50
EcalPFClusterIsolation::drMax_
const double drMax_
Definition: EcalPFClusterIsolation.h:51
edm::Ref
Definition: AssociativeIterator.h:58
HLT_2018_cff.drMax
drMax
Definition: HLT_2018_cff.py:17514
EcalPFClusterIsolation::drVeto2_
double drVeto2_
Definition: EcalPFClusterIsolation.h:50
EcalPFClusterIsolation::T1Collection
std::vector< T1 > T1Collection
Definition: EcalPFClusterIsolation.h:33
PFCluster.h
EcalPFClusterIsolation::EcalPFClusterIsolation
EcalPFClusterIsolation(double drMax, double drVetoBarrel, double drVetoEndcap, double etaStripBarrel, double etaStripEndcap, double energyBarrel, double energyEndcap)
Definition: EcalPFClusterIsolation.cc:19
HLT_2018_cff.drVetoBarrel
drVetoBarrel
Definition: HLT_2018_cff.py:17513
EcalPFClusterIsolation::energyBarrel_
const double energyBarrel_
Definition: EcalPFClusterIsolation.h:56
HLT_2018_cff.drVetoEndcap
drVetoEndcap
Definition: HLT_2018_cff.py:17517
HLT_2018_cff.energyBarrel
energyBarrel
Definition: HLT_2018_cff.py:17515
PFClusterFwd.h
EcalPFClusterIsolation::~EcalPFClusterIsolation
~EcalPFClusterIsolation()
Definition: EcalPFClusterIsolation.cc:35
HLT_2018_cff.energyEndcap
energyEndcap
Definition: HLT_2018_cff.py:17509
RecoEcalCandidate.h
EcalPFClusterIsolation::etaStripEndcap_
const double etaStripEndcap_
Definition: EcalPFClusterIsolation.h:55
EcalPFClusterIsolation::T1Ref
edm::Ref< T1Collection > T1Ref
Definition: EcalPFClusterIsolation.h:34
RecoChargedCandidate.h
EcalPFClusterIsolation::energyEndcap_
const double energyEndcap_
Definition: EcalPFClusterIsolation.h:57
EcalPFClusterIsolation::etaStripBarrel_
const double etaStripBarrel_
Definition: EcalPFClusterIsolation.h:54
EcalPFClusterIsolation
Definition: EcalPFClusterIsolation.h:31
EcalPFClusterIsolation::drVetoBarrel_
const double drVetoBarrel_
Definition: EcalPFClusterIsolation.h:52
HLT_2018_cff.etaStripBarrel
etaStripBarrel
Definition: HLT_2018_cff.py:17508