#include <EleTkIsolFromCands.h>
Classes | |
struct | TrkCuts |
Public Member Functions | |
std::pair< int, double > | calIsol (const reco::TrackBase &trk, const pat::PackedCandidateCollection &cands, const edm::View< reco::GsfElectron > &eles) |
std::pair< int, double > | calIsol (const double eleEta, const double elePhi, const double eleVZ, const pat::PackedCandidateCollection &cands, const edm::View< reco::GsfElectron > &eles) |
double | calIsolPt (const reco::TrackBase &trk, const pat::PackedCandidateCollection &cands, const edm::View< reco::GsfElectron > &eles) |
double | calIsolPt (const double eleEta, const double elePhi, const double eleVZ, const pat::PackedCandidateCollection &cands, const edm::View< reco::GsfElectron > &eles) |
EleTkIsolFromCands (const edm::ParameterSet ¶) | |
EleTkIsolFromCands (const EleTkIsolFromCands &)=default | |
EleTkIsolFromCands & | operator= (const EleTkIsolFromCands &)=default |
~EleTkIsolFromCands ()=default | |
Static Public Member Functions | |
static bool | passTrkSel (const reco::Track &trk, const double trkPt, const TrkCuts &cuts, const double eleEta, const double elePhi, const double eleVZ) |
static edm::ParameterSetDescription | pSetDescript () |
Private Member Functions | |
double | getTrkPt (const reco::TrackBase &trk, const edm::View< reco::GsfElectron > &eles) |
Static Private Member Functions | |
static bool | passAlgo (const reco::TrackBase &trk, const std::vector< reco::TrackBase::TrackAlgorithm > &algosToRej) |
static bool | passQual (const reco::TrackBase &trk, const std::vector< reco::TrackBase::TrackQuality > &quals) |
Private Attributes | |
TrkCuts | barrelCuts_ |
TrkCuts | endcapCuts_ |
Definition at line 11 of file EleTkIsolFromCands.h.
|
explicit |
Definition at line 47 of file EleTkIsolFromCands.cc.
|
default |
|
default |
std::pair< int, double > EleTkIsolFromCands::calIsol | ( | const reco::TrackBase & | trk, |
const pat::PackedCandidateCollection & | cands, | ||
const edm::View< reco::GsfElectron > & | eles | ||
) |
Definition at line 64 of file EleTkIsolFromCands.cc.
References reco::TrackBase::eta(), reco::TrackBase::phi(), and reco::TrackBase::vz().
Referenced by calIsolPt().
std::pair< int, double > EleTkIsolFromCands::calIsol | ( | const double | eleEta, |
const double | elePhi, | ||
const double | eleVZ, | ||
const pat::PackedCandidateCollection & | cands, | ||
const edm::View< reco::GsfElectron > & | eles | ||
) |
Definition at line 72 of file EleTkIsolFromCands.cc.
References funct::abs(), barrelCuts_, particleFlowClusterECALTimeSelected_cfi::cuts, endcapCuts_, getTrkPt(), passTrkSel(), and reco::TrackBase::pt().
|
inline |
Definition at line 45 of file EleTkIsolFromCands.h.
References calIsol().
Referenced by ElectronHEEPIDValueMapProducer::calTrkIso().
|
inline |
Definition at line 50 of file EleTkIsolFromCands.h.
References calIsol(), particleFlowClusterECALTimeSelected_cfi::cuts, getTrkPt(), passAlgo(), passQual(), and passTrkSel().
|
private |
Definition at line 143 of file EleTkIsolFromCands.cc.
References funct::abs(), reco::deltaPhi(), reco::TrackBase::eta(), match(), reco::TrackBase::phi(), and reco::TrackBase::pt().
Referenced by calIsol(), calIsolPt(), and passAlgo().
|
default |
|
staticprivate |
Definition at line 133 of file EleTkIsolFromCands.cc.
References reco::TrackBase::algo(), and getTrkPt().
Referenced by calIsolPt(), passQual(), and passTrkSel().
|
staticprivate |
Definition at line 120 of file EleTkIsolFromCands.cc.
References passAlgo(), and reco::TrackBase::quality().
Referenced by calIsolPt(), and passTrkSel().
|
static |
Definition at line 97 of file EleTkIsolFromCands.cc.
References funct::abs(), EleTkIsolFromCands::TrkCuts::algosToReject, EleTkIsolFromCands::TrkCuts::allowedQualities, reco::deltaR2(), reco::TrackBase::eta(), reco::TrackBase::hitPattern(), EleTkIsolFromCands::TrkCuts::maxDPtPt, EleTkIsolFromCands::TrkCuts::maxDR2, EleTkIsolFromCands::TrkCuts::maxDZ, EleTkIsolFromCands::TrkCuts::minDEta, EleTkIsolFromCands::TrkCuts::minDR2, EleTkIsolFromCands::TrkCuts::minHits, EleTkIsolFromCands::TrkCuts::minPixelHits, EleTkIsolFromCands::TrkCuts::minPt, reco::HitPattern::numberOfValidHits(), reco::HitPattern::numberOfValidPixelHits(), passAlgo(), passQual(), reco::TrackBase::phi(), reco::TrackBase::ptError(), and reco::TrackBase::vz().
Referenced by calIsol(), and calIsolPt().
|
static |
Definition at line 55 of file EleTkIsolFromCands.cc.
References edm::ParameterSetDescription::add(), and EleTkIsolFromCands::TrkCuts::pSetDescript().
Referenced by ElectronHEEPIDValueMapProducer::fillDescriptions().
|
private |
Definition at line 29 of file EleTkIsolFromCands.h.
Referenced by calIsol().
|
private |
Definition at line 29 of file EleTkIsolFromCands.h.
Referenced by calIsol().