CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EgammaTowerIsolation.h
Go to the documentation of this file.
1 #ifndef EgammaTowerIsolation_h
2 #define EgammaTowerIsolation_h
3 
4 //*****************************************************************************
5 // File: EgammaTowerIsolation.h
6 // ----------------------------------------------------------------------------
7 // OrigAuth: Matthias Mozer
8 // Institute: IIHE-VUB
9 // Adding feature to exclude towers used by H/E
10 //=============================================================================
11 //*****************************************************************************
12 
13 //C++ includes
14 #include <vector>
15 #include <functional>
16 
17 //CMSSW includes
24 
25 
27  public:
28 
30 
31  //constructors
32  EgammaTowerIsolation (double extRadius,
33  double intRadius,
34  double etLow,
35  signed int depth,
36  const CaloTowerCollection* ) ;
37 
38  //destructor
40  //methods
41 
42  int getNumberTracks(const reco::Candidate*) const ;
43  double getTowerEtSum (const reco::Candidate*, const std::vector<CaloTowerDetId> * detIdToExclude=0) const ;
44  double getTowerESum (const reco::Candidate*, const std::vector<CaloTowerDetId> * detIdToExclude=0 ) const ;
45  double getTowerEtSum(const reco::SuperCluster*, const std::vector<CaloTowerDetId> * detIdToExclude=0 ) const;
46  double getTowerESum(const reco::SuperCluster*, const std::vector<CaloTowerDetId> * detIdToExclude=0) const;
47 
48  private:
49 
50  double extRadius_ ;
51  double intRadius_ ;
52  double etLow_ ;
53  signed int depth_;
54 
56 };
57 
58 #endif
int getNumberTracks(const reco::Candidate *) const
EgammaTowerIsolation(double extRadius, double intRadius, double etLow, signed int depth, const CaloTowerCollection *)
double getTowerEtSum(const reco::Candidate *, const std::vector< CaloTowerDetId > *detIdToExclude=0) const
double getTowerESum(const reco::Candidate *, const std::vector< CaloTowerDetId > *detIdToExclude=0) const
const CaloTowerCollection * towercollection_