#include <EleTkIsolFromCands.h>
Classes | |
struct | Configuration |
struct | Output |
struct | TrkCuts |
Public Types | |
enum | PIDVeto { PIDVeto::NONE = 0, PIDVeto::ELES, PIDVeto::NONELES } |
Public Member Functions | |
EleTkIsolFromCands (Configuration const &cfg, reco::TrackCollection const &tracks) | |
EleTkIsolFromCands (Configuration const &cfg, pat::PackedCandidateCollection const &cands, PIDVeto pidVeto=PIDVeto::NONE) | |
Output | operator() (const reco::TrackBase &electronTrack) |
Static Public Member Functions | |
static PIDVeto | pidVetoFromStr (const std::string &vetoStr) |
static edm::ParameterSetDescription | pSetDescript () |
Private Types | |
using | TrackTable = edm::soa::Table< edm::soa::col::Pt, edm::soa::col::Eta, edm::soa::col::Phi, edm::soa::col::Vz > |
Private Member Functions | |
TrackTable const & | getPreselectedTracks (bool isBarrel) |
Static Private Member Functions | |
static bool | passAlgo (const reco::TrackBase &trk, const std::vector< reco::TrackBase::TrackAlgorithm > &algosToRej) |
static bool | passPIDVeto (const int pdgId, const EleTkIsolFromCands::PIDVeto pidVeto) |
static bool | passQual (const reco::TrackBase &trk, const std::vector< reco::TrackBase::TrackQuality > &quals) |
static bool | passTrackPreselection (const reco::TrackBase &trk, float trkPt, const TrkCuts &cuts) |
static TrackTable | preselectTracks (reco::TrackCollection const &tracks, TrkCuts const &cuts) |
static TrackTable | preselectTracksFromCands (pat::PackedCandidateCollection const &cands, TrkCuts const &cuts, PIDVeto=PIDVeto::NONE) |
Private Attributes | |
pat::PackedCandidateCollection const * | cands_ = nullptr |
Configuration const & | cfg_ |
const PIDVeto | pidVeto_ = PIDVeto::NONE |
TrackTable | preselectedTracksWithBarrelCuts_ |
TrackTable | preselectedTracksWithEndcapCuts_ |
reco::TrackCollection const * | tracks_ = nullptr |
bool | tracksCachedForBarrelCuts_ = false |
bool | tracksCachedForEndcapCuts_ = false |
Definition at line 46 of file EleTkIsolFromCands.h.
|
private |
Definition at line 106 of file EleTkIsolFromCands.h.
|
strong |
Enumerator | |
---|---|
NONE | |
ELES | |
NONELES |
Definition at line 71 of file EleTkIsolFromCands.h.
|
inlineexplicit |
Definition at line 77 of file EleTkIsolFromCands.h.
References looper::cfg.
|
inlineexplicit |
Definition at line 79 of file EleTkIsolFromCands.h.
References looper::cfg.
|
private |
Definition at line 190 of file EleTkIsolFromCands.cc.
References EleTkIsolFromCands::Configuration::barrelCuts, cands_, cfg_, EleTkIsolFromCands::Configuration::endcapCuts, PixelPluginsPhase0_cfi::isBarrel, pidVeto_, preselectedTracksWithBarrelCuts_, preselectedTracksWithEndcapCuts_, preselectTracks(), preselectTracksFromCands(), tracks_, tracksCachedForBarrelCuts_, and tracksCachedForEndcapCuts_.
Referenced by operator()().
EleTkIsolFromCands::Output EleTkIsolFromCands::operator() | ( | const reco::TrackBase & | electronTrack | ) |
Definition at line 102 of file EleTkIsolFromCands.cc.
References funct::abs(), EleTkIsolFromCands::Configuration::barrelCuts, cfg_, reco::deltaR2(), HLT_2024v12_cff::dEta, ALPAKA_ACCELERATOR_NAMESPACE::dR2(), l1ctLayer1_cff::dZ, EleTkIsolFromCands::Configuration::endcapCuts, reco::TrackBase::eta(), getPreselectedTracks(), reco::TrackBase::phi(), and reco::TrackBase::vz().
|
staticprivate |
Definition at line 181 of file EleTkIsolFromCands.cc.
References reco::TrackBase::algo(), and reco::TrackBase::originalAlgo().
Referenced by passTrackPreselection().
|
staticprivate |
Definition at line 130 of file EleTkIsolFromCands.cc.
References funct::abs(), ELES, Exception, NONE, NONELES, EgammaValidation_cff::pdgId, and PbPb_ZMuSkimMuonDPG_cff::veto.
Referenced by preselectTracksFromCands().
|
staticprivate |
Definition at line 169 of file EleTkIsolFromCands.cc.
References l1tGTMenu_lepSeeds_cff::qual, and reco::TrackBase::quality().
Referenced by passTrackPreselection().
|
staticprivate |
Definition at line 163 of file EleTkIsolFromCands.cc.
References reco::TrackBase::hitPattern(), reco::TrackBase::numberOfValidHits(), reco::HitPattern::numberOfValidPixelHits(), passAlgo(), passQual(), reco::TrackBase::ptError(), and listHistos::trackPt.
Referenced by preselectTracks(), and preselectTracksFromCands().
|
static |
Definition at line 150 of file EleTkIsolFromCands.cc.
References ELES, Exception, NONE, and NONELES.
Referenced by ElectronHEEPIDValueMapProducer::ElectronHEEPIDValueMapProducer().
|
staticprivate |
Definition at line 50 of file EleTkIsolFromCands.cc.
References PVValHelper::eta, eostools::move(), passTrackPreselection(), phi, DiDispStaMuonMonitor_cfi::pt, DiMuonV_cfg::tracks, run3scouting_cff::trkPt, and btvMC_cff::vz.
Referenced by getPreselectedTracks().
|
staticprivate |
Definition at line 74 of file EleTkIsolFromCands.cc.
References HLT_2024v12_cff::cands, PVValHelper::eta, reco::TrackBase::eta(), eostools::move(), passPIDVeto(), passTrackPreselection(), phi, reco::TrackBase::phi(), DiDispStaMuonMonitor_cfi::pt, reco::TrackBase::pt(), run3scouting_cff::trkPt, btvMC_cff::vz, and reco::TrackBase::vz().
Referenced by getPreselectedTracks().
|
static |
Definition at line 43 of file EleTkIsolFromCands.cc.
References submitPVResolutionJobs::desc, and EleTkIsolFromCands::TrkCuts::pSetDescript().
Referenced by ElectronHEEPIDValueMapProducer::fillDescriptions(), and GsfElectronProducer::fillDescriptions().
|
private |
Definition at line 127 of file EleTkIsolFromCands.h.
Referenced by getPreselectedTracks().
|
private |
Definition at line 123 of file EleTkIsolFromCands.h.
Referenced by getPreselectedTracks(), and operator()().
|
private |
Definition at line 128 of file EleTkIsolFromCands.h.
Referenced by getPreselectedTracks().
|
private |
Definition at line 129 of file EleTkIsolFromCands.h.
Referenced by getPreselectedTracks().
|
private |
Definition at line 130 of file EleTkIsolFromCands.h.
Referenced by getPreselectedTracks().
|
private |
Definition at line 126 of file EleTkIsolFromCands.h.
Referenced by getPreselectedTracks().
|
private |
Definition at line 131 of file EleTkIsolFromCands.h.
Referenced by getPreselectedTracks().
|
private |
Definition at line 132 of file EleTkIsolFromCands.h.
Referenced by getPreselectedTracks().