Calibration
Tools
plugins
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
12
#include "
FWCore/Framework/interface/ESHandle.h
"
13
#include "
DataFormats/EgammaCandidates/interface/GsfElectron.h
"
14
#include "
DataFormats/TrackReco/interface/Track.h
"
15
16
class
ElectronSqPtTkIsolation
{
17
public
:
18
//constructors
19
ElectronSqPtTkIsolation
(
double
extRadius
,
double
intRadius
,
double
ptLow,
double
lip
,
const
reco::TrackCollection
*);
20
//destructor
21
~ElectronSqPtTkIsolation
();
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
34
const
reco::TrackCollection
*
trackCollection_
;
35
36
std::pair<int, double>
getIso
(
const
reco::GsfElectron
*)
const
;
37
};
38
39
#endif
ElectronSqPtTkIsolation::getNumberTracks
int getNumberTracks(const reco::GsfElectron *) const
Definition:
ElectronSqPtTkIsolation.cc:55
ElectronSqPtTkIsolation::~ElectronSqPtTkIsolation
~ElectronSqPtTkIsolation()
Definition:
ElectronSqPtTkIsolation.cc:23
ESHandle.h
electronEcalRecHitIsolationLcone_cfi.extRadius
extRadius
Definition:
electronEcalRecHitIsolationLcone_cfi.py:18
ElectronSqPtTkIsolation::lip_
double lip_
Definition:
ElectronSqPtTkIsolation.h:32
qcdUeDQM_cfi.lip
lip
Definition:
qcdUeDQM_cfi.py:25
ElectronSqPtTkIsolation::intRadius_
double intRadius_
Definition:
ElectronSqPtTkIsolation.h:30
Track.h
ElectronSqPtTkIsolation::extRadius_
double extRadius_
Definition:
ElectronSqPtTkIsolation.h:29
reco::GsfElectron
Definition:
GsfElectron.h:35
GsfElectron.h
ElectronSqPtTkIsolation::trackCollection_
const reco::TrackCollection * trackCollection_
Definition:
ElectronSqPtTkIsolation.h:34
electronHcalTowerIsolationLcone_cfi.intRadius
intRadius
Definition:
electronHcalTowerIsolationLcone_cfi.py:5
ElectronSqPtTkIsolation::getPtTracks
double getPtTracks(const reco::GsfElectron *) const
Definition:
ElectronSqPtTkIsolation.cc:60
ElectronSqPtTkIsolation
Definition:
ElectronSqPtTkIsolation.h:16
ElectronSqPtTkIsolation::ElectronSqPtTkIsolation
ElectronSqPtTkIsolation(double extRadius, double intRadius, double ptLow, double lip, const reco::TrackCollection *)
Definition:
ElectronSqPtTkIsolation.cc:19
ElectronSqPtTkIsolation::ptLow_
double ptLow_
Definition:
ElectronSqPtTkIsolation.h:31
ElectronSqPtTkIsolation::getIso
std::pair< int, double > getIso(const reco::GsfElectron *) const
Definition:
ElectronSqPtTkIsolation.cc:26
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:14
Generated for CMSSW Reference Manual by
1.8.16