CMS 3D CMS Logo

ElectronSqPtTkIsolation.h
Go to the documentation of this file.
1 #ifndef ElectronSqPtTkIsolation_h
2 #define ElectronSqPtTkIsolation_h
3 
4 //C++ includes
5 #include <vector>
6 #include <functional>
7 
8 //Root includes
9 #include "TObjArray.h"
10 
11 //CMSSW includes
15 
17 public:
18  //constructors
19  ElectronSqPtTkIsolation(double extRadius, double intRadius, double ptLow, double lip, const reco::TrackCollection*);
20  //destructor
22 
23  //methods
24 
25  int getNumberTracks(const reco::GsfElectron*) const;
26  double getPtTracks(const reco::GsfElectron*) const;
27 
28 private:
29  double extRadius_;
30  double intRadius_;
31  double ptLow_;
32  double lip_;
33 
35 
36  std::pair<int, double> getIso(const reco::GsfElectron*) const;
37 };
38 
39 #endif
double getPtTracks(const reco::GsfElectron *) const
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
std::pair< int, double > getIso(const reco::GsfElectron *) const
ElectronSqPtTkIsolation(double extRadius, double intRadius, double ptLow, double lip, const reco::TrackCollection *)
int getNumberTracks(const reco::GsfElectron *) const
const reco::TrackCollection * trackCollection_