CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
reco::PFTau Class Reference

#include <PFTau.h>

Inheritance diagram for reco::PFTau:
reco::BaseTau reco::RecoCandidate reco::LeafCandidate reco::Candidate

Public Types

enum  hadronicDecayMode {
  kNull = -1, kOneProng0PiZero, kOneProng1PiZero, kOneProng2PiZero,
  kOneProng3PiZero, kOneProngNPiZero, kTwoProng0PiZero, kTwoProng1PiZero,
  kTwoProng2PiZero, kTwoProng3PiZero, kTwoProngNPiZero, kThreeProng0PiZero,
  kThreeProng1PiZero, kThreeProng2PiZero, kThreeProng3PiZero, kThreeProngNPiZero,
  kRareDecayMode
}
 
- Public Types inherited from reco::RecoCandidate
enum  TrackType { noTrackType, recoTrackType, gsfTrackType }
 track type More...
 
- Public Types inherited from reco::LeafCandidate
typedef int Charge
 electric charge type More...
 
typedef CandidateCollection daughters
 collection of daughter candidates More...
 
typedef unsigned int index
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef math::PtEtaPhiMLorentzVector PolarLorentzVector
 Lorentz vector. More...
 
typedef math::XYZVector Vector
 point in the space More...
 
- Public Types inherited from reco::Candidate
enum  { dimension = 3 }
 
enum  { size = dimension * (dimension + 1)/2 }
 matix size More...
 
typedef int Charge
 electric charge type More...
 
typedef candidate::const_iterator const_iterator
 
typedef math::Error< dimension >::type CovarianceMatrix
 covariance error matrix (3x3) More...
 
typedef unsigned int index
 index type More...
 
typedef candidate::iterator iterator
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef math::PtEtaPhiMLorentzVector PolarLorentzVector
 Lorentz vector. More...
 
typedef size_t size_type
 
typedef math::XYZVector Vector
 point in the space More...
 

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
 
PFTauclone () 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 PFJetRefjetRef () const
 
const PFCandidatePtrleadPFCand () const
 
const PFCandidatePtrleadPFChargedHadrCand () const
 
float leadPFChargedHadrCandsignedSipt () const
 
const PFCandidatePtrleadPFNeutralCand () 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 PFTauTagInfoRefpfTauTagInfoRef () 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 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 (std::vector< RecoTauPiZero >)
 
void setIsolationPiZeroCandidatesRefs (RecoTauPiZeroRefVector)
 
void setIsolationTauChargedHadronCandidates (std::vector< PFRecoTauChargedHadron >)
 
void setIsolationTauChargedHadronCandidatesRefs (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 setSignalConeSize (double signalConeSize)
 
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 (std::vector< RecoTauPiZero >)
 
void setSignalPiZeroCandidatesRefs (RecoTauPiZeroRefVector)
 
void setSignalTauChargedHadronCandidates (std::vector< PFRecoTauChargedHadron >)
 
void setSignalTauChargedHadronCandidatesRefs (PFRecoTauChargedHadronRefVector)
 
double signalConeSize () const
 Size of signal cone. More...
 
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::TrackRefVectorisolationTracks () 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::TrackRefVectorsignalTracks () const
 
virtual ~BaseTau ()
 
- Public Member Functions inherited from reco::RecoCandidate
virtual const TrackbestTrack () 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 final
 
virtual 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)
 
virtual const Candidatedaughter (size_type) const
 return daughter at a given position (throws an exception) More...
 
virtual Candidatedaughter (size_type)
 return daughter at a given position (throws an exception) More...
 
virtual Candidatedaughter (const std::string &s)
 return daughter with a specified role name More...
 
virtual const Candidatedaughter (const std::string &s) const
 return daughter with a specified role name More...
 
virtual double energy () const final
 energy More...
 
virtual double et () const final
 transverse energy More...
 
virtual double et2 () const final
 transverse energy squared (use this for cut!) More...
 
virtual double eta () const final
 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 final
 is long lived? More...
 
virtual double mass () const final
 mass More...
 
virtual bool massConstraint () const final
 do mass constraint? More...
 
virtual double massSqr () const final
 mass squared More...
 
virtual const CandidateBaseRefmasterClone () const
 
virtual const CandidatePtrmasterClonePtr () const
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
virtual Vector momentum () const final
 spatial momentum vector More...
 
virtual const Candidatemother (size_type) const
 return mother at a given position (throws an exception) More...
 
virtual double mt () const final
 transverse mass More...
 
virtual 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...
 
virtual size_t numberOfDaughters () const
 number of daughters More...
 
virtual size_t numberOfMothers () const
 number of mothers More...
 
LeafCandidateoperator= (LeafCandidate &&)=default
 
LeafCandidateoperator= (LeafCandidate const &)=default
 
virtual double p () const final
 magnitude of momentum vector More...
 
virtual const LorentzVectorp4 () const final
 four-momentum Lorentz vector More...
 
virtual int pdgId () const final
 PDG identifier. More...
 
virtual double phi () const final
 momentum azimuthal angle More...
 
virtual const PolarLorentzVectorpolarP4 () const final
 four-momentum Lorentz vector More...
 
virtual double pt () const final
 transverse momentum More...
 
virtual double px () const final
 x coordinate of momentum vector More...
 
virtual double py () const final
 y coordinate of momentum vector More...
 
virtual double pz () const final
 z coordinate of momentum vector More...
 
virtual double rapidity () const final
 rapidity More...
 
virtual void setCharge (Charge q) final
 set electric charge More...
 
virtual void setLongLived () final
 
virtual void setMass (double m) final
 set particle mass More...
 
virtual void setMassConstraint () final
 
virtual void setP4 (const LorentzVector &p4) final
 set 4-momentum More...
 
virtual void setP4 (const PolarLorentzVector &p4) final
 set 4-momentum More...
 
virtual void setPdgId (int pdgId) final
 
virtual void setPz (double pz) final
 
virtual void setStatus (int status) final
 set status word More...
 
virtual void setThreeCharge (Charge qx3) final
 set electric charge More...
 
virtual void setVertex (const Point &vertex)
 set vertex More...
 
virtual int status () const final
 status word More...
 
virtual double theta () const final
 momentum polar angle More...
 
virtual int threeCharge () const final
 electric charge More...
 
virtual const Pointvertex () 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 final
 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 final
 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

std::vector< RecoTauPiZero > & isolationPiZeroCandidatesRestricted ()
 
std::vector< PFRecoTauChargedHadron > & isolationTauChargedHadronCandidatesRestricted ()
 
virtual bool overlap (const Candidate &) const
 check overlap with another candidate More...
 
std::vector< RecoTauPiZero > & signalPiZeroCandidatesRestricted ()
 
std::vector< PFRecoTauChargedHadron > & signalTauChargedHadronCandidatesRestricted ()
 

Private Attributes

float bendCorrMass_
 
float bremsRecoveryEOverPLead_
 
float caloComp_
 
hadronicDecayMode decayMode_
 
float ecalStripSumEOverPLead_
 
bool electronPreIDDecision_
 
float electronPreIDOutput_
 
reco::TrackRef electronPreIDTrack_
 
float emFraction_
 
float hcal3x3OverPLead_
 
float hcalMaxOverPLead_
 
float hcalTotOverPLead_
 
float isolationPFChargedHadrCandsPtSum_
 
float isolationPFGammaCandsEtSum_
 
edm::AtomicPtrCache< std::vector< reco::RecoTauPiZero > > isolationPiZeroCandidates_
 
RecoTauPiZeroRefVector isolationPiZeroCandidatesRefs_
 
edm::AtomicPtrCache< std::vector< reco::PFRecoTauChargedHadron > > isolationTauChargedHadronCandidates_
 
PFRecoTauChargedHadronRefVector isolationTauChargedHadronCandidatesRefs_
 
reco::PFJetRef jetRef_
 
reco::PFCandidatePtr leadPFCand_
 
reco::PFCandidatePtr leadPFChargedHadrCand_
 
float leadPFChargedHadrCandsignedSipt_
 
reco::PFCandidatePtr leadPFNeutralCand_
 
float maximumHCALPFClusterEt_
 
bool muonDecision_
 
PFTauTagInfoRef PFTauTagInfoRef_
 
float segComp_
 
std::vector< reco::PFCandidatePtrselectedIsolationPFCands_
 
std::vector< reco::PFCandidatePtrselectedIsolationPFChargedHadrCands_
 
std::vector< reco::PFCandidatePtrselectedIsolationPFGammaCands_
 
std::vector< reco::PFCandidatePtrselectedIsolationPFNeutrHadrCands_
 
std::vector< reco::PFCandidatePtrselectedSignalPFCands_
 
std::vector< reco::PFCandidatePtrselectedSignalPFChargedHadrCands_
 
std::vector< reco::PFCandidatePtrselectedSignalPFGammaCands_
 
std::vector< reco::PFCandidatePtrselectedSignalPFNeutrHadrCands_
 
float signalConeSize_
 
edm::AtomicPtrCache< std::vector< reco::RecoTauPiZero > > signalPiZeroCandidates_
 
RecoTauPiZeroRefVector signalPiZeroCandidatesRefs_
 
edm::AtomicPtrCache< std::vector< reco::PFRecoTauChargedHadron > > signalTauChargedHadronCandidates_
 
PFRecoTauChargedHadronRefVector signalTauChargedHadronCandidatesRefs_
 

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...
 

Detailed Description

Definition at line 34 of file PFTau.h.

Member Enumeration Documentation

Enumerator
kNull 
kOneProng0PiZero 
kOneProng1PiZero 
kOneProng2PiZero 
kOneProng3PiZero 
kOneProngNPiZero 
kTwoProng0PiZero 
kTwoProng1PiZero 
kTwoProng2PiZero 
kTwoProng3PiZero 
kTwoProngNPiZero 
kThreeProng0PiZero 
kThreeProng1PiZero 
kThreeProng2PiZero 
kThreeProng3PiZero 
kThreeProngNPiZero 
kRareDecayMode 

Definition at line 36 of file PFTau.h.

Constructor & Destructor Documentation

reco::PFTau::PFTau ( )

Definition at line 8 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().

9 {
14  emFraction_ = NAN;
15  hcalTotOverPLead_ = NAN;
16  hcalMaxOverPLead_ = NAN;
17  hcal3x3OverPLead_ = NAN;
22  caloComp_ = NAN;
23  segComp_ = NAN;
24  muonDecision_ = NAN;
25  decayMode_ = kNull;
26  bendCorrMass_ = 0.;
27  signalConeSize_ = 0.;
28 }
float ecalStripSumEOverPLead_
Definition: PFTau.h:233
bool electronPreIDDecision_
Definition: PFTau.h:219
float maximumHCALPFClusterEt_
Definition: PFTau.h:226
float isolationPFChargedHadrCandsPtSum_
Definition: PFTau.h:224
float segComp_
Definition: PFTau.h:239
float leadPFChargedHadrCandsignedSipt_
Definition: PFTau.h:222
float signalConeSize_
Definition: PFTau.h:245
hadronicDecayMode decayMode_
Definition: PFTau.h:241
bool muonDecision_
Definition: PFTau.h:218
float bremsRecoveryEOverPLead_
Definition: PFTau.h:234
float hcal3x3OverPLead_
Definition: PFTau.h:232
float hcalMaxOverPLead_
Definition: PFTau.h:231
float electronPreIDOutput_
Definition: PFTau.h:235
float bendCorrMass_
Definition: PFTau.h:243
float emFraction_
Definition: PFTau.h:229
float isolationPFGammaCandsEtSum_
Definition: PFTau.h:225
float caloComp_
Definition: PFTau.h:238
float hcalTotOverPLead_
Definition: PFTau.h:230
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_.

31  : BaseTau(q, p4, vtx)
32 {
37 
38  emFraction_ = NAN;
39  hcalTotOverPLead_ = NAN;
40  hcalMaxOverPLead_ = NAN;
41  hcal3x3OverPLead_ = NAN;
46 
47  caloComp_ = NAN;
48  segComp_ = NAN;
49  muonDecision_ = NAN;
50  decayMode_ = kNull;
51  bendCorrMass_ = 0.;
52  signalConeSize_ = 0.;
53 }
float ecalStripSumEOverPLead_
Definition: PFTau.h:233
bool electronPreIDDecision_
Definition: PFTau.h:219
float maximumHCALPFClusterEt_
Definition: PFTau.h:226
float isolationPFChargedHadrCandsPtSum_
Definition: PFTau.h:224
float segComp_
Definition: PFTau.h:239
float leadPFChargedHadrCandsignedSipt_
Definition: PFTau.h:222
float signalConeSize_
Definition: PFTau.h:245
hadronicDecayMode decayMode_
Definition: PFTau.h:241
bool muonDecision_
Definition: PFTau.h:218
float bremsRecoveryEOverPLead_
Definition: PFTau.h:234
float hcal3x3OverPLead_
Definition: PFTau.h:232
float hcalMaxOverPLead_
Definition: PFTau.h:231
float electronPreIDOutput_
Definition: PFTau.h:235
float bendCorrMass_
Definition: PFTau.h:243
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
float emFraction_
Definition: PFTau.h:229
float isolationPFGammaCandsEtSum_
Definition: PFTau.h:225
float caloComp_
Definition: PFTau.h:238
float hcalTotOverPLead_
Definition: PFTau.h:230
virtual reco::PFTau::~PFTau ( )
inlinevirtual

Definition at line 58 of file PFTau.h.

References clone(), mvaPFMET_leptons_cfi::decayMode, and reco::tau::leadPFCand().

58 {};

Member Function Documentation

float reco::PFTau::bendCorrMass ( ) const
inline

Effect of eta and phi correction of strip on mass of tau candidate.

Definition at line 155 of file PFTau.h.

155 { return bendCorrMass_; }
float bendCorrMass_
Definition: PFTau.h:243
float reco::PFTau::bremsRecoveryEOverPLead ( ) const

Definition at line 232 of file PFTau.cc.

References bremsRecoveryEOverPLead_.

232 {return bremsRecoveryEOverPLead_;}
float bremsRecoveryEOverPLead_
Definition: PFTau.h:234
float reco::PFTau::caloComp ( ) const

Definition at line 258 of file PFTau.cc.

References caloComp_.

258 {return caloComp_;}
float caloComp_
Definition: PFTau.h:238
PFTau * reco::PFTau::clone ( void  ) const
virtual

returns a clone of the Candidate object

Reimplemented from reco::BaseTau.

Definition at line 55 of file PFTau.cc.

References PFTau().

55 { return new PFTau(*this); }
PFTau()
Definition: PFTau.cc:8
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 212 of file PFTau.cc.

References decayMode_.

Referenced by Tau.Tau::__str__(), reco::tau::disc::DecayMode(), reco::tau::PFRecoTauMassPlugin::operator()(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), reco::operator<<(), and pat::TauJetCorrFactorsProducer::produce().

212 { return decayMode_; }
hadronicDecayMode decayMode_
Definition: PFTau.h:241
void reco::PFTau::dump ( std::ostream &  out = std::cout) const

prints information on this PFTau

Definition at line 276 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().

276  {
277 
278  if(!out) return;
279 
280  if (pfTauTagInfoRef().isNonnull()) {
281  out << "Its TauTagInfo constituents :"<<std::endl;
282  out<<"# Tracks "<<pfTauTagInfoRef()->Tracks().size()<<std::endl;
283  out<<"# PF charged hadr. cand's "<<pfTauTagInfoRef()->PFChargedHadrCands().size()<<std::endl;
284  out<<"# PF neutral hadr. cand's "<<pfTauTagInfoRef()->PFNeutrHadrCands().size()<<std::endl;
285  out<<"# PF gamma cand's "<<pfTauTagInfoRef()->PFGammaCands().size()<<std::endl;
286  }
287  if (jetRef().isNonnull()) {
288  out << "Its constituents :"<< std::endl;
289  out<<"# PF charged hadr. cand's "<< jetRef()->chargedHadronMultiplicity()<<std::endl;
290  out<<"# PF neutral hadr. cand's "<< jetRef()->neutralHadronMultiplicity()<<std::endl;
291  out<<"# PF gamma cand's "<< jetRef()->photonMultiplicity()<<std::endl;
292  out<<"# Electron cand's "<< jetRef()->electronMultiplicity()<<std::endl;
293  }
294  out<<"in detail :"<<std::endl;
295 
296  out<<"Pt of the PFTau "<<pt()<<std::endl;
297  const PFCandidatePtr& theLeadPFCand = leadPFChargedHadrCand();
298  if(!theLeadPFCand){
299  out<<"No Lead PFCand "<<std::endl;
300  }else{
301  out<<"Lead PFCand Particle Id " << (*theLeadPFCand).particleId() << std::endl;
302  out<<"Lead PFCand Pt "<<(*theLeadPFCand).pt()<<std::endl;
303  out<<"Lead PFCand Charge "<<(*theLeadPFCand).charge()<<std::endl;
304  out<<"Lead PFCand TrkRef "<<(*theLeadPFCand).trackRef().isNonnull()<<std::endl;
305  out<<"Inner point position (x,y,z) of the PFTau ("<<vx()<<","<<vy()<<","<<vz()<<")"<<std::endl;
306  out<<"Charge of the PFTau "<<charge()<<std::endl;
307  out<<"Et of the highest Et HCAL PFCluster "<<maximumHCALPFClusterEt()<<std::endl;
308  out<<"Number of SignalPFChargedHadrCands = "<<signalPFChargedHadrCands().size()<<std::endl;
309  out<<"Number of SignalPFGammaCands = "<<signalPFGammaCands().size()<<std::endl;
310  out<<"Number of IsolationPFChargedHadrCands = "<<isolationPFChargedHadrCands().size()<<std::endl;
311  out<<"Number of IsolationPFGammaCands = "<<isolationPFGammaCands().size()<<std::endl;
312  out<<"Sum of Pt of charged hadr. PFCandidates in isolation annulus around Lead PF = "<<isolationPFChargedHadrCandsPtSum()<<std::endl;
313  out<<"Sum of Et of gamma PFCandidates in other isolation annulus around Lead PF = "<<isolationPFGammaCandsEtSum()<<std::endl;
314 
315  }
316  // return out;
317 }
float maximumHCALPFClusterEt() const
Et of the highest Et HCAL PFCluster.
Definition: PFTau.cc:223
virtual double pt() const final
transverse momentum
float isolationPFGammaCandsEtSum() const
Definition: PFTau.cc:220
const PFJetRef & jetRef() const
Definition: PFTau.cc:58
float isolationPFChargedHadrCandsPtSum() const
Definition: PFTau.cc:217
const PFCandidatePtr & leadPFChargedHadrCand() const
Definition: PFTau.cc:67
const std::vector< reco::PFCandidatePtr > & signalPFGammaCands() const
Gamma candidates in signal region.
Definition: PFTau.cc:84
virtual double vy() const
y coordinate of vertex position
const std::vector< reco::PFCandidatePtr > & isolationPFGammaCands() const
Gamma candidates in isolation region.
Definition: PFTau.cc:93
virtual int charge() const final
electric charge
Definition: LeafCandidate.h:91
virtual double vz() const
z coordinate of vertex position
const std::vector< reco::PFCandidatePtr > & isolationPFChargedHadrCands() const
Charged candidates in isolation region.
Definition: PFTau.cc:89
const PFTauTagInfoRef & pfTauTagInfoRef() const
Definition: PFTau.cc:61
virtual double vx() const
x coordinate of vertex position
edm::Ptr< PFCandidate > PFCandidatePtr
persistent Ptr to a PFCandidate
const std::vector< reco::PFCandidatePtr > & signalPFChargedHadrCands() const
Charged hadrons in signal region.
Definition: PFTau.cc:80
float reco::PFTau::ecalStripSumEOverPLead ( ) const

Definition at line 231 of file PFTau.cc.

References ecalStripSumEOverPLead_.

231 {return ecalStripSumEOverPLead_;}
float ecalStripSumEOverPLead_
Definition: PFTau.h:233
bool reco::PFTau::electronPreIDDecision ( ) const

Definition at line 235 of file PFTau.cc.

References electronPreIDDecision_.

235 {return electronPreIDDecision_;}
bool electronPreIDDecision_
Definition: PFTau.h:219
float reco::PFTau::electronPreIDOutput ( ) const

Definition at line 234 of file PFTau.cc.

References electronPreIDOutput_.

Referenced by AntiElectronIDMVA5::MVAValue().

234 {return electronPreIDOutput_;}
float electronPreIDOutput_
Definition: PFTau.h:235
reco::TrackRef reco::PFTau::electronPreIDTrack ( ) const

Definition at line 233 of file PFTau.cc.

References electronPreIDTrack_.

233 {return electronPreIDTrack_;}
reco::TrackRef electronPreIDTrack_
Definition: PFTau.h:252
float reco::PFTau::emFraction ( ) const

Definition at line 227 of file PFTau.cc.

References emFraction_.

Referenced by AntiElectronIDMVA5::MVAValue(), and AntiElectronIDMVA6::MVAValue().

227 {return emFraction_;}
float emFraction_
Definition: PFTau.h:229
bool reco::PFTau::hasMuonReference ( ) const

Definition at line 248 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_.

248  { // check if muon ref exists
249  if( leadPFChargedHadrCand_.isNull() ) return false;
250  else if( leadPFChargedHadrCand_.isNonnull() ){
251  reco::MuonRef muonRef = leadPFChargedHadrCand_->muonRef();
252  if( muonRef.isNull() ) return false;
253  else if( muonRef.isNonnull() ) return true;
254  }
255  return false;
256 }
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:252
bool isNull() const
Checks for null.
Definition: Ptr.h:165
bool isNull() const
Checks for null.
Definition: Ref.h:249
bool isNonnull() const
Checks for non-null.
Definition: Ptr.h:169
reco::PFCandidatePtr leadPFChargedHadrCand_
Definition: PFTau.h:249
float reco::PFTau::hcal3x3OverPLead ( ) const

Definition at line 230 of file PFTau.cc.

References hcal3x3OverPLead_.

230 {return hcal3x3OverPLead_;}
float hcal3x3OverPLead_
Definition: PFTau.h:232
float reco::PFTau::hcalMaxOverPLead ( ) const

Definition at line 229 of file PFTau.cc.

References hcalMaxOverPLead_.

229 {return hcalMaxOverPLead_;}
float hcalMaxOverPLead_
Definition: PFTau.h:231
float reco::PFTau::hcalTotOverPLead ( ) const

Definition at line 228 of file PFTau.cc.

References hcalTotOverPLead_.

228 {return hcalTotOverPLead_;}
float hcalTotOverPLead_
Definition: PFTau.h:230
const std::vector< PFCandidatePtr > & reco::PFTau::isolationPFCands ( ) const
const std::vector< PFCandidatePtr > & reco::PFTau::isolationPFChargedHadrCands ( ) const
float reco::PFTau::isolationPFChargedHadrCandsPtSum ( ) const
const std::vector< PFCandidatePtr > & reco::PFTau::isolationPFGammaCands ( ) const
float reco::PFTau::isolationPFGammaCandsEtSum ( ) const
const std::vector< PFCandidatePtr > & reco::PFTau::isolationPFNeutrHadrCands ( ) const
const std::vector< RecoTauPiZero > & reco::PFTau::isolationPiZeroCandidates ( ) const

Retrieve the association of isolation region gamma candidates into candidate PiZeros.

Definition at line 146 of file PFTau.cc.

References isolationPiZeroCandidates_, and isolationPiZeroCandidatesRefs_.

Referenced by reco::tau::RecoTauPhotonFilter::operator()(), reco::operator<<(), and RecoTauPiZeroUnembedder::produce().

146  {
147  // Check if the signal pi zeros are already filled
150 }
edm::AtomicPtrCache< std::vector< reco::RecoTauPiZero > > isolationPiZeroCandidates_
Definition: PFTau.h:274
RecoTauPiZeroRefVector isolationPiZeroCandidatesRefs_
Definition: PFTau.h:267
std::vector< RecoTauPiZero > & reco::PFTau::isolationPiZeroCandidatesRestricted ( )
private

Definition at line 152 of file PFTau.cc.

References isolationPiZeroCandidates_.

152  {
153  // Check if the signal pi zeros are already filled
154  return makeCacheIfNeeded(isolationPiZeroCandidates_);
155 }
edm::AtomicPtrCache< std::vector< reco::RecoTauPiZero > > isolationPiZeroCandidates_
Definition: PFTau.h:274
const std::vector< PFRecoTauChargedHadron > & reco::PFTau::isolationTauChargedHadronCandidates ( ) const

Retrieve the association of isolation region PF candidates into candidate PFRecoTauChargedHadron.

Definition at line 193 of file PFTau.cc.

References isolationTauChargedHadronCandidates_, and isolationTauChargedHadronCandidatesRefs_.

193  {
194  // Check if the isolation tau charged hadrons are already filled
197 }
PFRecoTauChargedHadronRefVector isolationTauChargedHadronCandidatesRefs_
Definition: PFTau.h:270
edm::AtomicPtrCache< std::vector< reco::PFRecoTauChargedHadron > > isolationTauChargedHadronCandidates_
Definition: PFTau.h:278
std::vector< PFRecoTauChargedHadron > & reco::PFTau::isolationTauChargedHadronCandidatesRestricted ( )
private

Definition at line 199 of file PFTau.cc.

References isolationTauChargedHadronCandidates_.

199  {
200  // Check if the isolation tau charged hadrons are already filled
201  return makeCacheIfNeeded(isolationTauChargedHadronCandidates_);
202 }
edm::AtomicPtrCache< std::vector< reco::PFRecoTauChargedHadron > > isolationTauChargedHadronCandidates_
Definition: PFTau.h:278
const PFJetRef & reco::PFTau::jetRef ( ) const
const PFCandidatePtr & reco::PFTau::leadPFCand ( ) const

Definition at line 69 of file PFTau.cc.

References leadPFCand_.

69 { return leadPFCand_; }
reco::PFCandidatePtr leadPFCand_
Definition: PFTau.h:251
const PFCandidatePtr & reco::PFTau::leadPFChargedHadrCand ( ) const
float reco::PFTau::leadPFChargedHadrCandsignedSipt ( ) const

Signed transverse impact parameter significance of the Track associated to the leading charged PFCandidate

Definition at line 75 of file PFTau.cc.

References leadPFChargedHadrCandsignedSipt_.

Referenced by reco::tau::disc::ImpactParameterSignificance().

float leadPFChargedHadrCandsignedSipt_
Definition: PFTau.h:222
const PFCandidatePtr & reco::PFTau::leadPFNeutralCand ( ) const

Definition at line 68 of file PFTau.cc.

References leadPFNeutralCand_.

68 { return leadPFNeutralCand_; }
reco::PFCandidatePtr leadPFNeutralCand_
Definition: PFTau.h:250
PFRecoTauChargedHadronRef reco::PFTau::leadTauChargedHadronCandidate ( ) const

Definition at line 166 of file PFTau.cc.

References signalTauChargedHadronCandidatesRefs_, and edm::RefVector< C, T, F >::size().

166  {
169  } else {
170  return PFRecoTauChargedHadronRef();
171  }
172 }
edm::Ref< PFRecoTauChargedHadronCollection > PFRecoTauChargedHadronRef
presistent reference to a PFRecoTauChargedHadron
PFRecoTauChargedHadronRefVector signalTauChargedHadronCandidatesRefs_
Definition: PFTau.h:269
size_type size() const
Size of the RefVector.
Definition: RefVector.h:107
float reco::PFTau::maximumHCALPFClusterEt ( ) const

Et of the highest Et HCAL PFCluster.

Definition at line 223 of file PFTau.cc.

References maximumHCALPFClusterEt_.

Referenced by dump().

223 {return maximumHCALPFClusterEt_;}
float maximumHCALPFClusterEt_
Definition: PFTau.h:226
bool reco::PFTau::muonDecision ( ) const

Definition at line 260 of file PFTau.cc.

References muonDecision_.

260 {return muonDecision_;}
bool muonDecision_
Definition: PFTau.h:218
size_type reco::PFTau::numberOfSourceCandidatePtrs ( ) 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.

Definition at line 196 of file PFTau.h.

References gather_cfg::cout, FrontierConditions_GlobalTag_cff::dump, mps_fire::i, and MillePedeFileConverter_cfg::out.

196 {return 1;}
bool reco::PFTau::overlap ( const Candidate ) const
privatevirtual

check overlap with another candidate

Reimplemented from reco::BaseTau.

Definition at line 271 of file PFTau.cc.

References reco::RecoCandidate::checkOverlap(), and reco::RecoCandidate::track().

271  {
272  const RecoCandidate* theRecoCand = dynamic_cast<const RecoCandidate *>(&theCand);
273  return (theRecoCand!=0 && (checkOverlap(track(), theRecoCand->track())));
274 }
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:69
virtual reco::TrackRef track() const
reference to a Track
RecoCandidate()
default constructor
Definition: RecoCandidate.h:23
const PFTauTagInfoRef & reco::PFTau::pfTauTagInfoRef ( ) const
float reco::PFTau::segComp ( ) const

Definition at line 259 of file PFTau.cc.

References segComp_.

259 {return segComp_;}
float segComp_
Definition: PFTau.h:239
void reco::PFTau::setBendCorrMass ( float  bendCorrMass)
inline

Definition at line 156 of file PFTau.h.

float bendCorrMass() const
Effect of eta and phi correction of strip on mass of tau candidate.
Definition: PFTau.h:155
float bendCorrMass_
Definition: PFTau.h:243
void reco::PFTau::setbremsRecoveryEOverPLead ( const float &  x)
void reco::PFTau::setCaloComp ( const float &  x)

Definition at line 261 of file PFTau.cc.

References caloComp_.

Referenced by HPSPFRecoTauAlgorithm::applyMuonRejection().

261 {caloComp_ = x;}
float caloComp_
Definition: PFTau.h:238
void reco::PFTau::setDecayMode ( const hadronicDecayMode dm)

Definition at line 214 of file PFTau.cc.

References decayMode_, and symbols::dm.

Referenced by reco::tau::RecoTauBuilderConePlugin::setTauQuantities().

214 { decayMode_=dm;}
hadronicDecayMode decayMode_
Definition: PFTau.h:241
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)
void reco::PFTau::sethcal3x3OverPLead ( const float &  x)
void reco::PFTau::sethcalMaxOverPLead ( const float &  x)
void reco::PFTau::sethcalTotOverPLead ( const float &  x)
void reco::PFTau::setisolationPFCands ( const std::vector< reco::PFCandidatePtr > &  myParts)
void reco::PFTau::setisolationPFChargedHadrCands ( const std::vector< reco::PFCandidatePtr > &  myParts)

Definition at line 90 of file PFTau.cc.

References selectedIsolationPFChargedHadrCands_.

Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates(), and reco::tau::RecoTauTwoProngFilter::operator()().

std::vector< reco::PFCandidatePtr > selectedIsolationPFChargedHadrCands_
Definition: PFTau.h:262
void reco::PFTau::setisolationPFChargedHadrCandsPtSum ( const float &  x)
void reco::PFTau::setisolationPFGammaCands ( const std::vector< reco::PFCandidatePtr > &  myParts)
void reco::PFTau::setisolationPFGammaCandsEtSum ( const float &  x)
void reco::PFTau::setisolationPFNeutrHadrCands ( const std::vector< reco::PFCandidatePtr > &  myParts)

Definition at line 92 of file PFTau.cc.

References selectedIsolationPFNeutrHadrCands_.

Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates().

std::vector< reco::PFCandidatePtr > selectedIsolationPFNeutrHadrCands_
Definition: PFTau.h:263
void reco::PFTau::setisolationPiZeroCandidates ( std::vector< RecoTauPiZero cands)

Definition at line 161 of file PFTau.cc.

References eostools::move(), and signalPiZeroCandidates_.

Referenced by reco::tau::RecoTauPhotonFilter::operator()().

161  {
162  copyToCache(std::move(cands), signalPiZeroCandidates_);
163 }
edm::AtomicPtrCache< std::vector< reco::RecoTauPiZero > > signalPiZeroCandidates_
Definition: PFTau.h:273
def move(src, dest)
Definition: eostools.py:510
void reco::PFTau::setIsolationPiZeroCandidatesRefs ( RecoTauPiZeroRefVector  cands)

Definition at line 157 of file PFTau.cc.

References isolationPiZeroCandidatesRefs_, and eostools::move().

Referenced by RecoTauPiZeroUnembedder::produce().

157  {
159 }
RecoTauPiZeroRefVector isolationPiZeroCandidatesRefs_
Definition: PFTau.h:267
def move(src, dest)
Definition: eostools.py:510
void reco::PFTau::setIsolationTauChargedHadronCandidates ( std::vector< PFRecoTauChargedHadron cands)

Definition at line 204 of file PFTau.cc.

References isolationTauChargedHadronCandidates_, and eostools::move().

204  {
206 }
edm::AtomicPtrCache< std::vector< reco::PFRecoTauChargedHadron > > isolationTauChargedHadronCandidates_
Definition: PFTau.h:278
def move(src, dest)
Definition: eostools.py:510
void reco::PFTau::setIsolationTauChargedHadronCandidatesRefs ( PFRecoTauChargedHadronRefVector  cands)

Definition at line 208 of file PFTau.cc.

References isolationTauChargedHadronCandidatesRefs_, and eostools::move().

208  {
210 }
PFRecoTauChargedHadronRefVector isolationTauChargedHadronCandidatesRefs_
Definition: PFTau.h:270
def move(src, dest)
Definition: eostools.py:510
void reco::PFTau::setjetRef ( const PFJetRef x)

Definition at line 59 of file PFTau.cc.

References jetRef_.

Referenced by RecoTauProducer::produce().

59 { jetRef_ = x; }
reco::PFJetRef jetRef_
Definition: PFTau.h:247
void reco::PFTau::setleadPFCand ( const PFCandidatePtr myLead)

Definition at line 73 of file PFTau.cc.

References leadPFCand_.

Referenced by HPSPFRecoTauAlgorithm::buildOneProng(), and HPSPFRecoTauAlgorithm::buildThreeProngs().

73 { leadPFCand_ = myLead;}
reco::PFCandidatePtr leadPFCand_
Definition: PFTau.h:251
void reco::PFTau::setleadPFChargedHadrCand ( const PFCandidatePtr myLead)

Definition at line 71 of file PFTau.cc.

References leadPFChargedHadrCand_.

Referenced by HPSPFRecoTauAlgorithm::buildOneProng(), and HPSPFRecoTauAlgorithm::buildThreeProngs().

71 { leadPFChargedHadrCand_ = myLead;}
reco::PFCandidatePtr leadPFChargedHadrCand_
Definition: PFTau.h:249
void reco::PFTau::setleadPFChargedHadrCandsignedSipt ( const float &  x)
void reco::PFTau::setleadPFNeutralCand ( const PFCandidatePtr myLead)

Definition at line 72 of file PFTau.cc.

References leadPFNeutralCand_.

72 { leadPFNeutralCand_ = myLead;}
reco::PFCandidatePtr leadPFNeutralCand_
Definition: PFTau.h:250
void reco::PFTau::setmaximumHCALPFClusterEt ( const float &  x)
void reco::PFTau::setMuonDecision ( const bool &  x)

Definition at line 263 of file PFTau.cc.

References muonDecision_.

Referenced by HPSPFRecoTauAlgorithm::applyMuonRejection().

263 {muonDecision_ = x;}
bool muonDecision_
Definition: PFTau.h:218
void reco::PFTau::setpfTauTagInfoRef ( const PFTauTagInfoRef  x)
void reco::PFTau::setSegComp ( const float &  x)

Definition at line 262 of file PFTau.cc.

References segComp_.

Referenced by HPSPFRecoTauAlgorithm::applyMuonRejection().

262 {segComp_ = x;}
float segComp_
Definition: PFTau.h:239
void reco::PFTau::setSignalConeSize ( double  signalConeSize)
inline

Definition at line 160 of file PFTau.h.

References RecoTauCombinatoricProducer_cfi::signalConeSize.

float signalConeSize_
Definition: PFTau.h:245
double signalConeSize() const
Size of signal cone.
Definition: PFTau.h:159
void reco::PFTau::setsignalPFCands ( const std::vector< reco::PFCandidatePtr > &  myParts)
void reco::PFTau::setsignalPFChargedHadrCands ( const std::vector< reco::PFCandidatePtr > &  myParts)
void reco::PFTau::setsignalPFGammaCands ( const std::vector< reco::PFCandidatePtr > &  myParts)

Definition at line 85 of file PFTau.cc.

References selectedSignalPFGammaCands_.

85 { selectedSignalPFGammaCands_ = myParts; }
std::vector< reco::PFCandidatePtr > selectedSignalPFGammaCands_
Definition: PFTau.h:258
void reco::PFTau::setsignalPFNeutrHadrCands ( const std::vector< reco::PFCandidatePtr > &  myParts)

Definition at line 83 of file PFTau.cc.

References selectedSignalPFNeutrHadrCands_.

std::vector< reco::PFCandidatePtr > selectedSignalPFNeutrHadrCands_
Definition: PFTau.h:257
void reco::PFTau::setsignalPiZeroCandidates ( std::vector< RecoTauPiZero cands)

Definition at line 138 of file PFTau.cc.

References eostools::move(), and signalPiZeroCandidates_.

Referenced by reco::tau::RecoTauPhotonFilter::operator()().

138  {
139  copyToCache(std::move(cands), signalPiZeroCandidates_);
140 }
edm::AtomicPtrCache< std::vector< reco::RecoTauPiZero > > signalPiZeroCandidates_
Definition: PFTau.h:273
def move(src, dest)
Definition: eostools.py:510
void reco::PFTau::setSignalPiZeroCandidatesRefs ( RecoTauPiZeroRefVector  cands)

Definition at line 142 of file PFTau.cc.

References eostools::move(), and signalPiZeroCandidatesRefs_.

Referenced by RecoTauPiZeroUnembedder::produce().

142  {
144 }
RecoTauPiZeroRefVector signalPiZeroCandidatesRefs_
Definition: PFTau.h:266
def move(src, dest)
Definition: eostools.py:510
void reco::PFTau::setSignalTauChargedHadronCandidates ( std::vector< PFRecoTauChargedHadron cands)

Definition at line 185 of file PFTau.cc.

References eostools::move(), and signalTauChargedHadronCandidates_.

185  {
186  copyToCache(std::move(cands), signalTauChargedHadronCandidates_);
187 }
edm::AtomicPtrCache< std::vector< reco::PFRecoTauChargedHadron > > signalTauChargedHadronCandidates_
Definition: PFTau.h:277
def move(src, dest)
Definition: eostools.py:510
void reco::PFTau::setSignalTauChargedHadronCandidatesRefs ( PFRecoTauChargedHadronRefVector  cands)

Definition at line 189 of file PFTau.cc.

References eostools::move(), and signalTauChargedHadronCandidatesRefs_.

189  {
191 }
PFRecoTauChargedHadronRefVector signalTauChargedHadronCandidatesRefs_
Definition: PFTau.h:269
def move(src, dest)
Definition: eostools.py:510
double reco::PFTau::signalConeSize ( ) const
inline

Size of signal cone.

Definition at line 159 of file PFTau.h.

Referenced by reco::tau::RecoTauBuilderConePlugin::setTauQuantities().

159 { return signalConeSize_; }
float signalConeSize_
Definition: PFTau.h:245
const std::vector< PFCandidatePtr > & reco::PFTau::signalPFCands ( ) const
const std::vector< PFCandidatePtr > & reco::PFTau::signalPFChargedHadrCands ( ) const
const std::vector< PFCandidatePtr > & reco::PFTau::signalPFGammaCands ( ) const
const std::vector< PFCandidatePtr > & reco::PFTau::signalPFNeutrHadrCands ( ) const

Neutral hadrons in signal region.

Definition at line 82 of file PFTau.cc.

References selectedSignalPFNeutrHadrCands_.

Referenced by reco::operator<<().

std::vector< reco::PFCandidatePtr > selectedSignalPFNeutrHadrCands_
Definition: PFTau.h:257
const std::vector< RecoTauPiZero > & reco::PFTau::signalPiZeroCandidates ( ) const

Retrieve the association of signal region gamma candidates into candidate PiZeros.

Definition at line 127 of file PFTau.cc.

References signalPiZeroCandidates_, and signalPiZeroCandidatesRefs_.

Referenced by 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(), RecoTauPiZeroUnembedder::produce(), reco::tau::RecoTauBuilderConePlugin::setTauQuantities(), and reco::tau::RecoTauConstructor::sortAndCopyIntoTau().

127  {
128  // Check if the signal pi zeros are already filled
130  return *signalPiZeroCandidates_;
131 }
RecoTauPiZeroRefVector signalPiZeroCandidatesRefs_
Definition: PFTau.h:266
edm::AtomicPtrCache< std::vector< reco::RecoTauPiZero > > signalPiZeroCandidates_
Definition: PFTau.h:273
std::vector< RecoTauPiZero > & reco::PFTau::signalPiZeroCandidatesRestricted ( )
private

Definition at line 133 of file PFTau.cc.

References signalPiZeroCandidates_.

133  {
134  // Check if the signal pi zeros are already filled
135  return makeCacheIfNeeded(signalPiZeroCandidates_);
136 }
edm::AtomicPtrCache< std::vector< reco::RecoTauPiZero > > signalPiZeroCandidates_
Definition: PFTau.h:273
const std::vector< PFRecoTauChargedHadron > & reco::PFTau::signalTauChargedHadronCandidates ( ) const

Retrieve the association of signal region PF candidates into candidate PFRecoTauChargedHadrons.

Definition at line 174 of file PFTau.cc.

References signalTauChargedHadronCandidates_, and signalTauChargedHadronCandidatesRefs_.

Referenced by reco::tau::RecoTauConstructor::sortAndCopyIntoTau().

174  {
175  // Check if the signal tau charged hadrons are already filled
178 }
edm::AtomicPtrCache< std::vector< reco::PFRecoTauChargedHadron > > signalTauChargedHadronCandidates_
Definition: PFTau.h:277
PFRecoTauChargedHadronRefVector signalTauChargedHadronCandidatesRefs_
Definition: PFTau.h:269
std::vector< PFRecoTauChargedHadron > & reco::PFTau::signalTauChargedHadronCandidatesRestricted ( )
private

Definition at line 180 of file PFTau.cc.

References signalTauChargedHadronCandidates_.

Referenced by reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()().

180  {
181  // Check if the signal tau charged hadrons are already filled
182  return makeCacheIfNeeded(signalTauChargedHadronCandidates_);
183 }
edm::AtomicPtrCache< std::vector< reco::PFRecoTauChargedHadron > > signalTauChargedHadronCandidates_
Definition: PFTau.h:277
CandidatePtr reco::PFTau::sourceCandidatePtr ( size_type  i) const
virtual

return a RefToBase to the source Candidates ( the candidates used to construct this Candidate)

Reimplemented from reco::LeafCandidate.

Definition at line 265 of file PFTau.cc.

References jetRef(), and edm::refToPtr().

265  {
266  if ( i!=0 ) return CandidatePtr();
267  return refToPtr(jetRef());
268 }
const PFJetRef & jetRef() const
Definition: PFTau.cc:58
Ptr< typename C::value_type > refToPtr(Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &ref)
Definition: RefToPtr.h:18
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
Definition: CandidateFwd.h:25

Friends And Related Function Documentation

Definition at line 207 of file PFTau.h.

friend class tau::RecoTauConstructor
friend

Definition at line 206 of file PFTau.h.

Member Data Documentation

float reco::PFTau::bendCorrMass_
private

Definition at line 243 of file PFTau.h.

Referenced by PFTau().

float reco::PFTau::bremsRecoveryEOverPLead_
private

Definition at line 234 of file PFTau.h.

Referenced by bremsRecoveryEOverPLead(), PFTau(), and setbremsRecoveryEOverPLead().

float reco::PFTau::caloComp_
private

Definition at line 238 of file PFTau.h.

Referenced by caloComp(), PFTau(), and setCaloComp().

hadronicDecayMode reco::PFTau::decayMode_
private

Definition at line 241 of file PFTau.h.

Referenced by decayMode(), PFTau(), and setDecayMode().

float reco::PFTau::ecalStripSumEOverPLead_
private

Definition at line 233 of file PFTau.h.

Referenced by ecalStripSumEOverPLead(), PFTau(), and setecalStripSumEOverPLead().

bool reco::PFTau::electronPreIDDecision_
private

Definition at line 219 of file PFTau.h.

Referenced by electronPreIDDecision(), PFTau(), and setelectronPreIDDecision().

float reco::PFTau::electronPreIDOutput_
private

Definition at line 235 of file PFTau.h.

Referenced by electronPreIDOutput(), PFTau(), and setelectronPreIDOutput().

reco::TrackRef reco::PFTau::electronPreIDTrack_
private

Definition at line 252 of file PFTau.h.

Referenced by electronPreIDTrack(), and setelectronPreIDTrack().

float reco::PFTau::emFraction_
private

Definition at line 229 of file PFTau.h.

Referenced by emFraction(), PFTau(), and setemFraction().

float reco::PFTau::hcal3x3OverPLead_
private

Definition at line 232 of file PFTau.h.

Referenced by hcal3x3OverPLead(), PFTau(), and sethcal3x3OverPLead().

float reco::PFTau::hcalMaxOverPLead_
private

Definition at line 231 of file PFTau.h.

Referenced by hcalMaxOverPLead(), PFTau(), and sethcalMaxOverPLead().

float reco::PFTau::hcalTotOverPLead_
private

Definition at line 230 of file PFTau.h.

Referenced by hcalTotOverPLead(), PFTau(), and sethcalTotOverPLead().

float reco::PFTau::isolationPFChargedHadrCandsPtSum_
private
float reco::PFTau::isolationPFGammaCandsEtSum_
private

Definition at line 225 of file PFTau.h.

Referenced by isolationPFGammaCandsEtSum(), PFTau(), and setisolationPFGammaCandsEtSum().

edm::AtomicPtrCache<std::vector<reco::RecoTauPiZero> > reco::PFTau::isolationPiZeroCandidates_
private

Definition at line 274 of file PFTau.h.

Referenced by isolationPiZeroCandidates(), and isolationPiZeroCandidatesRestricted().

RecoTauPiZeroRefVector reco::PFTau::isolationPiZeroCandidatesRefs_
private

Definition at line 267 of file PFTau.h.

Referenced by isolationPiZeroCandidates(), and setIsolationPiZeroCandidatesRefs().

edm::AtomicPtrCache<std::vector<reco::PFRecoTauChargedHadron> > reco::PFTau::isolationTauChargedHadronCandidates_
private
PFRecoTauChargedHadronRefVector reco::PFTau::isolationTauChargedHadronCandidatesRefs_
private
reco::PFJetRef reco::PFTau::jetRef_
private

Definition at line 247 of file PFTau.h.

Referenced by jetRef(), and setjetRef().

reco::PFCandidatePtr reco::PFTau::leadPFCand_
private

Definition at line 251 of file PFTau.h.

Referenced by leadPFCand(), and setleadPFCand().

reco::PFCandidatePtr reco::PFTau::leadPFChargedHadrCand_
private

Definition at line 249 of file PFTau.h.

Referenced by hasMuonReference(), leadPFChargedHadrCand(), and setleadPFChargedHadrCand().

float reco::PFTau::leadPFChargedHadrCandsignedSipt_
private
reco::PFCandidatePtr reco::PFTau::leadPFNeutralCand_
private

Definition at line 250 of file PFTau.h.

Referenced by leadPFNeutralCand(), and setleadPFNeutralCand().

float reco::PFTau::maximumHCALPFClusterEt_
private

Definition at line 226 of file PFTau.h.

Referenced by maximumHCALPFClusterEt(), PFTau(), and setmaximumHCALPFClusterEt().

bool reco::PFTau::muonDecision_
private

Definition at line 218 of file PFTau.h.

Referenced by muonDecision(), PFTau(), and setMuonDecision().

PFTauTagInfoRef reco::PFTau::PFTauTagInfoRef_
private

Definition at line 248 of file PFTau.h.

Referenced by pfTauTagInfoRef(), and setpfTauTagInfoRef().

float reco::PFTau::segComp_
private

Definition at line 239 of file PFTau.h.

Referenced by PFTau(), segComp(), and setSegComp().

std::vector<reco::PFCandidatePtr> reco::PFTau::selectedIsolationPFCands_
private

Definition at line 261 of file PFTau.h.

Referenced by isolationPFCands(), and setisolationPFCands().

std::vector<reco::PFCandidatePtr> reco::PFTau::selectedIsolationPFChargedHadrCands_
private

Definition at line 262 of file PFTau.h.

Referenced by isolationPFChargedHadrCands(), and setisolationPFChargedHadrCands().

std::vector<reco::PFCandidatePtr> reco::PFTau::selectedIsolationPFGammaCands_
private

Definition at line 264 of file PFTau.h.

Referenced by isolationPFGammaCands(), and setisolationPFGammaCands().

std::vector<reco::PFCandidatePtr> reco::PFTau::selectedIsolationPFNeutrHadrCands_
private

Definition at line 263 of file PFTau.h.

Referenced by isolationPFNeutrHadrCands(), and setisolationPFNeutrHadrCands().

std::vector<reco::PFCandidatePtr> reco::PFTau::selectedSignalPFCands_
private

Definition at line 255 of file PFTau.h.

Referenced by setsignalPFCands(), and signalPFCands().

std::vector<reco::PFCandidatePtr> reco::PFTau::selectedSignalPFChargedHadrCands_
private

Definition at line 256 of file PFTau.h.

Referenced by setsignalPFChargedHadrCands(), and signalPFChargedHadrCands().

std::vector<reco::PFCandidatePtr> reco::PFTau::selectedSignalPFGammaCands_
private

Definition at line 258 of file PFTau.h.

Referenced by setsignalPFGammaCands(), and signalPFGammaCands().

std::vector<reco::PFCandidatePtr> reco::PFTau::selectedSignalPFNeutrHadrCands_
private

Definition at line 257 of file PFTau.h.

Referenced by setsignalPFNeutrHadrCands(), and signalPFNeutrHadrCands().

float reco::PFTau::signalConeSize_
private

Definition at line 245 of file PFTau.h.

Referenced by PFTau().

edm::AtomicPtrCache<std::vector<reco::RecoTauPiZero> > reco::PFTau::signalPiZeroCandidates_
private
RecoTauPiZeroRefVector reco::PFTau::signalPiZeroCandidatesRefs_
private

Definition at line 266 of file PFTau.h.

Referenced by setSignalPiZeroCandidatesRefs(), and signalPiZeroCandidates().

edm::AtomicPtrCache<std::vector<reco::PFRecoTauChargedHadron> > reco::PFTau::signalTauChargedHadronCandidates_
private
PFRecoTauChargedHadronRefVector reco::PFTau::signalTauChargedHadronCandidatesRefs_
private