#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, pat::PackedCandidateCollection const &cands, PIDVeto pidVeto=PIDVeto::NONE) | |
EleTkIsolFromCands (Configuration const &cfg, reco::TrackCollection const &tracks) | |
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 186 of file EleTkIsolFromCands.cc.
References EleTkIsolFromCands::Configuration::barrelCuts, cands_, cfg_, L1TMuonDQMOffline_cfi::cuts, 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_, L1TMuonDQMOffline_cfi::cuts, reco::deltaR2(), HLT_FULL_cff::dEta, 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().
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 reco::TrackBase::quality().
Referenced by passTrackPreselection().
|
staticprivate |
Definition at line 163 of file EleTkIsolFromCands.cc.
References L1TMuonDQMOffline_cfi::cuts, 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 L1TMuonDQMOffline_cfi::cuts, PVValHelper::eta, eostools::move(), passTrackPreselection(), phi, DiDispStaMuonMonitor_cfi::pt, and PDWG_EXOHSCP_cff::tracks.
Referenced by getPreselectedTracks().
|
staticprivate |
Definition at line 74 of file EleTkIsolFromCands.cc.
References HLT_FULL_cff::cands, L1TMuonDQMOffline_cfi::cuts, PVValHelper::eta, reco::TrackBase::eta(), eostools::move(), passPIDVeto(), passTrackPreselection(), phi, reco::TrackBase::phi(), DiDispStaMuonMonitor_cfi::pt, reco::TrackBase::pt(), 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().