#include <PFTau.h>
Public Member Functions | |
float | bendCorrMass () const |
Effect of eta and phi correction of strip on mass of tau candidate. More... | |
float | bremsRecoveryEOverPLead () const |
float | caloComp () const |
PFTau * | clone () const override |
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::CandidatePtr > & | isolationCands () const |
Candidates in isolation region. More... | |
const std::vector< reco::CandidatePtr > & | isolationChargedHadrCands () const |
Charged candidates in isolation region. More... | |
const std::vector< reco::CandidatePtr > & | isolationGammaCands () const |
Gamma candidates in isolation region. More... | |
const std::vector< reco::CandidatePtr > & | isolationNeutrHadrCands () const |
const std::vector< reco::PFCandidatePtr > & | isolationPFCands () const |
const std::vector< reco::PFCandidatePtr > & | isolationPFChargedHadrCands () const |
float | isolationPFChargedHadrCandsPtSum () const |
const std::vector< reco::PFCandidatePtr > & | isolationPFGammaCands () const |
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 JetBaseRef & | jetRef () const |
const CandidatePtr & | leadCand () const |
const CandidatePtr & | leadChargedHadrCand () const |
const CandidatePtr & | leadNeutralCand () const |
const PFCandidatePtr | leadPFCand () const |
const PFCandidatePtr | leadPFChargedHadrCand () const |
Getters for different PFCandidates for PFTaus made from PFCandidates. More... | |
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 override |
PFTau () | |
PFTau (Charge q, const LorentzVector &, const Point &=Point(0, 0, 0)) | |
const PFTauTagInfoRef & | pfTauTagInfoRef () const |
float | segComp () const |
void | setBendCorrMass (float bendCorrMass) |
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 | setisolationCands (const std::vector< reco::CandidatePtr > &) |
void | setisolationChargedHadrCands (const std::vector< reco::CandidatePtr > &) |
void | setisolationGammaCands (const std::vector< reco::CandidatePtr > &) |
void | setisolationNeutrHadrCands (const std::vector< reco::CandidatePtr > &) |
void | setisolationPFChargedHadrCandsPtSum (const float &) |
void | setisolationPFGammaCandsEtSum (const float &) |
void | setisolationPiZeroCandidates (std::vector< RecoTauPiZero >) |
void | setIsolationPiZeroCandidatesRefs (RecoTauPiZeroRefVector) |
void | setIsolationTauChargedHadronCandidates (std::vector< PFRecoTauChargedHadron >) |
void | setIsolationTauChargedHadronCandidatesRefs (PFRecoTauChargedHadronRefVector) |
void | setjetRef (const JetBaseRef &) |
void | setleadCand (const CandidatePtr &) |
void | setleadChargedHadrCand (const CandidatePtr &) |
void | setleadNeutralCand (const CandidatePtr &) |
void | setleadPFChargedHadrCandsignedSipt (const float &) |
void | setmaximumHCALPFClusterEt (const float &) |
void | setMuonDecision (const bool &) |
void | setpfTauTagInfoRef (const PFTauTagInfoRef) |
void | setSegComp (const float &) |
void | setsignalCands (const std::vector< reco::CandidatePtr > &) |
void | setsignalChargedHadrCands (const std::vector< reco::CandidatePtr > &) |
void | setSignalConeSize (double signalConeSize) |
void | setsignalGammaCands (const std::vector< reco::CandidatePtr > &) |
void | setsignalNeutrHadrCands (const std::vector< reco::CandidatePtr > &) |
void | setsignalPiZeroCandidates (std::vector< RecoTauPiZero >) |
void | setSignalPiZeroCandidatesRefs (RecoTauPiZeroRefVector) |
void | setSignalTauChargedHadronCandidates (std::vector< PFRecoTauChargedHadron >) |
void | setSignalTauChargedHadronCandidatesRefs (PFRecoTauChargedHadronRefVector) |
const std::vector< reco::CandidatePtr > & | signalCands () const |
Candidates in signal region. More... | |
const std::vector< reco::CandidatePtr > & | signalChargedHadrCands () const |
Charged hadrons in signal region. More... | |
double | signalConeSize () const |
Size of signal cone. More... | |
const std::vector< reco::CandidatePtr > & | signalGammaCands () const |
Gamma candidates in signal region. More... | |
const std::vector< reco::CandidatePtr > & | signalNeutrHadrCands () const |
Neutral hadrons in signal region. More... | |
const std::vector< reco::PFCandidatePtr > & | signalPFCands () const |
const std::vector< reco::PFCandidatePtr > & | signalPFChargedHadrCands () const |
const std::vector< reco::PFCandidatePtr > & | signalPFGammaCands () const |
const std::vector< reco::PFCandidatePtr > & | signalPFNeutrHadrCands () const |
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 override |
~PFTau () override | |
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 |
~BaseTau () override | |
Public Member Functions inherited from reco::RecoCandidate | |
const Track * | bestTrack () const override |
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... | |
float | dxyError () const override |
uncertainty on dxy More... | |
float | dzError () const override |
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... | |
~RecoCandidate () override | |
destructor More... | |
Public Member Functions inherited from reco::LeafCandidate | |
Vector | boostToCM () const final |
int | charge () const final |
electric charge More... | |
void | construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status) |
const Candidate * | daughter (size_type) const override |
return daughter at a given position (throws an exception) More... | |
Candidate * | daughter (size_type) override |
return daughter at a given position (throws an exception) More... | |
Candidate * | daughter (const std::string &s) override |
return daughter with a specified role name More... | |
const Candidate * | daughter (const std::string &s) const override |
return daughter with a specified role name More... | |
double | energy () const final |
energy More... | |
double | et () const final |
transverse energy More... | |
double | et2 () const final |
transverse energy squared (use this for cut!) More... | |
double | eta () const final |
momentum pseudorapidity More... | |
void | fillVertexCovariance (CovarianceMatrix &v) const override |
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... | |
bool | hasMasterClone () const override |
bool | hasMasterClonePtr () const override |
bool | isCaloMuon () const override |
bool | isConvertedPhoton () const override |
bool | isElectron () const override |
bool | isGlobalMuon () const override |
bool | isJet () const override |
bool | isMuon () const override |
bool | isPhoton () const override |
bool | isStandAloneMuon () const override |
bool | isTrackerMuon () const override |
LeafCandidate () | |
LeafCandidate (const Candidate &c) | |
template<typename... Args> | |
LeafCandidate (Args &&... args) | |
LeafCandidate (LeafCandidate &rh) | |
LeafCandidate (LeafCandidate &&)=default | |
LeafCandidate (LeafCandidate const &)=default | |
bool | longLived () const final |
is long lived? More... | |
double | mass () const final |
mass More... | |
bool | massConstraint () const final |
do mass constraint? More... | |
double | massSqr () const final |
mass squared More... | |
const CandidateBaseRef & | masterClone () const override |
const CandidatePtr & | masterClonePtr () const override |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
Vector | momentum () const final |
spatial momentum vector More... | |
const Candidate * | mother (size_type) const override |
return mother at a given position (throws an exception) More... | |
double | mt () const final |
transverse mass More... | |
double | mtSqr () const final |
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... | |
size_t | numberOfDaughters () const override |
number of daughters More... | |
size_t | numberOfMothers () const override |
number of mothers More... | |
LeafCandidate & | operator= (LeafCandidate &&)=default |
LeafCandidate & | operator= (LeafCandidate const &)=default |
double | p () const final |
magnitude of momentum vector More... | |
const LorentzVector & | p4 () const final |
four-momentum Lorentz vector More... | |
int | pdgId () const final |
PDG identifier. More... | |
double | phi () const final |
momentum azimuthal angle More... | |
const PolarLorentzVector & | polarP4 () const final |
four-momentum Lorentz vector More... | |
double | pt () const final |
transverse momentum More... | |
double | px () const final |
x coordinate of momentum vector More... | |
double | py () const final |
y coordinate of momentum vector More... | |
double | pz () const final |
z coordinate of momentum vector More... | |
double | rapidity () const final |
rapidity More... | |
void | setCharge (Charge q) final |
set electric charge More... | |
void | setLongLived () final |
void | setMass (double m) final |
set particle mass More... | |
void | setMassConstraint () final |
void | setP4 (const LorentzVector &p4) final |
set 4-momentum More... | |
void | setP4 (const PolarLorentzVector &p4) final |
set 4-momentum More... | |
void | setPdgId (int pdgId) final |
void | setPz (double pz) final |
void | setStatus (int status) final |
set status word More... | |
void | setThreeCharge (Charge qx3) final |
set electric charge More... | |
void | setVertex (const Point &vertex) override |
set vertex More... | |
int | status () const final |
status word More... | |
double | theta () const final |
momentum polar angle More... | |
int | threeCharge () const final |
electric charge More... | |
const Point & | vertex () const override |
vertex position (overwritten by PF...) More... | |
double | vertexChi2 () const override |
chi-squares More... | |
double | vertexCovariance (int i, int j) const override |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | vertexCovariance () const final |
return SMatrix More... | |
double | vertexNdof () const override |
double | vertexNormalizedChi2 () const override |
chi-squared divided by n.d.o.f. More... | |
double | vx () const override |
x coordinate of vertex position More... | |
double | vy () const override |
y coordinate of vertex position More... | |
double | vz () const override |
z coordinate of vertex position More... | |
double | y () const final |
rapidity More... | |
~LeafCandidate () override | |
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 | |
std::vector< RecoTauPiZero > & | isolationPiZeroCandidatesRestricted () |
std::vector< PFRecoTauChargedHadron > & | isolationTauChargedHadronCandidatesRestricted () |
bool | overlap (const Candidate &) const override |
check overlap with another candidate More... | |
std::vector< RecoTauPiZero > & | signalPiZeroCandidatesRestricted () |
std::vector< PFRecoTauChargedHadron > & | signalTauChargedHadronCandidatesRestricted () |
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 38 of file PFTau.h.
reco::PFTau::PFTau | ( | ) |
Definition at line 9 of file PFTau.cc.
References bendCorrMass_, bremsRecoveryEOverPLead_, caloComp_, decayMode_, ecalStripSumEOverPLead_, electronPreIDDecision_, electronPreIDOutput_, emFraction_, hcal3x3OverPLead_, hcalMaxOverPLead_, hcalTotOverPLead_, isolationPFChargedHadrCandsPtSum_, isolationPFGammaCandsEtSum_, kNull, leadPFChargedHadrCandsignedSipt_, maximumHCALPFClusterEt_, muonDecision_, segComp_, and signalConeSize_.
Referenced by clone().
reco::PFTau::PFTau | ( | Charge | q, |
const LorentzVector & | p4, | ||
const Point & | vtx = Point(0, 0, 0) |
||
) |
Definition at line 30 of file PFTau.cc.
References bendCorrMass_, bremsRecoveryEOverPLead_, caloComp_, decayMode_, ecalStripSumEOverPLead_, electronPreIDDecision_, electronPreIDOutput_, emFraction_, hcal3x3OverPLead_, hcalMaxOverPLead_, hcalTotOverPLead_, isolationPFChargedHadrCandsPtSum_, isolationPFGammaCandsEtSum_, kNull, leadPFChargedHadrCandsignedSipt_, maximumHCALPFClusterEt_, muonDecision_, segComp_, and signalConeSize_.
|
inline |
Effect of eta and phi correction of strip on mass of tau candidate.
Definition at line 170 of file PFTau.h.
References bendCorrMass_.
Referenced by setBendCorrMass().
float reco::PFTau::bremsRecoveryEOverPLead | ( | ) | const |
float reco::PFTau::caloComp | ( | ) | const |
|
overridevirtual |
returns a clone of the Candidate object
Reimplemented from reco::BaseTau.
Definition at line 53 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 325 of file PFTau.cc.
References decayMode_.
Referenced by Tau.Tau::__str__(), PATTauHybridProducer::fillTauFromJet(), and pat::TauJetCorrFactorsProducer::produce().
void reco::PFTau::dump | ( | std::ostream & | out = std::cout | ) | const |
prints information on this PFTau
Definition at line 395 of file PFTau.cc.
References reco::LeafCandidate::charge(), isolationChargedHadrCands(), isolationGammaCands(), isolationPFChargedHadrCandsPtSum(), isolationPFGammaCandsEtSum(), leadChargedHadrCand(), maximumHCALPFClusterEt(), MillePedeFileConverter_cfg::out, pfTauTagInfoRef(), reco::LeafCandidate::pt(), signalChargedHadrCands(), signalGammaCands(), 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 |
reco::TrackRef reco::PFTau::electronPreIDTrack | ( | ) | const |
float reco::PFTau::emFraction | ( | ) | const |
Definition at line 340 of file PFTau.cc.
References emFraction_.
Referenced by AntiElectronIDMVA6< TauType, ElectronType >::getTauVarsTypeSpecific().
bool reco::PFTau::hasMuonReference | ( | ) | const |
Definition at line 361 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(), leadChargedHadrCand_, and reco::PFCandidate::muonRef().
float reco::PFTau::hcal3x3OverPLead | ( | ) | const |
float reco::PFTau::hcalMaxOverPLead | ( | ) | const |
float reco::PFTau::hcalTotOverPLead | ( | ) | const |
const std::vector< CandidatePtr > & reco::PFTau::isolationCands | ( | ) | const |
Candidates in isolation region.
Definition at line 87 of file PFTau.cc.
References selectedIsolationCands_.
const std::vector< CandidatePtr > & reco::PFTau::isolationChargedHadrCands | ( | ) | const |
Charged candidates in isolation region.
Definition at line 89 of file PFTau.cc.
References selectedIsolationChargedHadrCands_.
Referenced by dump().
const std::vector< CandidatePtr > & reco::PFTau::isolationGammaCands | ( | ) | const |
Gamma candidates in isolation region.
Definition at line 99 of file PFTau.cc.
References selectedIsolationGammaCands_.
Referenced by dump().
const std::vector< CandidatePtr > & reco::PFTau::isolationNeutrHadrCands | ( | ) | const |
Definition at line 95 of file PFTau.cc.
References selectedIsolationNeutrHadrCands_.
const std::vector< reco::PFCandidatePtr > & reco::PFTau::isolationPFCands | ( | ) | const |
Definition at line 211 of file PFTau.cc.
References selectedIsolationCands_, and selectedTransientIsolationPFCands_.
const std::vector< reco::PFCandidatePtr > & reco::PFTau::isolationPFChargedHadrCands | ( | ) | const |
Definition at line 218 of file PFTau.cc.
References selectedIsolationChargedHadrCands_, and selectedTransientIsolationPFChargedHadrCands_.
float reco::PFTau::isolationPFChargedHadrCandsPtSum | ( | ) | const |
Sum of charged hadron candidate PT in isolation cone; returns NaN if isolation region is undefined.
Definition at line 330 of file PFTau.cc.
References isolationPFChargedHadrCandsPtSum_.
Referenced by dump(), and EwkMuTauHistManager::fillHistograms().
const std::vector< reco::PFCandidatePtr > & reco::PFTau::isolationPFGammaCands | ( | ) | const |
Definition at line 232 of file PFTau.cc.
References selectedIsolationGammaCands_, and selectedTransientIsolationPFGammaCands_.
float reco::PFTau::isolationPFGammaCandsEtSum | ( | ) | const |
Sum of gamma candidate PT in isolation cone; returns NaN if isolation region is undefined.
Definition at line 333 of file PFTau.cc.
References isolationPFGammaCandsEtSum_.
Referenced by dump(), and EwkMuTauHistManager::fillHistograms().
const std::vector< reco::PFCandidatePtr > & reco::PFTau::isolationPFNeutrHadrCands | ( | ) | const |
Definition at line 225 of file PFTau.cc.
References selectedIsolationNeutrHadrCands_, and selectedTransientIsolationPFNeutrHadrCands_.
const std::vector< RecoTauPiZero > & reco::PFTau::isolationPiZeroCandidates | ( | ) | const |
Retrieve the association of isolation region gamma candidates into candidate PiZeros.
Definition at line 259 of file PFTau.cc.
References isolationPiZeroCandidates_, and isolationPiZeroCandidatesRefs_.
Referenced by RecoTauPiZeroUnembedder::produce().
|
private |
Definition at line 265 of file PFTau.cc.
References isolationPiZeroCandidates_.
const std::vector< PFRecoTauChargedHadron > & reco::PFTau::isolationTauChargedHadronCandidates | ( | ) | const |
Retrieve the association of isolation region PF candidates into candidate PFRecoTauChargedHadron.
Definition at line 306 of file PFTau.cc.
References isolationTauChargedHadronCandidates_, and isolationTauChargedHadronCandidatesRefs_.
|
private |
Definition at line 312 of file PFTau.cc.
References isolationTauChargedHadronCandidates_.
const JetBaseRef & reco::PFTau::jetRef | ( | ) | const |
Definition at line 56 of file PFTau.cc.
References jetRef_.
Referenced by PFMEtSignInterfaceBase::compResolution(), and sourceCandidatePtr().
const CandidatePtr & reco::PFTau::leadCand | ( | ) | const |
Definition at line 65 of file PFTau.cc.
References leadCand_.
Referenced by AntiElectronIDMVA6< TauType, ElectronType >::getTauVarsTypeSpecific().
const CandidatePtr & reco::PFTau::leadChargedHadrCand | ( | ) | const |
Definition at line 63 of file PFTau.cc.
References leadChargedHadrCand_.
Referenced by dump(), Tau.Tau::dxy_approx(), Tau.Tau::dz(), PATTauHybridProducer::fillTauFromJet(), AntiElectronIDMVA6< TauType, ElectronType >::getTauVarsTypeSpecific(), AntiElectronDeadECAL::operator()(), L1THLTTauMatching::produce(), L1HLTTauMatching::produce(), and reco::tau::RecoTauBuilderConePlugin::setTauQuantities().
const CandidatePtr & reco::PFTau::leadNeutralCand | ( | ) | const |
const PFCandidatePtr reco::PFTau::leadPFCand | ( | ) | const |
Definition at line 177 of file PFTau.cc.
References leadCand_, and leadPFCand_.
const PFCandidatePtr reco::PFTau::leadPFChargedHadrCand | ( | ) | const |
Getters for different PFCandidates for PFTaus made from PFCandidates.
Definition at line 165 of file PFTau.cc.
References leadChargedHadrCand_, and leadPFChargedHadrCand_.
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_.
const PFCandidatePtr reco::PFTau::leadPFNeutralCand | ( | ) | const |
Definition at line 171 of file PFTau.cc.
References leadNeutralCand_, and leadPFNeutralCand_.
PFRecoTauChargedHadronRef reco::PFTau::leadTauChargedHadronCandidate | ( | ) | const |
Definition at line 279 of file PFTau.cc.
References edm::RefVector< C, T, F >::empty(), and signalTauChargedHadronCandidatesRefs_.
float reco::PFTau::maximumHCALPFClusterEt | ( | ) | const |
bool reco::PFTau::muonDecision | ( | ) | const |
|
inlineoverridevirtual |
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.
|
overrideprivatevirtual |
check overlap with another candidate
Reimplemented from reco::BaseTau.
Definition at line 390 of file PFTau.cc.
References reco::RecoCandidate::checkOverlap(), and reco::RecoCandidate::track().
const PFTauTagInfoRef & reco::PFTau::pfTauTagInfoRef | ( | ) | const |
|
inline |
Definition at line 171 of file PFTau.h.
References bendCorrMass(), and bendCorrMass_.
void reco::PFTau::setbremsRecoveryEOverPLead | ( | const float & | x | ) |
void reco::PFTau::setDecayMode | ( | const hadronicDecayMode & | dm | ) |
Definition at line 327 of file PFTau.cc.
References decayMode_, and symbols::dm.
Referenced by reco::tau::RecoTauBuilderConePlugin::setTauQuantities().
void reco::PFTau::setecalStripSumEOverPLead | ( | const float & | x | ) |
void reco::PFTau::setelectronPreIDDecision | ( | const bool & | x | ) |
void reco::PFTau::setelectronPreIDOutput | ( | const float & | x | ) |
void reco::PFTau::setelectronPreIDTrack | ( | const reco::TrackRef & | x | ) |
void reco::PFTau::setemFraction | ( | const float & | x | ) |
Definition at line 350 of file PFTau.cc.
References emFraction_, and x.
void reco::PFTau::sethcal3x3OverPLead | ( | const float & | x | ) |
void reco::PFTau::sethcalMaxOverPLead | ( | const float & | x | ) |
void reco::PFTau::sethcalTotOverPLead | ( | const float & | x | ) |
void reco::PFTau::setisolationCands | ( | const std::vector< reco::CandidatePtr > & | myParts | ) |
Definition at line 88 of file PFTau.cc.
References selectedIsolationCands_.
void reco::PFTau::setisolationChargedHadrCands | ( | const std::vector< reco::CandidatePtr > & | myParts | ) |
Definition at line 92 of file PFTau.cc.
References selectedIsolationChargedHadrCands_.
Referenced by PATTauHybridProducer::fillTauFromJet().
void reco::PFTau::setisolationGammaCands | ( | const std::vector< reco::CandidatePtr > & | myParts | ) |
Definition at line 100 of file PFTau.cc.
References selectedIsolationGammaCands_.
Referenced by PATTauHybridProducer::fillTauFromJet().
void reco::PFTau::setisolationNeutrHadrCands | ( | const std::vector< reco::CandidatePtr > & | myParts | ) |
Definition at line 96 of file PFTau.cc.
References selectedIsolationNeutrHadrCands_.
void reco::PFTau::setisolationPFChargedHadrCandsPtSum | ( | const float & | x | ) |
Definition at line 331 of file PFTau.cc.
References isolationPFChargedHadrCandsPtSum_, and x.
void reco::PFTau::setisolationPFGammaCandsEtSum | ( | const float & | x | ) |
void reco::PFTau::setisolationPiZeroCandidates | ( | std::vector< RecoTauPiZero > | cands | ) |
Definition at line 274 of file PFTau.cc.
References HLT_2024v12_cff::cands, eostools::move(), and signalPiZeroCandidates_.
void reco::PFTau::setIsolationPiZeroCandidatesRefs | ( | RecoTauPiZeroRefVector | cands | ) |
Definition at line 270 of file PFTau.cc.
References HLT_2024v12_cff::cands, isolationPiZeroCandidatesRefs_, and eostools::move().
Referenced by RecoTauPiZeroUnembedder::produce().
void reco::PFTau::setIsolationTauChargedHadronCandidates | ( | std::vector< PFRecoTauChargedHadron > | cands | ) |
Definition at line 317 of file PFTau.cc.
References HLT_2024v12_cff::cands, isolationTauChargedHadronCandidates_, and eostools::move().
void reco::PFTau::setIsolationTauChargedHadronCandidatesRefs | ( | PFRecoTauChargedHadronRefVector | cands | ) |
Definition at line 321 of file PFTau.cc.
References HLT_2024v12_cff::cands, isolationTauChargedHadronCandidatesRefs_, and eostools::move().
void reco::PFTau::setjetRef | ( | const JetBaseRef & | x | ) |
Definition at line 57 of file PFTau.cc.
Referenced by RecoTauProducer::produce().
void reco::PFTau::setleadCand | ( | const CandidatePtr & | myLead | ) |
Definition at line 69 of file PFTau.cc.
References leadCand_.
Referenced by PATTauHybridProducer::fillTauFromJet().
void reco::PFTau::setleadChargedHadrCand | ( | const CandidatePtr & | myLead | ) |
Definition at line 67 of file PFTau.cc.
References leadChargedHadrCand_.
Referenced by PATTauHybridProducer::fillTauFromJet().
void reco::PFTau::setleadNeutralCand | ( | const CandidatePtr & | myLead | ) |
void reco::PFTau::setleadPFChargedHadrCandsignedSipt | ( | const float & | x | ) |
Definition at line 72 of file PFTau.cc.
References leadPFChargedHadrCandsignedSipt_, and x.
void reco::PFTau::setmaximumHCALPFClusterEt | ( | const float & | x | ) |
void reco::PFTau::setMuonDecision | ( | const bool & | x | ) |
void reco::PFTau::setpfTauTagInfoRef | ( | const PFTauTagInfoRef | x | ) |
void reco::PFTau::setsignalCands | ( | const std::vector< reco::CandidatePtr > & | myParts | ) |
Definition at line 75 of file PFTau.cc.
References selectedSignalCands_.
void reco::PFTau::setsignalChargedHadrCands | ( | const std::vector< reco::CandidatePtr > & | myParts | ) |
Definition at line 77 of file PFTau.cc.
References selectedSignalChargedHadrCands_.
Referenced by PATTauHybridProducer::fillTauFromJet().
|
inline |
Definition at line 175 of file PFTau.h.
References signalConeSize(), and signalConeSize_.
void reco::PFTau::setsignalGammaCands | ( | const std::vector< reco::CandidatePtr > & | myParts | ) |
Definition at line 85 of file PFTau.cc.
References selectedSignalGammaCands_.
Referenced by PATTauHybridProducer::fillTauFromJet().
void reco::PFTau::setsignalNeutrHadrCands | ( | const std::vector< reco::CandidatePtr > & | myParts | ) |
Definition at line 81 of file PFTau.cc.
References selectedSignalNeutrHadrCands_.
void reco::PFTau::setsignalPiZeroCandidates | ( | std::vector< RecoTauPiZero > | cands | ) |
Definition at line 251 of file PFTau.cc.
References HLT_2024v12_cff::cands, eostools::move(), and signalPiZeroCandidates_.
void reco::PFTau::setSignalPiZeroCandidatesRefs | ( | RecoTauPiZeroRefVector | cands | ) |
Definition at line 255 of file PFTau.cc.
References HLT_2024v12_cff::cands, eostools::move(), and signalPiZeroCandidatesRefs_.
Referenced by RecoTauPiZeroUnembedder::produce().
void reco::PFTau::setSignalTauChargedHadronCandidates | ( | std::vector< PFRecoTauChargedHadron > | cands | ) |
Definition at line 298 of file PFTau.cc.
References HLT_2024v12_cff::cands, eostools::move(), and signalTauChargedHadronCandidates_.
void reco::PFTau::setSignalTauChargedHadronCandidatesRefs | ( | PFRecoTauChargedHadronRefVector | cands | ) |
Definition at line 302 of file PFTau.cc.
References HLT_2024v12_cff::cands, eostools::move(), and signalTauChargedHadronCandidatesRefs_.
const std::vector< CandidatePtr > & reco::PFTau::signalCands | ( | ) | const |
Candidates in signal region.
Definition at line 74 of file PFTau.cc.
References selectedSignalCands_.
Referenced by reco::PFMETProducerMVA::chargedEnFrac(), PFTauExtractor::depositFromObject(), and AntiElectronIDMVA6< TauType, ElectronType >::getTauVarsTypeSpecific().
const std::vector< CandidatePtr > & reco::PFTau::signalChargedHadrCands | ( | ) | const |
Charged hadrons in signal region.
Definition at line 76 of file PFTau.cc.
References selectedSignalChargedHadrCands_.
Referenced by dump(), and reco::tau::RecoTauBuilderConePlugin::setTauQuantities().
|
inline |
Size of signal cone.
Definition at line 174 of file PFTau.h.
References signalConeSize_.
Referenced by PATTauHybridProducer::fillTauFromJet(), setSignalConeSize(), and reco::tau::RecoTauBuilderConePlugin::setTauQuantities().
const std::vector< CandidatePtr > & reco::PFTau::signalGammaCands | ( | ) | const |
Gamma candidates in signal region.
Definition at line 84 of file PFTau.cc.
References selectedSignalGammaCands_.
Referenced by dump().
const std::vector< CandidatePtr > & reco::PFTau::signalNeutrHadrCands | ( | ) | const |
Neutral hadrons in signal region.
Definition at line 80 of file PFTau.cc.
References selectedSignalNeutrHadrCands_.
const std::vector< reco::PFCandidatePtr > & reco::PFTau::signalPFCands | ( | ) | const |
Definition at line 183 of file PFTau.cc.
References selectedSignalCands_, and selectedTransientSignalPFCands_.
const std::vector< reco::PFCandidatePtr > & reco::PFTau::signalPFChargedHadrCands | ( | ) | const |
Definition at line 190 of file PFTau.cc.
References selectedSignalChargedHadrCands_, and selectedTransientSignalPFChargedHadrCands_.
const std::vector< reco::PFCandidatePtr > & reco::PFTau::signalPFGammaCands | ( | ) | const |
Definition at line 204 of file PFTau.cc.
References selectedSignalGammaCands_, and selectedTransientSignalPFGammaCands_.
const std::vector< reco::PFCandidatePtr > & reco::PFTau::signalPFNeutrHadrCands | ( | ) | const |
Definition at line 197 of file PFTau.cc.
References selectedSignalNeutrHadrCands_, and selectedTransientSignalPFNeutrHadrCands_.
const std::vector< RecoTauPiZero > & reco::PFTau::signalPiZeroCandidates | ( | ) | const |
Retrieve the association of signal region gamma candidates into candidate PiZeros.
Definition at line 240 of file PFTau.cc.
References signalPiZeroCandidates_, and signalPiZeroCandidatesRefs_.
Referenced by RecoTauPiZeroUnembedder::produce(), and reco::tau::RecoTauBuilderConePlugin::setTauQuantities().
|
private |
Definition at line 246 of file PFTau.cc.
References signalPiZeroCandidates_.
const std::vector< PFRecoTauChargedHadron > & reco::PFTau::signalTauChargedHadronCandidates | ( | ) | const |
Retrieve the association of signal region PF candidates into candidate PFRecoTauChargedHadrons.
Definition at line 287 of file PFTau.cc.
References signalTauChargedHadronCandidates_, and signalTauChargedHadronCandidatesRefs_.
|
private |
Definition at line 293 of file PFTau.cc.
References signalTauChargedHadronCandidates_.
|
overridevirtual |
return a RefToBase to the source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::LeafCandidate.
Definition at line 384 of file PFTau.cc.
References edm::RefToBase< T >::castTo(), mps_fire::i, and jetRef().
|
friend |
|
friend |
|
private |
Definition at line 259 of file PFTau.h.
Referenced by bendCorrMass(), PFTau(), and setBendCorrMass().
|
private |
Definition at line 250 of file PFTau.h.
Referenced by bremsRecoveryEOverPLead(), PFTau(), and setbremsRecoveryEOverPLead().
|
private |
Definition at line 254 of file PFTau.h.
Referenced by caloComp(), PFTau(), and setCaloComp().
|
private |
Definition at line 257 of file PFTau.h.
Referenced by decayMode(), PFTau(), and setDecayMode().
|
private |
Definition at line 249 of file PFTau.h.
Referenced by ecalStripSumEOverPLead(), PFTau(), and setecalStripSumEOverPLead().
|
private |
Definition at line 235 of file PFTau.h.
Referenced by electronPreIDDecision(), PFTau(), and setelectronPreIDDecision().
|
private |
Definition at line 251 of file PFTau.h.
Referenced by electronPreIDOutput(), PFTau(), and setelectronPreIDOutput().
|
private |
Definition at line 268 of file PFTau.h.
Referenced by electronPreIDTrack(), and setelectronPreIDTrack().
|
private |
Definition at line 245 of file PFTau.h.
Referenced by emFraction(), PFTau(), and setemFraction().
|
private |
Definition at line 248 of file PFTau.h.
Referenced by hcal3x3OverPLead(), PFTau(), and sethcal3x3OverPLead().
|
private |
Definition at line 247 of file PFTau.h.
Referenced by hcalMaxOverPLead(), PFTau(), and sethcalMaxOverPLead().
|
private |
Definition at line 246 of file PFTau.h.
Referenced by hcalTotOverPLead(), PFTau(), and sethcalTotOverPLead().
|
private |
Definition at line 240 of file PFTau.h.
Referenced by isolationPFChargedHadrCandsPtSum(), PFTau(), and setisolationPFChargedHadrCandsPtSum().
|
private |
Definition at line 241 of file PFTau.h.
Referenced by isolationPFGammaCandsEtSum(), PFTau(), and setisolationPFGammaCandsEtSum().
|
private |
Definition at line 305 of file PFTau.h.
Referenced by isolationPiZeroCandidates(), and isolationPiZeroCandidatesRestricted().
|
private |
Definition at line 298 of file PFTau.h.
Referenced by isolationPiZeroCandidates(), and setIsolationPiZeroCandidatesRefs().
|
private |
Definition at line 309 of file PFTau.h.
Referenced by isolationTauChargedHadronCandidates(), isolationTauChargedHadronCandidatesRestricted(), and setIsolationTauChargedHadronCandidates().
|
private |
Definition at line 301 of file PFTau.h.
Referenced by isolationTauChargedHadronCandidates(), and setIsolationTauChargedHadronCandidatesRefs().
|
private |
Definition at line 263 of file PFTau.h.
Referenced by jetRef(), and setjetRef().
|
private |
Definition at line 267 of file PFTau.h.
Referenced by leadCand(), leadPFCand(), and setleadCand().
|
private |
Definition at line 265 of file PFTau.h.
Referenced by hasMuonReference(), leadChargedHadrCand(), leadPFChargedHadrCand(), and setleadChargedHadrCand().
|
private |
Definition at line 266 of file PFTau.h.
Referenced by leadNeutralCand(), leadPFNeutralCand(), and setleadNeutralCand().
|
private |
Definition at line 285 of file PFTau.h.
Referenced by leadPFCand().
|
private |
Definition at line 283 of file PFTau.h.
Referenced by leadPFChargedHadrCand().
|
private |
Definition at line 238 of file PFTau.h.
Referenced by leadPFChargedHadrCandsignedSipt(), PFTau(), and setleadPFChargedHadrCandsignedSipt().
|
private |
Definition at line 284 of file PFTau.h.
Referenced by leadPFNeutralCand().
|
private |
Definition at line 242 of file PFTau.h.
Referenced by maximumHCALPFClusterEt(), PFTau(), and setmaximumHCALPFClusterEt().
|
private |
Definition at line 234 of file PFTau.h.
Referenced by muonDecision(), PFTau(), and setMuonDecision().
|
private |
Definition at line 264 of file PFTau.h.
Referenced by pfTauTagInfoRef(), and setpfTauTagInfoRef().
|
private |
Definition at line 255 of file PFTau.h.
Referenced by PFTau(), segComp(), and setSegComp().
|
private |
Definition at line 277 of file PFTau.h.
Referenced by isolationCands(), isolationPFCands(), and setisolationCands().
|
private |
Definition at line 278 of file PFTau.h.
Referenced by isolationChargedHadrCands(), isolationPFChargedHadrCands(), and setisolationChargedHadrCands().
|
private |
Definition at line 280 of file PFTau.h.
Referenced by isolationGammaCands(), isolationPFGammaCands(), and setisolationGammaCands().
|
private |
Definition at line 279 of file PFTau.h.
Referenced by isolationNeutrHadrCands(), isolationPFNeutrHadrCands(), and setisolationNeutrHadrCands().
|
private |
Definition at line 271 of file PFTau.h.
Referenced by setsignalCands(), signalCands(), and signalPFCands().
|
private |
Definition at line 272 of file PFTau.h.
Referenced by setsignalChargedHadrCands(), signalChargedHadrCands(), and signalPFChargedHadrCands().
|
private |
Definition at line 274 of file PFTau.h.
Referenced by setsignalGammaCands(), signalGammaCands(), and signalPFGammaCands().
|
private |
Definition at line 273 of file PFTau.h.
Referenced by setsignalNeutrHadrCands(), signalNeutrHadrCands(), and signalPFNeutrHadrCands().
|
private |
Definition at line 292 of file PFTau.h.
Referenced by isolationPFCands().
|
private |
Definition at line 293 of file PFTau.h.
Referenced by isolationPFChargedHadrCands().
|
private |
Definition at line 295 of file PFTau.h.
Referenced by isolationPFGammaCands().
|
private |
Definition at line 294 of file PFTau.h.
Referenced by isolationPFNeutrHadrCands().
|
private |
Definition at line 287 of file PFTau.h.
Referenced by signalPFCands().
|
private |
Definition at line 288 of file PFTau.h.
Referenced by signalPFChargedHadrCands().
|
private |
Definition at line 290 of file PFTau.h.
Referenced by signalPFGammaCands().
|
private |
Definition at line 289 of file PFTau.h.
Referenced by signalPFNeutrHadrCands().
|
private |
Definition at line 261 of file PFTau.h.
Referenced by PFTau(), setSignalConeSize(), and signalConeSize().
|
private |
Definition at line 304 of file PFTau.h.
Referenced by setisolationPiZeroCandidates(), setsignalPiZeroCandidates(), signalPiZeroCandidates(), and signalPiZeroCandidatesRestricted().
|
private |
Definition at line 297 of file PFTau.h.
Referenced by setSignalPiZeroCandidatesRefs(), and signalPiZeroCandidates().
|
private |
Definition at line 308 of file PFTau.h.
Referenced by setSignalTauChargedHadronCandidates(), signalTauChargedHadronCandidates(), and signalTauChargedHadronCandidatesRestricted().
|
private |
Definition at line 300 of file PFTau.h.
Referenced by leadTauChargedHadronCandidate(), setSignalTauChargedHadronCandidatesRefs(), and signalTauChargedHadronCandidates().