1 #ifndef RECOEGAMMA_EGAMMAISOLATIONALGOS_ELETKISOLFROMCANDS_H 2 #define RECOEGAMMA_EGAMMAISOLATIONALGOS_ELETKISOLFROMCANDS_H 41 std::pair<int,double>
calIsol(
const double eleEta,
const double elePhi,
const double eleVZ,
47 return calIsol(trk,cands,eles).second;
50 double calIsolPt(
const double eleEta,
const double elePhi,
const double eleVZ,
53 return calIsol(eleEta,elePhi,eleVZ,cands,eles).second;
59 const double eleEta,
const double elePhi,
65 const std::vector<reco::TrackBase::TrackQuality>& quals);
67 const std::vector<reco::TrackBase::TrackAlgorithm>& algosToRej);
TrkCuts(const edm::ParameterSet ¶)
static bool passTrkSel(const reco::Track &trk, const double trkPt, const TrkCuts &cuts, const double eleEta, const double elePhi, const double eleVZ)
std::pair< int, double > calIsol(const reco::TrackBase &trk, const pat::PackedCandidateCollection &cands, const edm::View< reco::GsfElectron > &eles)
~EleTkIsolFromCands()=default
static edm::ParameterSetDescription pSetDescript()
std::vector< pat::PackedCandidate > PackedCandidateCollection
double calIsolPt(const double eleEta, const double elePhi, const double eleVZ, const pat::PackedCandidateCollection &cands, const edm::View< reco::GsfElectron > &eles)
double calIsolPt(const reco::TrackBase &trk, const pat::PackedCandidateCollection &cands, const edm::View< reco::GsfElectron > &eles)
static bool passAlgo(const reco::TrackBase &trk, const std::vector< reco::TrackBase::TrackAlgorithm > &algosToRej)
std::vector< reco::TrackBase::TrackQuality > allowedQualities
std::vector< reco::TrackBase::TrackAlgorithm > algosToReject
static bool passQual(const reco::TrackBase &trk, const std::vector< reco::TrackBase::TrackQuality > &quals)
EleTkIsolFromCands & operator=(const EleTkIsolFromCands &)=default
EleTkIsolFromCands(const edm::ParameterSet ¶)
double getTrkPt(const reco::TrackBase &trk, const edm::View< reco::GsfElectron > &eles)