test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
16 
18  public:
19 
20  //constructors
21  ElectronSqPtTkIsolation ( double extRadius,
22  double intRadius,
23  double ptLow,
24  double lip,
25  const reco::TrackCollection* ) ;
26  //destructor
28 
29  //methods
30 
31  int getNumberTracks(const reco::GsfElectron*) const ;
32  double getPtTracks (const reco::GsfElectron*) const ;
33 
34  private:
35 
36  double extRadius_ ;
37  double intRadius_ ;
38  double ptLow_ ;
39  double lip_ ;
40 
42 
43  std::pair<int,double>getIso(const reco::GsfElectron*) const ;
44 };
45 
46 #endif
47 
48 
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_