#include <PFTau.h>
Public Member Functions | |
float | bremsRecoveryEOverPLead () const |
hadronicDecayMode | calculateDecayMode () const |
float | caloComp () const |
PFTau * | clone () const |
returns a clone of the Candidate object More... | |
hadronicDecayMode | decayMode () const |
void | dump (std::ostream &out=std::cout) const |
prints information on this PFTau More... | |
float | ecalStripSumEOverPLead () const |
bool | electronPreIDDecision () const |
float | electronPreIDOutput () const |
reco::TrackRef | electronPreIDTrack () const |
float | emFraction () const |
bool | hasMuonReference () const |
float | hcal3x3OverPLead () const |
float | hcalMaxOverPLead () const |
float | hcalTotOverPLead () const |
const std::vector < reco::PFCandidatePtr > & | isolationPFCands () const |
PFCandidates in isolation region. More... | |
const std::vector < reco::PFCandidatePtr > & | isolationPFChargedHadrCands () const |
Charged candidates in isolation region. More... | |
float | isolationPFChargedHadrCandsPtSum () const |
const std::vector < reco::PFCandidatePtr > & | isolationPFGammaCands () const |
Gamma candidates in isolation region. More... | |
float | isolationPFGammaCandsEtSum () const |
const std::vector < reco::PFCandidatePtr > & | isolationPFNeutrHadrCands () const |
const std::vector < RecoTauPiZero > & | isolationPiZeroCandidates () const |
Retrieve the association of isolation region gamma candidates into candidate PiZeros. More... | |
const std::vector < PFRecoTauChargedHadron > & | isolationTauChargedHadronCandidates () const |
Retrieve the association of isolation region PF candidates into candidate PFRecoTauChargedHadron. More... | |
const PFJetRef & | jetRef () const |
const PFCandidatePtr & | leadPFCand () const |
const PFCandidatePtr & | leadPFChargedHadrCand () const |
float | leadPFChargedHadrCandsignedSipt () const |
const PFCandidatePtr & | leadPFNeutralCand () const |
PFRecoTauChargedHadronRef | leadTauChargedHadronCandidate () const |
float | maximumHCALPFClusterEt () const |
Et of the highest Et HCAL PFCluster. More... | |
bool | muonDecision () const |
size_type | numberOfSourceCandidatePtrs () const |
PFTau () | |
PFTau (Charge q, const LorentzVector &, const Point &=Point(0, 0, 0)) | |
const PFTauTagInfoRef & | pfTauTagInfoRef () const |
float | segComp () const |
void | setbremsRecoveryEOverPLead (const float &) |
void | setCaloComp (const float &) |
void | setDecayMode (const hadronicDecayMode &) |
void | setecalStripSumEOverPLead (const float &) |
void | setelectronPreIDDecision (const bool &) |
void | setelectronPreIDOutput (const float &) |
void | setelectronPreIDTrack (const reco::TrackRef &) |
void | setemFraction (const float &) |
void | sethcal3x3OverPLead (const float &) |
void | sethcalMaxOverPLead (const float &) |
void | sethcalTotOverPLead (const float &) |
void | setisolationPFCands (const std::vector< reco::PFCandidatePtr > &) |
void | setisolationPFChargedHadrCands (const std::vector< reco::PFCandidatePtr > &) |
void | setisolationPFChargedHadrCandsPtSum (const float &) |
void | setisolationPFGammaCands (const std::vector< reco::PFCandidatePtr > &) |
void | setisolationPFGammaCandsEtSum (const float &) |
void | setisolationPFNeutrHadrCands (const std::vector< reco::PFCandidatePtr > &) |
void | setisolationPiZeroCandidates (const std::vector< RecoTauPiZero > &) |
void | setIsolationPiZeroCandidatesRefs (const RecoTauPiZeroRefVector &) |
void | setIsolationTauChargedHadronCandidates (const std::vector< PFRecoTauChargedHadron > &) |
void | setIsolationTauChargedHadronCandidatesRefs (const PFRecoTauChargedHadronRefVector &) |
void | setjetRef (const PFJetRef &) |
void | setleadPFCand (const PFCandidatePtr &) |
void | setleadPFChargedHadrCand (const PFCandidatePtr &) |
void | setleadPFChargedHadrCandsignedSipt (const float &) |
void | setleadPFNeutralCand (const PFCandidatePtr &) |
void | setmaximumHCALPFClusterEt (const float &) |
void | setMuonDecision (const bool &) |
void | setpfTauTagInfoRef (const PFTauTagInfoRef) |
void | setSegComp (const float &) |
void | setsignalPFCands (const std::vector< reco::PFCandidatePtr > &) |
void | setsignalPFChargedHadrCands (const std::vector< reco::PFCandidatePtr > &) |
void | setsignalPFGammaCands (const std::vector< reco::PFCandidatePtr > &) |
void | setsignalPFNeutrHadrCands (const std::vector< reco::PFCandidatePtr > &) |
void | setsignalPiZeroCandidates (const std::vector< RecoTauPiZero > &) |
void | setSignalPiZeroCandidatesRefs (const RecoTauPiZeroRefVector &) |
void | setSignalTauChargedHadronCandidates (const std::vector< PFRecoTauChargedHadron > &) |
void | setSignalTauChargedHadronCandidatesRefs (const PFRecoTauChargedHadronRefVector &) |
const std::vector < reco::PFCandidatePtr > & | signalPFCands () const |
PFCandidates in signal region. More... | |
const std::vector < reco::PFCandidatePtr > & | signalPFChargedHadrCands () const |
Charged hadrons in signal region. More... | |
const std::vector < reco::PFCandidatePtr > & | signalPFGammaCands () const |
Gamma candidates in signal region. More... | |
const std::vector < reco::PFCandidatePtr > & | signalPFNeutrHadrCands () const |
Neutral hadrons in signal region. More... | |
const std::vector < RecoTauPiZero > & | signalPiZeroCandidates () const |
Retrieve the association of signal region gamma candidates into candidate PiZeros. More... | |
const std::vector < PFRecoTauChargedHadron > & | signalTauChargedHadronCandidates () const |
Retrieve the association of signal region PF candidates into candidate PFRecoTauChargedHadrons. More... | |
CandidatePtr | sourceCandidatePtr (size_type i) const |
virtual | ~PFTau () |
Public Member Functions inherited from reco::BaseTau | |
math::XYZTLorentzVector | alternatLorentzVect () const |
BaseTau () | |
BaseTau (Charge q, const LorentzVector &, const Point &=Point(0, 0, 0)) | |
virtual const reco::TrackRefVector & | isolationTracks () const |
virtual reco::TrackRef | leadTrack () const |
void | setalternatLorentzVect (const math::XYZTLorentzVector &) |
void | setisolationTracks (const TrackRefVector &) |
void | setleadTrack (const TrackRef &) |
void | setsignalTracks (const TrackRefVector &) |
virtual const reco::TrackRefVector & | signalTracks () const |
virtual | ~BaseTau () |
Public Member Functions inherited from reco::RecoCandidate | |
virtual const Track * | bestTrack () const |
best track pointer More... | |
virtual TrackBaseRef | bestTrackRef () const |
best track RefToBase More... | |
virtual TrackType | bestTrackType () const |
track type More... | |
virtual CaloTowerRef | caloTower () const |
reference to a CaloTower More... | |
virtual reco::TrackRef | combinedMuon () const |
reference to a stand-alone muon Track More... | |
virtual float | dxyError () const |
uncertainty on dxy More... | |
virtual float | dzError () const |
uncertainty on dz More... | |
virtual reco::GsfTrackRef | gsfTrack () const |
reference to a GsfTrack More... | |
virtual size_t | numberOfTracks () const |
number of multiple Tracks More... | |
RecoCandidate () | |
default constructor More... | |
template<typename P4 > | |
RecoCandidate (Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0) | |
constructor from values More... | |
virtual reco::TrackRef | standAloneMuon () const |
reference to a stand-alone muon Track More... | |
virtual reco::SuperClusterRef | superCluster () const |
reference to a SuperCluster More... | |
virtual reco::TrackRef | track () const |
reference to a Track More... | |
virtual reco::TrackRef | track (size_t) const |
reference to one of multiple Tracks More... | |
virtual | ~RecoCandidate () |
destructor More... | |
Public Member Functions inherited from reco::LeafCandidate | |
virtual Vector | boostToCM () const |
virtual int | charge () const |
electric charge More... | |
void | construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status) |
virtual const Candidate * | daughter (size_type) const |
return daughter at a given position (throws an exception) More... | |
virtual Candidate * | daughter (size_type) |
return daughter at a given position (throws an exception) More... | |
virtual Candidate * | daughter (const std::string &s) |
return daughter with a specified role name More... | |
virtual const Candidate * | daughter (const std::string &s) const |
return daughter with a specified role name More... | |
virtual double | energy () const |
energy More... | |
virtual double | et () const |
transverse energy More... | |
virtual double | et2 () const |
transverse energy squared (use this for cut!) More... | |
virtual double | eta () const |
momentum pseudorapidity More... | |
virtual void | fillVertexCovariance (CovarianceMatrix &v) const |
fill SMatrix More... | |
template<typename T > | |
T | get () const |
get a component More... | |
template<typename T , typename Tag > | |
T | get () const |
get a component More... | |
template<typename T > | |
T | get (size_type i) const |
get a component More... | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component More... | |
virtual bool | hasMasterClone () const |
virtual bool | hasMasterClonePtr () const |
virtual bool | isCaloMuon () const |
virtual bool | isConvertedPhoton () const |
virtual bool | isElectron () const |
virtual bool | isGlobalMuon () const |
virtual bool | isJet () const |
virtual bool | isMuon () const |
virtual bool | isPhoton () const |
virtual bool | isStandAloneMuon () const |
virtual bool | isTrackerMuon () const |
LeafCandidate () | |
LeafCandidate (const Candidate &c) | |
template<typename... Args> | |
LeafCandidate (Args &&...args) | |
LeafCandidate (LeafCandidate &rh) | |
LeafCandidate (LeafCandidate &&)=default | |
LeafCandidate (LeafCandidate const &)=default | |
virtual bool | longLived () const |
is long lived? More... | |
virtual double | mass () const |
mass More... | |
virtual bool | massConstraint () const |
do mass constraint? More... | |
virtual double | massSqr () const |
mass squared More... | |
virtual const CandidateBaseRef & | masterClone () const |
virtual const CandidatePtr & | masterClonePtr () const |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
virtual Vector | momentum () const |
spatial momentum vector More... | |
virtual const Candidate * | mother (size_type) const |
return mother at a given position (throws an exception) More... | |
virtual double | mt () const |
transverse mass More... | |
virtual double | mtSqr () const |
transverse mass squared More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
virtual size_t | numberOfDaughters () const |
number of daughters More... | |
virtual size_t | numberOfMothers () const |
number of mothers More... | |
LeafCandidate & | operator= (LeafCandidate &&)=default |
LeafCandidate & | operator= (LeafCandidate const &)=default |
virtual double | p () const |
magnitude of momentum vector More... | |
virtual const LorentzVector & | p4 () const |
four-momentum Lorentz vector More... | |
virtual int | pdgId () const |
PDG identifier. More... | |
virtual double | phi () const |
momentum azimuthal angle More... | |
virtual const PolarLorentzVector & | polarP4 () const |
four-momentum Lorentz vector More... | |
virtual double | pt () const |
transverse momentum More... | |
virtual double | px () const |
x coordinate of momentum vector More... | |
virtual double | py () const |
y coordinate of momentum vector More... | |
virtual double | pz () const |
z coordinate of momentum vector More... | |
virtual double | rapidity () const |
rapidity More... | |
virtual void | setCharge (Charge q) |
set electric charge More... | |
virtual void | setLongLived () |
virtual void | setMass (double m) |
set particle mass More... | |
virtual void | setMassConstraint () |
virtual void | setP4 (const LorentzVector &p4) |
set 4-momentum More... | |
virtual void | setP4 (const PolarLorentzVector &p4) |
set 4-momentum More... | |
virtual void | setPdgId (int pdgId) |
virtual void | setPz (double pz) |
virtual void | setStatus (int status) |
set status word More... | |
virtual void | setThreeCharge (Charge qx3) |
set electric charge More... | |
virtual void | setVertex (const Point &vertex) |
set vertex More... | |
virtual int | status () const |
status word More... | |
virtual double | theta () const |
momentum polar angle More... | |
virtual int | threeCharge () const |
electric charge More... | |
virtual const Point & | vertex () const |
vertex position (overwritten by PF...) More... | |
virtual double | vertexChi2 () const |
chi-squares More... | |
virtual double | vertexCovariance (int i, int j) const |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | vertexCovariance () const |
return SMatrix More... | |
virtual double | vertexNdof () const |
virtual double | vertexNormalizedChi2 () const |
chi-squared divided by n.d.o.f. More... | |
virtual double | vx () const |
x coordinate of vertex position More... | |
virtual double | vy () const |
y coordinate of vertex position More... | |
virtual double | vz () const |
z coordinate of vertex position More... | |
virtual double | y () const |
rapidity More... | |
virtual | ~LeafCandidate () |
destructor More... | |
Public Member Functions inherited from reco::Candidate | |
const_iterator | begin () const |
first daughter const_iterator More... | |
iterator | begin () |
first daughter iterator More... | |
Candidate () | |
default constructor More... | |
const_iterator | end () const |
last daughter const_iterator More... | |
iterator | end () |
last daughter iterator More... | |
template<typename T > | |
T | get () const |
get a component More... | |
template<typename T , typename Tag > | |
T | get () const |
get a component More... | |
template<typename T > | |
T | get (size_type i) const |
get a component More... | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component More... | |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
virtual void | setSourceCandidatePtr (const CandidatePtr &ptr) |
Set the ptr to the source Candidate. More... | |
virtual | ~Candidate () |
destructor More... | |
Private Member Functions | |
virtual bool | overlap (const Candidate &) const |
check overlap with another candidate More... | |
Friends | |
class | tau::PFRecoTauEnergyAlgorithmPlugin |
class | tau::RecoTauConstructor |
Additional Inherited Members | |
Protected Member Functions inherited from reco::RecoCandidate | |
template<typename R > | |
bool | checkOverlap (const R &r1, const R &r2) const |
check if two components overlap More... | |
Definition at line 35 of file PFTau.h.
reco::PFTau::PFTau | ( | ) |
Definition at line 8 of file PFTau.cc.
References bremsRecoveryEOverPLead_, caloComp_, decayMode_, ecalStripSumEOverPLead_, electronPreIDDecision_, electronPreIDOutput_, emFraction_, hcal3x3OverPLead_, hcalMaxOverPLead_, hcalTotOverPLead_, isolationPFChargedHadrCandsPtSum_, isolationPFGammaCandsEtSum_, kNull, leadPFChargedHadrCandsignedSipt_, maximumHCALPFClusterEt_, muonDecision_, and segComp_.
Referenced by clone().
reco::PFTau::PFTau | ( | Charge | q, |
const LorentzVector & | p4, | ||
const Point & | vtx = Point( 0, 0, 0 ) |
||
) |
Definition at line 28 of file PFTau.cc.
References bremsRecoveryEOverPLead_, caloComp_, decayMode_, ecalStripSumEOverPLead_, electronPreIDDecision_, electronPreIDOutput_, emFraction_, hcal3x3OverPLead_, hcalMaxOverPLead_, hcalTotOverPLead_, isolationPFChargedHadrCandsPtSum_, isolationPFGammaCandsEtSum_, kNull, leadPFChargedHadrCandsignedSipt_, maximumHCALPFClusterEt_, muonDecision_, and segComp_.
float reco::PFTau::bremsRecoveryEOverPLead | ( | ) | const |
PFTau::hadronicDecayMode reco::PFTau::calculateDecayMode | ( | ) | const |
Definition at line 180 of file PFTau.cc.
References kNull, kOneProngNPiZero, kRareDecayMode, reco::tau::helpers::nCharged(), signalPiZeroCandidates(), and signalTauChargedHadronCandidates().
float reco::PFTau::caloComp | ( | ) | const |
|
virtual |
returns a clone of the Candidate object
Reimplemented from reco::BaseTau.
Definition at line 51 of file PFTau.cc.
References PFTau().
PFTau::hadronicDecayMode reco::PFTau::decayMode | ( | ) | const |
Retrieve the identified hadronic decay mode according to the number of charged and piZero candidates in the signal cone
Definition at line 178 of file PFTau.cc.
References decayMode_.
Referenced by Tau.Tau::__str__(), reco::tau::disc::DecayMode(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), reco::operator<<(), and pat::TauJetCorrFactorsProducer::produce().
void reco::PFTau::dump | ( | std::ostream & | out = std::cout | ) | const |
prints information on this PFTau
Definition at line 258 of file PFTau.cc.
References reco::LeafCandidate::charge(), isolationPFChargedHadrCands(), isolationPFChargedHadrCandsPtSum(), isolationPFGammaCands(), isolationPFGammaCandsEtSum(), jetRef(), leadPFChargedHadrCand(), maximumHCALPFClusterEt(), pfTauTagInfoRef(), reco::LeafCandidate::pt(), signalPFChargedHadrCands(), signalPFGammaCands(), reco::LeafCandidate::vx(), reco::LeafCandidate::vy(), and reco::LeafCandidate::vz().
float reco::PFTau::ecalStripSumEOverPLead | ( | ) | const |
bool reco::PFTau::electronPreIDDecision | ( | ) | const |
float reco::PFTau::electronPreIDOutput | ( | ) | const |
Definition at line 216 of file PFTau.cc.
References electronPreIDOutput_.
Referenced by AntiElectronIDMVA5::MVAValue().
reco::TrackRef reco::PFTau::electronPreIDTrack | ( | ) | const |
float reco::PFTau::emFraction | ( | ) | const |
Definition at line 209 of file PFTau.cc.
References emFraction_.
Referenced by AntiElectronIDMVA5::MVAValue().
bool reco::PFTau::hasMuonReference | ( | ) | const |
Definition at line 230 of file PFTau.cc.
References edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), edm::Ptr< T >::isNull(), edm::Ref< C, T, F >::isNull(), and leadPFChargedHadrCand_.
float reco::PFTau::hcal3x3OverPLead | ( | ) | const |
float reco::PFTau::hcalMaxOverPLead | ( | ) | const |
float reco::PFTau::hcalTotOverPLead | ( | ) | const |
const std::vector< PFCandidatePtr > & reco::PFTau::isolationPFCands | ( | ) | const |
PFCandidates in isolation region.
Definition at line 83 of file PFTau.cc.
References selectedIsolationPFCands_.
Referenced by reco::tau::RecoTauPhotonFilter::operator()(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::operator<<(), reco::tau::disc::OutlierAngle(), reco::tau::disc::OutlierPt(), and PFTauElementsOperators::PFTauElementsOperators().
const std::vector< PFCandidatePtr > & reco::PFTau::isolationPFChargedHadrCands | ( | ) | const |
Charged candidates in isolation region.
Definition at line 85 of file PFTau.cc.
References selectedIsolationPFChargedHadrCands_.
Referenced by reco::tau::disc::ChargedOutlierAngle(), reco::tau::disc::ChargedOutlierPt(), dump(), reco::tau::disc::IsolationChargedAveragePtFraction(), reco::tau::disc::IsolationChargedSumHard(), reco::tau::disc::IsolationChargedSumSoft(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::operator<<(), reco::tau::disc::OutlierN(), reco::tau::disc::OutlierNCharged(), and PFTauElementsOperators::PFTauElementsOperators().
float reco::PFTau::isolationPFChargedHadrCandsPtSum | ( | ) | const |
Sum of charged hadron candidate PT in isolation cone; returns NaN if isolation region is undefined.
Definition at line 199 of file PFTau.cc.
References isolationPFChargedHadrCandsPtSum_.
Referenced by reco::tau::disc::ChargedOutlierSumPt(), dump(), EwkMuTauHistManager::fillHistograms(), reco::tau::disc::IsolationChargedAveragePtFraction(), reco::tau::disc::IsolationChargedPtFraction(), reco::tau::RecoTauTwoProngFilter::operator()(), HPSPFRecoTauAlgorithm::HPSTauIsolationSorter::operator()(), and reco::tau::disc::OutlierSumPt().
const std::vector< PFCandidatePtr > & reco::PFTau::isolationPFGammaCands | ( | ) | const |
Gamma candidates in isolation region.
Definition at line 89 of file PFTau.cc.
References selectedIsolationPFGammaCands_.
Referenced by dump(), reco::tau::disc::IsolationECALSumHard(), reco::tau::disc::IsolationECALSumSoft(), reco::tau::RecoTauIsolationMasking::mask(), reco::tau::disc::NeutralOutlierAngle(), reco::tau::disc::NeutralOutlierPt(), reco::tau::RecoTauPhotonFilter::operator()(), reco::operator<<(), reco::tau::disc::OutlierN(), and PFTauElementsOperators::PFTauElementsOperators().
float reco::PFTau::isolationPFGammaCandsEtSum | ( | ) | const |
Sum of gamma candidate PT in isolation cone; returns NaN if isolation region is undefined.
Definition at line 202 of file PFTau.cc.
References isolationPFGammaCandsEtSum_.
Referenced by dump(), EwkMuTauHistManager::fillHistograms(), reco::tau::disc::IsolationECALPtFraction(), reco::tau::disc::NeutralOutlierSumPt(), reco::tau::RecoTauPhotonFilter::operator()(), HPSPFRecoTauAlgorithm::HPSTauIsolationSorter::operator()(), and reco::tau::disc::OutlierSumPt().
const std::vector< PFCandidatePtr > & reco::PFTau::isolationPFNeutrHadrCands | ( | ) | const |
Definition at line 87 of file PFTau.cc.
References selectedIsolationPFNeutrHadrCands_.
Referenced by reco::tau::disc::IsolationNeutralHadronPtFraction(), reco::tau::RecoTauIsolationMasking::mask(), reco::operator<<(), and PFTauElementsOperators::PFTauElementsOperators().
const std::vector< RecoTauPiZero > & reco::PFTau::isolationPiZeroCandidates | ( | ) | const |
Retrieve the association of isolation region gamma candidates into candidate PiZeros.
Definition at line 116 of file PFTau.cc.
References i, isolationPiZeroCandidates_, isolationPiZeroCandidatesRefs_, and edm::RefVector< C, T, F >::size().
Referenced by reco::tau::RecoTauPhotonFilter::operator()(), reco::operator<<(), and RecoTauPiZeroUnembedder::produce().
const std::vector< PFRecoTauChargedHadron > & reco::PFTau::isolationTauChargedHadronCandidates | ( | ) | const |
Retrieve the association of isolation region PF candidates into candidate PFRecoTauChargedHadron.
Definition at line 159 of file PFTau.cc.
References i, isolationTauChargedHadronCandidates_, isolationTauChargedHadronCandidatesRefs_, and edm::RefVector< C, T, F >::size().
const PFJetRef & reco::PFTau::jetRef | ( | ) | const |
Definition at line 54 of file PFTau.cc.
References jetRef_.
Referenced by reco::tau::disc::AbsJetEta(), reco::tau::RecoTauVertexAssociator::associatedVertex(), PFMEtSignInterfaceBase::compResolution(), dump(), reco::tau::disc::IsolationChargedPtFraction(), reco::tau::disc::IsolationChargedSumHardRelative(), reco::tau::disc::IsolationChargedSumSoftRelative(), reco::tau::disc::IsolationECALPtFraction(), reco::tau::disc::IsolationECALSumHardRelative(), reco::tau::disc::IsolationECALSumSoftRelative(), reco::tau::disc::IsolationNeutralHadronPtFraction(), reco::tau::disc::JetEta(), reco::tau::disc::JetPt(), reco::tau::disc::JetTauDR(), reco::tau::disc::JetWidth(), reco::tau::disc::MainTrackPtFraction(), reco::tau::RecoTauTagInfoWorkaroundModifer::operator()(), reco::tau::RecoTauImpactParameterSignificancePlugin::operator()(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), reco::tau::RecoTauEnergyRecoveryPlugin2::operator()(), reco::tau::RecoTauObjectEmbedder< T >::operator()(), reco::tau::disc::ScaledEtaJetCollimation(), reco::tau::disc::ScaledPhiJetCollimation(), reco::tau::disc::SignalPtFraction(), sourceCandidatePtr(), pat::tau::TauPFEssential::TauPFEssential(), and pat::tau::TauPFSpecific::TauPFSpecific().
const PFCandidatePtr & reco::PFTau::leadPFCand | ( | ) | const |
const PFCandidatePtr & reco::PFTau::leadPFChargedHadrCand | ( | ) | const |
Definition at line 63 of file PFTau.cc.
References leadPFChargedHadrCand_.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), HPSPFRecoTauAlgorithm::applyMuonRejection(), HPSPFRecoTauAlgorithm::buildPFTau(), dump(), reco::tau::disc::IsolationChargedAveragePtFraction(), reco::tau::disc::mainTrack(), AntiElectronIDMVA5::MVAValue(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), reco::tau::RecoTauImpactParameterSignificancePlugin::operator()(), and L1HLTTauMatching::produce().
float reco::PFTau::leadPFChargedHadrCandsignedSipt | ( | ) | const |
Signed transverse impact parameter significance of the Track associated to the leading charged PFCandidate
Definition at line 71 of file PFTau.cc.
References leadPFChargedHadrCandsignedSipt_.
Referenced by reco::tau::disc::ImpactParameterSignificance().
const PFCandidatePtr & reco::PFTau::leadPFNeutralCand | ( | ) | const |
PFRecoTauChargedHadronRef reco::PFTau::leadTauChargedHadronCandidate | ( | ) | const |
Definition at line 132 of file PFTau.cc.
References signalTauChargedHadronCandidatesRefs_, and edm::RefVector< C, T, F >::size().
float reco::PFTau::maximumHCALPFClusterEt | ( | ) | const |
bool reco::PFTau::muonDecision | ( | ) | const |
|
inlinevirtual |
return the number of source Candidates ( the candidates used to construct this Candidate) in the case of taus, there is only one source candidate, which is the corresponding PFJet
Reimplemented from reco::LeafCandidate.
|
privatevirtual |
check overlap with another candidate
Reimplemented from reco::BaseTau.
Definition at line 253 of file PFTau.cc.
References reco::RecoCandidate::checkOverlap(), and reco::RecoCandidate::track().
const PFTauTagInfoRef & reco::PFTau::pfTauTagInfoRef | ( | ) | const |
Definition at line 57 of file PFTau.cc.
References PFTauTagInfoRef_.
Referenced by reco::tau::RecoTauVertexAssociator::associatedVertex(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), HPSPFRecoTauAlgorithm::buildPFTau(), dump(), and PFTauElementsOperators::PFTauElementsOperators().
void reco::PFTau::setbremsRecoveryEOverPLead | ( | const float & | x | ) |
Definition at line 224 of file PFTau.cc.
References bremsRecoveryEOverPLead_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauObjectEmbedder< T >::operator()().
void reco::PFTau::setCaloComp | ( | const float & | x | ) |
Definition at line 243 of file PFTau.cc.
Referenced by HPSPFRecoTauAlgorithm::applyMuonRejection().
void reco::PFTau::setDecayMode | ( | const hadronicDecayMode & | dm | ) |
void reco::PFTau::setecalStripSumEOverPLead | ( | const float & | x | ) |
Definition at line 223 of file PFTau.cc.
References ecalStripSumEOverPLead_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
void reco::PFTau::setelectronPreIDDecision | ( | const bool & | x | ) |
Definition at line 227 of file PFTau.cc.
References electronPreIDDecision_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
void reco::PFTau::setelectronPreIDOutput | ( | const float & | x | ) |
Definition at line 226 of file PFTau.cc.
References electronPreIDOutput_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
void reco::PFTau::setelectronPreIDTrack | ( | const reco::TrackRef & | x | ) |
Definition at line 225 of file PFTau.cc.
References electronPreIDTrack_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
void reco::PFTau::setemFraction | ( | const float & | x | ) |
Definition at line 219 of file PFTau.cc.
References emFraction_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
void reco::PFTau::sethcal3x3OverPLead | ( | const float & | x | ) |
Definition at line 222 of file PFTau.cc.
References hcal3x3OverPLead_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
void reco::PFTau::sethcalMaxOverPLead | ( | const float & | x | ) |
Definition at line 221 of file PFTau.cc.
References hcalMaxOverPLead_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
void reco::PFTau::sethcalTotOverPLead | ( | const float & | x | ) |
Definition at line 220 of file PFTau.cc.
References hcalTotOverPLead_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
void reco::PFTau::setisolationPFCands | ( | const std::vector< reco::PFCandidatePtr > & | myParts | ) |
Definition at line 84 of file PFTau.cc.
References selectedIsolationPFCands_.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), reco::tau::RecoTauPhotonFilter::operator()(), and reco::tau::RecoTauTwoProngFilter::operator()().
void reco::PFTau::setisolationPFChargedHadrCands | ( | const std::vector< reco::PFCandidatePtr > & | myParts | ) |
Definition at line 86 of file PFTau.cc.
References selectedIsolationPFChargedHadrCands_.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), and reco::tau::RecoTauTwoProngFilter::operator()().
void reco::PFTau::setisolationPFChargedHadrCandsPtSum | ( | const float & | x | ) |
Definition at line 200 of file PFTau.cc.
References isolationPFChargedHadrCandsPtSum_, and x.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), and reco::tau::RecoTauTwoProngFilter::operator()().
void reco::PFTau::setisolationPFGammaCands | ( | const std::vector< reco::PFCandidatePtr > & | myParts | ) |
Definition at line 90 of file PFTau.cc.
References selectedIsolationPFGammaCands_.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), and reco::tau::RecoTauPhotonFilter::operator()().
void reco::PFTau::setisolationPFGammaCandsEtSum | ( | const float & | x | ) |
Definition at line 203 of file PFTau.cc.
References isolationPFGammaCandsEtSum_, and x.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), and reco::tau::RecoTauPhotonFilter::operator()().
void reco::PFTau::setisolationPFNeutrHadrCands | ( | const std::vector< reco::PFCandidatePtr > & | myParts | ) |
Definition at line 88 of file PFTau.cc.
References selectedIsolationPFNeutrHadrCands_.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates().
void reco::PFTau::setisolationPiZeroCandidates | ( | const std::vector< RecoTauPiZero > & | cands | ) |
Definition at line 127 of file PFTau.cc.
References signalPiZeroCandidates_.
Referenced by reco::tau::RecoTauPhotonFilter::operator()().
void reco::PFTau::setIsolationPiZeroCandidatesRefs | ( | const RecoTauPiZeroRefVector & | cands | ) |
Definition at line 112 of file PFTau.cc.
References isolationPiZeroCandidatesRefs_.
Referenced by RecoTauPiZeroUnembedder::produce().
void reco::PFTau::setIsolationTauChargedHadronCandidates | ( | const std::vector< PFRecoTauChargedHadron > & | cands | ) |
Definition at line 170 of file PFTau.cc.
References isolationTauChargedHadronCandidates_.
void reco::PFTau::setIsolationTauChargedHadronCandidatesRefs | ( | const PFRecoTauChargedHadronRefVector & | cands | ) |
Definition at line 174 of file PFTau.cc.
References isolationTauChargedHadronCandidatesRefs_.
void reco::PFTau::setjetRef | ( | const PFJetRef & | x | ) |
Definition at line 55 of file PFTau.cc.
Referenced by RecoTauProducer::produce().
void reco::PFTau::setleadPFCand | ( | const PFCandidatePtr & | myLead | ) |
Definition at line 69 of file PFTau.cc.
References leadPFCand_.
Referenced by HPSPFRecoTauAlgorithm::buildOneProng(), and HPSPFRecoTauAlgorithm::buildThreeProngs().
void reco::PFTau::setleadPFChargedHadrCand | ( | const PFCandidatePtr & | myLead | ) |
Definition at line 67 of file PFTau.cc.
References leadPFChargedHadrCand_.
Referenced by HPSPFRecoTauAlgorithm::buildOneProng(), and HPSPFRecoTauAlgorithm::buildThreeProngs().
void reco::PFTau::setleadPFChargedHadrCandsignedSipt | ( | const float & | x | ) |
Definition at line 72 of file PFTau.cc.
References leadPFChargedHadrCandsignedSipt_, and x.
Referenced by HPSPFRecoTauAlgorithm::buildPFTau(), and reco::tau::RecoTauImpactParameterSignificancePlugin::operator()().
void reco::PFTau::setleadPFNeutralCand | ( | const PFCandidatePtr & | myLead | ) |
void reco::PFTau::setmaximumHCALPFClusterEt | ( | const float & | x | ) |
Definition at line 206 of file PFTau.cc.
References maximumHCALPFClusterEt_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().
void reco::PFTau::setMuonDecision | ( | const bool & | x | ) |
Definition at line 245 of file PFTau.cc.
References muonDecision_, and x.
Referenced by HPSPFRecoTauAlgorithm::applyMuonRejection().
void reco::PFTau::setpfTauTagInfoRef | ( | const PFTauTagInfoRef | x | ) |
Definition at line 61 of file PFTau.cc.
References PFTauTagInfoRef_, and x.
Referenced by HPSPFRecoTauAlgorithm::buildOneProng(), PFRecoTauAlgorithm::buildPFTau(), HPSPFRecoTauAlgorithm::buildPFTau(), HPSPFRecoTauAlgorithm::buildThreeProngs(), and reco::tau::RecoTauTagInfoWorkaroundModifer::operator()().
void reco::PFTau::setSegComp | ( | const float & | x | ) |
Definition at line 244 of file PFTau.cc.
Referenced by HPSPFRecoTauAlgorithm::applyMuonRejection().
void reco::PFTau::setsignalPFCands | ( | const std::vector< reco::PFCandidatePtr > & | myParts | ) |
Definition at line 75 of file PFTau.cc.
References selectedSignalPFCands_.
Referenced by HPSPFRecoTauAlgorithm::buildOneProng(), HPSPFRecoTauAlgorithm::buildThreeProngs(), reco::tau::RecoTauPhotonFilter::operator()(), and reco::tau::RecoTauTwoProngFilter::operator()().
void reco::PFTau::setsignalPFChargedHadrCands | ( | const std::vector< reco::PFCandidatePtr > & | myParts | ) |
Definition at line 77 of file PFTau.cc.
References selectedSignalPFChargedHadrCands_.
Referenced by HPSPFRecoTauAlgorithm::buildOneProng(), HPSPFRecoTauAlgorithm::buildThreeProngs(), and reco::tau::RecoTauTwoProngFilter::operator()().
void reco::PFTau::setsignalPFGammaCands | ( | const std::vector< reco::PFCandidatePtr > & | myParts | ) |
Definition at line 81 of file PFTau.cc.
References selectedSignalPFGammaCands_.
void reco::PFTau::setsignalPFNeutrHadrCands | ( | const std::vector< reco::PFCandidatePtr > & | myParts | ) |
Definition at line 79 of file PFTau.cc.
References selectedSignalPFNeutrHadrCands_.
void reco::PFTau::setsignalPiZeroCandidates | ( | const std::vector< RecoTauPiZero > & | cands | ) |
Definition at line 104 of file PFTau.cc.
References signalPiZeroCandidates_.
Referenced by reco::tau::RecoTauPhotonFilter::operator()().
void reco::PFTau::setSignalPiZeroCandidatesRefs | ( | const RecoTauPiZeroRefVector & | cands | ) |
Definition at line 108 of file PFTau.cc.
References signalPiZeroCandidatesRefs_.
Referenced by RecoTauPiZeroUnembedder::produce().
void reco::PFTau::setSignalTauChargedHadronCandidates | ( | const std::vector< PFRecoTauChargedHadron > & | cands | ) |
Definition at line 151 of file PFTau.cc.
References signalTauChargedHadronCandidates_.
void reco::PFTau::setSignalTauChargedHadronCandidatesRefs | ( | const PFRecoTauChargedHadronRefVector & | cands | ) |
Definition at line 155 of file PFTau.cc.
References signalTauChargedHadronCandidatesRefs_.
const std::vector< PFCandidatePtr > & reco::PFTau::signalPFCands | ( | ) | const |
PFCandidates in signal region.
Definition at line 74 of file PFTau.cc.
References selectedSignalPFCands_.
Referenced by reco::PFMETProducerMVA::chargedEnFrac(), PFTauExtractor::depositFromObject(), AntiElectronIDMVA5::MVAValue(), reco::tau::disc::OpeningAngle3D(), reco::tau::disc::OpeningDeltaR(), reco::tau::RecoTauPhotonFilter::operator()(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), reco::operator<<(), and reco::tau::disc::ScaledOpeningDeltaR().
const std::vector< PFCandidatePtr > & reco::PFTau::signalPFChargedHadrCands | ( | ) | const |
Charged hadrons in signal region.
Definition at line 76 of file PFTau.cc.
References selectedSignalPFChargedHadrCands_.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), dump(), reco::tau::disc::mainTrack(), reco::tau::RecoTauIsolationMasking::mask(), AntiElectronIDMVA5::MVAValue(), reco::tau::helpers::nCharged(), reco::tau::disc::notMainTrack(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::operator<<(), and HPSPFRecoTauAlgorithm::refitThreeProng().
const std::vector< PFCandidatePtr > & reco::PFTau::signalPFGammaCands | ( | ) | const |
Gamma candidates in signal region.
Definition at line 80 of file PFTau.cc.
References selectedSignalPFGammaCands_.
Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), dump(), reco::tau::disc::EMFraction(), AntiElectronIDMVA5::MVAValue(), reco::tau::RecoTauPhotonFilter::operator()(), and reco::operator<<().
const std::vector< PFCandidatePtr > & reco::PFTau::signalPFNeutrHadrCands | ( | ) | const |
Neutral hadrons in signal region.
Definition at line 78 of file PFTau.cc.
References selectedSignalPFNeutrHadrCands_.
Referenced by reco::operator<<().
const std::vector< RecoTauPiZero > & reco::PFTau::signalPiZeroCandidates | ( | ) | const |
Retrieve the association of signal region gamma candidates into candidate PiZeros.
Definition at line 93 of file PFTau.cc.
References i, signalPiZeroCandidates_, signalPiZeroCandidatesRefs_, and edm::RefVector< C, T, F >::size().
Referenced by calculateDecayMode(), reco::tau::disc::Dalitz2(), reco::tau::helpers::nGammas(), reco::tau::RecoTauPhotonFilter::operator()(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), reco::operator<<(), reco::tau::disc::PiZeroAngle(), reco::tau::disc::PiZeroEta(), reco::tau::disc::PiZeroPt(), and RecoTauPiZeroUnembedder::produce().
const std::vector< PFRecoTauChargedHadron > & reco::PFTau::signalTauChargedHadronCandidates | ( | ) | const |
Retrieve the association of signal region PF candidates into candidate PFRecoTauChargedHadrons.
Definition at line 140 of file PFTau.cc.
References i, signalTauChargedHadronCandidates_, signalTauChargedHadronCandidatesRefs_, and edm::RefVector< C, T, F >::size().
Referenced by calculateDecayMode(), and reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()().
|
virtual |
return a RefToBase to the source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::LeafCandidate.
Definition at line 247 of file PFTau.cc.
References jetRef(), and edm::refToPtr().
|
friend |
|
friend |
|
private |
Definition at line 220 of file PFTau.h.
Referenced by bremsRecoveryEOverPLead(), PFTau(), and setbremsRecoveryEOverPLead().
|
private |
Definition at line 224 of file PFTau.h.
Referenced by caloComp(), PFTau(), and setCaloComp().
|
private |
Definition at line 227 of file PFTau.h.
Referenced by decayMode(), PFTau(), and setDecayMode().
|
private |
Definition at line 219 of file PFTau.h.
Referenced by ecalStripSumEOverPLead(), PFTau(), and setecalStripSumEOverPLead().
|
private |
Definition at line 205 of file PFTau.h.
Referenced by electronPreIDDecision(), PFTau(), and setelectronPreIDDecision().
|
private |
Definition at line 221 of file PFTau.h.
Referenced by electronPreIDOutput(), PFTau(), and setelectronPreIDOutput().
|
private |
Definition at line 234 of file PFTau.h.
Referenced by electronPreIDTrack(), and setelectronPreIDTrack().
|
private |
Definition at line 215 of file PFTau.h.
Referenced by emFraction(), PFTau(), and setemFraction().
|
private |
Definition at line 218 of file PFTau.h.
Referenced by hcal3x3OverPLead(), PFTau(), and sethcal3x3OverPLead().
|
private |
Definition at line 217 of file PFTau.h.
Referenced by hcalMaxOverPLead(), PFTau(), and sethcalMaxOverPLead().
|
private |
Definition at line 216 of file PFTau.h.
Referenced by hcalTotOverPLead(), PFTau(), and sethcalTotOverPLead().
|
private |
Definition at line 210 of file PFTau.h.
Referenced by isolationPFChargedHadrCandsPtSum(), PFTau(), and setisolationPFChargedHadrCandsPtSum().
|
private |
Definition at line 211 of file PFTau.h.
Referenced by isolationPFGammaCandsEtSum(), PFTau(), and setisolationPFGammaCandsEtSum().
|
mutableprivate |
Definition at line 256 of file PFTau.h.
Referenced by isolationPiZeroCandidates().
|
private |
Definition at line 249 of file PFTau.h.
Referenced by isolationPiZeroCandidates(), and setIsolationPiZeroCandidatesRefs().
|
mutableprivate |
Definition at line 260 of file PFTau.h.
Referenced by isolationTauChargedHadronCandidates(), and setIsolationTauChargedHadronCandidates().
|
private |
Definition at line 252 of file PFTau.h.
Referenced by isolationTauChargedHadronCandidates(), and setIsolationTauChargedHadronCandidatesRefs().
|
private |
Definition at line 229 of file PFTau.h.
Referenced by jetRef(), and setjetRef().
|
private |
Definition at line 233 of file PFTau.h.
Referenced by leadPFCand(), and setleadPFCand().
|
private |
Definition at line 231 of file PFTau.h.
Referenced by hasMuonReference(), leadPFChargedHadrCand(), and setleadPFChargedHadrCand().
|
private |
Definition at line 208 of file PFTau.h.
Referenced by leadPFChargedHadrCandsignedSipt(), PFTau(), and setleadPFChargedHadrCandsignedSipt().
|
private |
Definition at line 232 of file PFTau.h.
Referenced by leadPFNeutralCand(), and setleadPFNeutralCand().
|
private |
Definition at line 212 of file PFTau.h.
Referenced by maximumHCALPFClusterEt(), PFTau(), and setmaximumHCALPFClusterEt().
|
private |
Definition at line 204 of file PFTau.h.
Referenced by muonDecision(), PFTau(), and setMuonDecision().
|
private |
Definition at line 230 of file PFTau.h.
Referenced by pfTauTagInfoRef(), and setpfTauTagInfoRef().
|
private |
Definition at line 225 of file PFTau.h.
Referenced by PFTau(), segComp(), and setSegComp().
|
private |
Definition at line 243 of file PFTau.h.
Referenced by isolationPFCands(), and setisolationPFCands().
|
private |
Definition at line 244 of file PFTau.h.
Referenced by isolationPFChargedHadrCands(), and setisolationPFChargedHadrCands().
|
private |
Definition at line 246 of file PFTau.h.
Referenced by isolationPFGammaCands(), and setisolationPFGammaCands().
|
private |
Definition at line 245 of file PFTau.h.
Referenced by isolationPFNeutrHadrCands(), and setisolationPFNeutrHadrCands().
|
private |
Definition at line 237 of file PFTau.h.
Referenced by setsignalPFCands(), and signalPFCands().
|
private |
Definition at line 238 of file PFTau.h.
Referenced by setsignalPFChargedHadrCands(), and signalPFChargedHadrCands().
|
private |
Definition at line 240 of file PFTau.h.
Referenced by setsignalPFGammaCands(), and signalPFGammaCands().
|
private |
Definition at line 239 of file PFTau.h.
Referenced by setsignalPFNeutrHadrCands(), and signalPFNeutrHadrCands().
|
mutableprivate |
Definition at line 255 of file PFTau.h.
Referenced by setisolationPiZeroCandidates(), setsignalPiZeroCandidates(), and signalPiZeroCandidates().
|
private |
Definition at line 248 of file PFTau.h.
Referenced by setSignalPiZeroCandidatesRefs(), and signalPiZeroCandidates().
|
mutableprivate |
Definition at line 259 of file PFTau.h.
Referenced by reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), setSignalTauChargedHadronCandidates(), and signalTauChargedHadronCandidates().
|
private |
Definition at line 251 of file PFTau.h.
Referenced by leadTauChargedHadronCandidate(), setSignalTauChargedHadronCandidatesRefs(), and signalTauChargedHadronCandidates().