#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 () |
Protected Types | |
using | TrackTable = edm::soa::Table< edm::soa::col::Pt, edm::soa::col::Eta, edm::soa::col::Phi, edm::soa::col::Vz > |
Protected Member Functions | |
TrackTable const & | getPreselectedTracks (bool isBarrel) |
Protected Attributes | |
Configuration const & | cfg_ |
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 |
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.
|
protected |
Definition at line 96 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.
|
protected |
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 SuperclusTkIsolFromCands::operator()(), and 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_2024v14_cff::dEta, ALPAKA_ACCELERATOR_NAMESPACE::dR2(), l1ctLayer1_cff::dZ, EleTkIsolFromCands::Configuration::endcapCuts, reco::TrackBase::eta(), getPreselectedTracks(), reco::TrackBase::phi(), trk, and reco::TrackBase::vz().
|
staticprivate |
Definition at line 181 of file EleTkIsolFromCands.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::lst::binary_search(), and trk.
Referenced by passTrackPreselection().
|
staticprivate |
Definition at line 130 of file EleTkIsolFromCands.cc.
References funct::abs(), ELES, Exception, NONE, NONELES, EgammaValidation_cff::pdgId, and relval_cleanedupgrade::veto.
Referenced by preselectTracksFromCands().
|
staticprivate |
Definition at line 169 of file EleTkIsolFromCands.cc.
References trk.
Referenced by passTrackPreselection().
|
staticprivate |
Definition at line 163 of file EleTkIsolFromCands.cc.
References passAlgo(), passQual(), listHistos::trackPt, and trk.
Referenced by preselectTracks(), and preselectTracksFromCands().
|
static |
Definition at line 150 of file EleTkIsolFromCands.cc.
References ELES, Exception, NONE, and NONELES.
Referenced by ElectronHEEPIDValueMapProducer::ElectronHEEPIDValueMapProducer(), and SuperclusValueMapProducer::SuperclusValueMapProducer().
|
staticprivate |
Definition at line 50 of file EleTkIsolFromCands.cc.
References PVValHelper::eta, eostools::move(), passTrackPreselection(), phi, DiDispStaMuonMonitor_cfi::pt, DiMuonV_cfg::tracks, trk, run3scouting_cff::trkPt, and btvMC_cff::vz.
Referenced by getPreselectedTracks().
|
staticprivate |
Definition at line 74 of file EleTkIsolFromCands.cc.
References HLT_2024v14_cff::cands, PVValHelper::eta, eostools::move(), passPIDVeto(), passTrackPreselection(), phi, DiDispStaMuonMonitor_cfi::pt, trk, run3scouting_cff::trkPt, and btvMC_cff::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().
|
protected |
Definition at line 99 of file EleTkIsolFromCands.h.
Referenced by getPreselectedTracks(), SuperclusTkIsolFromCands::operator()(), 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().