#include <L1HPSPFTauQualityCut.h>
Public Types | |
enum | { kDisabled, kEnabledPrimary, kEnabledPileup } |
Public Member Functions | |
int | dzCut () const |
L1HPSPFTauQualityCut (const edm::ParameterSet &cfg) | |
constructor More... | |
float_t | maxDz () const |
float_t | minPt () const |
bool | operator() (const l1t::PFCandidate &pfCand, float_t primaryVertexZ) const |
returns true (false) if PFCandidate passes (fails) quality cuts More... | |
l1t::PFCandidate::ParticleType | pfCandType () const |
accessor functions More... | |
~L1HPSPFTauQualityCut ()=default | |
destructor More... | |
Private Attributes | |
bool | debug_ |
int | dzCut_ |
float_t | maxDz_ |
float_t | minPt_ |
l1t::PFCandidate::ParticleType | pfCandType_ |
Definition at line 9 of file L1HPSPFTauQualityCut.h.
anonymous enum |
Enumerator | |
---|---|
kDisabled | |
kEnabledPrimary | |
kEnabledPileup |
Definition at line 22 of file L1HPSPFTauQualityCut.h.
L1HPSPFTauQualityCut::L1HPSPFTauQualityCut | ( | const edm::ParameterSet & | cfg | ) |
constructor
Definition at line 4 of file L1HPSPFTauQualityCut.cc.
References l1t::PFCandidate::ChargedHadron, dzCut_, l1t::PFCandidate::Electron, Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), kDisabled, kEnabledPileup, kEnabledPrimary, maxDz_, minPt_, l1t::PFCandidate::Muon, l1t::PFCandidate::NeutralHadron, pfCandType_, l1t::PFCandidate::Photon, and AlCaHLTBitMon_QueryRunRegistry::string.
|
default |
destructor
int L1HPSPFTauQualityCut::dzCut | ( | ) | const |
float_t L1HPSPFTauQualityCut::maxDz | ( | ) | const |
float_t L1HPSPFTauQualityCut::minPt | ( | ) | const |
bool L1HPSPFTauQualityCut::operator() | ( | const l1t::PFCandidate & | pfCand, |
float_t | primaryVertexZ | ||
) | const |
returns true (false) if PFCandidate passes (fails) quality cuts
Definition at line 36 of file L1HPSPFTauQualityCut.cc.
References reco::LeafCandidate::charge(), PVValHelper::dz, dzCut_, l1t::PFCandidate::id(), kEnabledPileup, kEnabledPrimary, maxDz_, minPt_, pfCandType_, l1t::PFCandidate::pfTrack(), and reco::LeafCandidate::pt().
l1t::PFCandidate::ParticleType L1HPSPFTauQualityCut::pfCandType | ( | ) | const |
accessor functions
Definition at line 58 of file L1HPSPFTauQualityCut.cc.
References pfCandType_.
|
private |
Definition at line 35 of file L1HPSPFTauQualityCut.h.
|
private |
Definition at line 30 of file L1HPSPFTauQualityCut.h.
Referenced by dzCut(), L1HPSPFTauQualityCut(), and operator()().
|
private |
Definition at line 33 of file L1HPSPFTauQualityCut.h.
Referenced by L1HPSPFTauQualityCut(), maxDz(), and operator()().
|
private |
Definition at line 32 of file L1HPSPFTauQualityCut.h.
Referenced by L1HPSPFTauQualityCut(), minPt(), and operator()().
|
private |
Definition at line 28 of file L1HPSPFTauQualityCut.h.
Referenced by L1HPSPFTauQualityCut(), operator()(), and pfCandType().