|
|
#include <EleTkIsolFromCands.h>
|
std::pair< int, double > | calIsol (const double eleEta, const double elePhi, const double eleVZ, const pat::PackedCandidateCollection &cands, const PIDVeto=PIDVeto::NONE) const |
|
std::pair< int, double > | calIsol (const double eleEta, const double elePhi, const double eleVZ, const reco::TrackCollection &tracks) const |
|
std::pair< int, double > | calIsol (const reco::TrackBase &trk, const pat::PackedCandidateCollection &cands, const PIDVeto=PIDVeto::NONE) const |
|
std::pair< int, double > | calIsol (const reco::TrackBase &trk, const reco::TrackCollection &tracks) const |
|
template<typename... Args> |
double | calIsolPt (Args &&... args) const |
|
| EleTkIsolFromCands (const edm::ParameterSet ¶) |
|
| EleTkIsolFromCands (const EleTkIsolFromCands &)=default |
|
EleTkIsolFromCands & | operator= (const EleTkIsolFromCands &)=default |
|
| ~EleTkIsolFromCands ()=default |
|
Definition at line 44 of file EleTkIsolFromCands.h.
◆ PIDVeto
◆ EleTkIsolFromCands() [1/2]
◆ EleTkIsolFromCands() [2/2]
◆ ~EleTkIsolFromCands()
EleTkIsolFromCands::~EleTkIsolFromCands |
( |
| ) |
|
|
default |
◆ calIsol() [1/4]
◆ calIsol() [2/4]
std::pair< int, double > EleTkIsolFromCands::calIsol |
( |
const double |
eleEta, |
|
|
const double |
elePhi, |
|
|
const double |
eleVZ, |
|
|
const reco::TrackCollection & |
tracks |
|
) |
| const |
◆ calIsol() [3/4]
◆ calIsol() [4/4]
◆ calIsolPt()
template<typename... Args>
double EleTkIsolFromCands::calIsolPt |
( |
Args &&... |
args | ) |
const |
|
inline |
◆ operator=()
◆ passAlgo()
◆ passPIDVeto()
◆ passQual()
◆ passTrkSel()
bool EleTkIsolFromCands::passTrkSel |
( |
const reco::TrackBase & |
trk, |
|
|
const double |
trkPt, |
|
|
const TrkCuts & |
cuts, |
|
|
const double |
eleEta, |
|
|
const double |
elePhi, |
|
|
const double |
eleVZ |
|
) |
| |
|
staticprivate |
Definition at line 138 of file EleTkIsolFromCands.cc.
145 const float dEta = trk.
eta() - eleEta;
146 const float dZ = eleVZ - trk.
vz();
References funct::abs(), L1TMuonDQMOffline_cfi::cuts, reco::deltaR2(), HLT_2018_cff::dEta, reco::TrackBase::eta(), reco::TrackBase::hitPattern(), reco::HitPattern::numberOfValidHits(), reco::HitPattern::numberOfValidPixelHits(), passAlgo(), passQual(), reco::TrackBase::phi(), reco::TrackBase::ptError(), and reco::TrackBase::vz().
Referenced by calIsol().
◆ pidVetoFromStr()
◆ pSetDescript()
◆ barrelCuts_
TrkCuts EleTkIsolFromCands::barrelCuts_ |
|
private |
◆ endcapCuts_
TrkCuts EleTkIsolFromCands::endcapCuts_ |
|
private |
ParameterDescriptionBase * add(U const &iLabel, T const &value)
double ptError() const
error on Pt (set to 1000 TeV if charge==0 for safety)
static bool passPIDVeto(const int pdgId, const EleTkIsolFromCands::PIDVeto pidVeto)
static edm::ParameterSetDescription pSetDescript()
std::pair< int, double > calIsol(const reco::TrackBase &trk, const pat::PackedCandidateCollection &cands, const PIDVeto=PIDVeto::NONE) const
double pt() const
track transverse momentum
double vz() const
z coordinate of the reference point on track
double phi() const
azimuthal angle of momentum vector
static bool passQual(const reco::TrackBase &trk, const std::vector< reco::TrackBase::TrackQuality > &quals)
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
double eta() const
pseudorapidity of momentum vector
static bool passAlgo(const reco::TrackBase &trk, const std::vector< reco::TrackBase::TrackAlgorithm > &algosToRej)
TrackAlgorithm algo() const
T getParameter(std::string const &) const
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
static bool passTrkSel(const reco::TrackBase &trk, const double trkPt, const TrkCuts &cuts, const double eleEta, const double elePhi, const double eleVZ)
int numberOfValidPixelHits() const
Abs< T >::type abs(const T &t)
int numberOfValidHits() const
bool quality(const TrackQuality) const
Track quality.