1 #ifndef RECOEGAMMA_EGAMMAISOLATIONALGOS_ELETKISOLFROMCANDS_H 2 #define RECOEGAMMA_EGAMMAISOLATIONALGOS_ELETKISOLFROMCANDS_H 80 std::pair<int,double>
calIsol(
const double eleEta,
const double elePhi,
const double eleVZ,
85 std::pair<int,double>
calIsol(
const double eleEta,
const double elePhi,
const double eleVZ,
89 template<
typename ...Args>
99 const double eleEta,
const double elePhi,
103 const std::vector<reco::TrackBase::TrackQuality>& quals);
105 const std::vector<reco::TrackBase::TrackAlgorithm>& algosToRej);
~EleTkIsolFromCands()=default
std::vector< pat::PackedCandidate > PackedCandidateCollection
std::vector< Track > TrackCollection
collection of Tracks
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 edm::ParameterSetDescription pSetDescript()
double calIsolPt(Args &&...args) const
std::pair< int, double > calIsol(const reco::TrackBase &trk, const pat::PackedCandidateCollection &cands, const PIDVeto=PIDVeto::NONE) const
static bool passQual(const reco::TrackBase &trk, const std::vector< reco::TrackBase::TrackQuality > &quals)
static PIDVeto pidVetoFromStr(const std::string &vetoStr)
static bool passTrkSel(const reco::TrackBase &trk, const double trkPt, const TrkCuts &cuts, const double eleEta, const double elePhi, const double eleVZ)
EleTkIsolFromCands & operator=(const EleTkIsolFromCands &)=default
EleTkIsolFromCands(const edm::ParameterSet ¶)
static bool passPIDVeto(const int pdgId, const EleTkIsolFromCands::PIDVeto pidVeto)