1 #ifndef RECOEGAMMA_EGAMMAISOLATIONALGOS_ELETKISOLFROMCANDS_H 2 #define RECOEGAMMA_EGAMMAISOLATIONALGOS_ELETKISOLFROMCANDS_H 119 static bool passAlgo(
const reco::TrackBase& trk,
const std::vector<reco::TrackBase::TrackAlgorithm>& algosToRej);
TrkCuts(const edm::ParameterSet ¶)
reco::TrackCollection const * tracks_
bool tracksCachedForEndcapCuts_
static bool passTrackPreselection(const reco::TrackBase &trk, float trkPt, const TrkCuts &cuts)
static edm::ParameterSetDescription pSetDescript()
std::vector< pat::PackedCandidate > PackedCandidateCollection
std::vector< Track > TrackCollection
collection of Tracks
static TrackTable preselectTracks(reco::TrackCollection const &tracks, TrkCuts const &cuts)
static bool passAlgo(const reco::TrackBase &trk, const std::vector< reco::TrackBase::TrackAlgorithm > &algosToRej)
std::vector< reco::TrackBase::TrackQuality > allowedQualities
TkSoA const *__restrict__ CAHitNtupletGeneratorKernelsGPU::QualityCuts cuts
Output operator()(const reco::TrackBase &electronTrack)
std::vector< reco::TrackBase::TrackAlgorithm > algosToReject
static edm::ParameterSetDescription pSetDescript()
TrackTable const & getPreselectedTracks(bool isBarrel)
Configuration(const edm::ParameterSet ¶)
static bool passQual(const reco::TrackBase &trk, const std::vector< reco::TrackBase::TrackQuality > &quals)
TrackTable preselectedTracksWithBarrelCuts_
bool tracksCachedForBarrelCuts_
auto const & tracks
cannot be loose
static PIDVeto pidVetoFromStr(const std::string &vetoStr)
static TrackTable preselectTracksFromCands(pat::PackedCandidateCollection const &cands, TrkCuts const &cuts, PIDVeto=PIDVeto::NONE)
Configuration const & cfg_
EleTkIsolFromCands(Configuration const &cfg, reco::TrackCollection const &tracks)
pat::PackedCandidateCollection const * cands_
EleTkIsolFromCands(Configuration const &cfg, pat::PackedCandidateCollection const &cands, PIDVeto pidVeto=PIDVeto::NONE)
TrackTable preselectedTracksWithEndcapCuts_
static bool passPIDVeto(const int pdgId, const EleTkIsolFromCands::PIDVeto pidVeto)