CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 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 PFCandidateRefVectorisolationPFCands () const
 PFCandidates in isolation region. More...
 
const PFCandidateRefVectorisolationPFChargedHadrCands () const
 Charged candidates in isolation region. More...
 
float isolationPFChargedHadrCandsPtSum () const
 
const PFCandidateRefVectorisolationPFGammaCands () const
 Gamma candidates in isolation region. More...
 
float isolationPFGammaCandsEtSum () const
 
const PFCandidateRefVectorisolationPFNeutrHadrCands () const
 
const std::vector
< RecoTauPiZero > & 
isolationPiZeroCandidates () const
 Retrieve the association of isolation region gamma candidates into candidate PiZeros. More...
 
const PFJetRefjetRef () const
 
const PFCandidateRefleadPFCand () const
 
const PFCandidateRefleadPFChargedHadrCand () const
 
float leadPFChargedHadrCandsignedSipt () const
 
const PFCandidateRefleadPFNeutralCand () 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 setbremsRecoveryEOverPLead (const float &)
 
void setCaloComp (const float &)
 
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 PFCandidateRefVector &)
 
void setisolationPFChargedHadrCands (const PFCandidateRefVector &)
 
void setisolationPFChargedHadrCandsPtSum (const float &)
 
void setisolationPFGammaCands (const PFCandidateRefVector &)
 
void setisolationPFGammaCandsEtSum (const float &)
 
void setisolationPFNeutrHadrCands (const PFCandidateRefVector &)
 
void setisolationPiZeroCandidates (const std::vector< RecoTauPiZero > &)
 
void setIsolationPiZeroCandidatesRefs (const RecoTauPiZeroRefVector &)
 
void setjetRef (const PFJetRef &)
 
void setleadPFCand (const PFCandidateRef &)
 
void setleadPFChargedHadrCand (const PFCandidateRef &)
 
void setleadPFChargedHadrCandsignedSipt (const float &)
 
void setleadPFNeutralCand (const PFCandidateRef &)
 
void setmaximumHCALPFClusterEt (const float &)
 
void setMuonDecision (const bool &)
 
void setpfTauTagInfoRef (const PFTauTagInfoRef)
 
void setSegComp (const float &)
 
void setsignalPFCands (const PFCandidateRefVector &)
 
void setsignalPFChargedHadrCands (const PFCandidateRefVector &)
 
void setsignalPFGammaCands (const PFCandidateRefVector &)
 
void setsignalPFNeutrHadrCands (const PFCandidateRefVector &)
 
void setsignalPiZeroCandidates (const std::vector< RecoTauPiZero > &)
 
void setSignalPiZeroCandidatesRefs (const RecoTauPiZeroRefVector &)
 
const PFCandidateRefVectorsignalPFCands () const
 PFCandidates in signal region. More...
 
const PFCandidateRefVectorsignalPFChargedHadrCands () const
 Charged hadrons in signal region. More...
 
const PFCandidateRefVectorsignalPFGammaCands () const
 Gamma candidates in signal region. More...
 
const PFCandidateRefVectorsignalPFNeutrHadrCands () 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...
 
CandidatePtr sourceCandidatePtr (size_type i) const
 
virtual ~PFTau ()
 
- Public Member Functions inherited from reco::BaseTau
math::XYZTLorentzVector alternatLorentzVect () const
 
 BaseTau ()
 
 BaseTau (Charge q, const LorentzVector &, const Point &=Point(0, 0, 0))
 
virtual const
reco::TrackRefVector
isolationTracks () const
 
virtual reco::TrackRef leadTrack () const
 
void setalternatLorentzVect (math::XYZTLorentzVector)
 
void setisolationTracks (const TrackRefVector &)
 
void setleadTrack (const TrackRef &)
 
void setsignalTracks (const TrackRefVector &)
 
virtual const
reco::TrackRefVector
signalTracks () const
 
virtual ~BaseTau ()
 
- Public Member Functions inherited from reco::RecoCandidate
virtual const 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 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 const_iterator begin () const
 first daughter const_iterator More...
 
virtual iterator begin ()
 first daughter iterator More...
 
template<typename S >
daughter_iterator< S >::type beginFilter (const S &s) const
 
virtual Vector boostToCM () const GCC11_FINAL
 
virtual int charge () const GCC11_FINAL
 electric charge More...
 
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 const_iterator end () const
 last daughter const_iterator More...
 
virtual iterator end ()
 last daughter iterator More...
 
template<typename S >
daughter_iterator< S >::type endFilter (const S &s) const
 
virtual double energy () const GCC11_FINAL
 energy More...
 
virtual double et () const GCC11_FINAL
 transverse energy More...
 
virtual float eta () const GCC11_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 ()
 default constructor More...
 
 LeafCandidate (const Candidate &c)
 
template<typename P4 >
 LeafCandidate (Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
 constructor from Any values More...
 
 LeafCandidate (Charge q, const PtEtaPhiMass &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
 constructor from values More...
 
 LeafCandidate (Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
 constructor from values More...
 
 LeafCandidate (Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
 constructor from values More...
 
virtual bool longLived () const GCC11_FINAL
 is long lived? More...
 
virtual float mass () const GCC11_FINAL
 mass More...
 
virtual bool massConstraint () const GCC11_FINAL
 do mass constraint? More...
 
virtual float massSqr () const GCC11_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 GCC11_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 GCC11_FINAL
 transverse mass More...
 
virtual double mtSqr () const GCC11_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...
 
virtual double p () const GCC11_FINAL
 magnitude of momentum vector More...
 
virtual const LorentzVectorp4 () const GCC11_FINAL
 four-momentum Lorentz vector More...
 
virtual int pdgId () const GCC11_FINAL
 PDG identifier. More...
 
virtual float phi () const GCC11_FINAL
 momentum azimuthal angle More...
 
virtual const PolarLorentzVectorpolarP4 () const GCC11_FINAL
 four-momentum Lorentz vector More...
 
virtual float pt () const GCC11_FINAL
 transverse momentum More...
 
virtual double px () const GCC11_FINAL
 x coordinate of momentum vector More...
 
virtual double py () const GCC11_FINAL
 y coordinate of momentum vector More...
 
virtual double pz () const GCC11_FINAL
 z coordinate of momentum vector More...
 
virtual double rapidity () const GCC11_FINAL
 rapidity More...
 
virtual void setCharge (Charge q) GCC11_FINAL
 set electric charge More...
 
virtual void setLongLived () GCC11_FINAL
 set long lived flag More...
 
virtual void setMass (double m) GCC11_FINAL
 set particle mass More...
 
virtual void setMassConstraint () GCC11_FINAL
 set mass constraint flag More...
 
virtual void setP4 (const LorentzVector &p4) GCC11_FINAL
 set 4-momentum More...
 
virtual void setP4 (const PolarLorentzVector &p4) GCC11_FINAL
 set 4-momentum More...
 
virtual void setPdgId (int pdgId) GCC11_FINAL
 
virtual void setPz (double pz) GCC11_FINAL
 
virtual void setStatus (int status) GCC11_FINAL
 set status word More...
 
virtual void setThreeCharge (Charge qx3) GCC11_FINAL
 set electric charge More...
 
virtual void setVertex (const Point &vertex)
 set vertex More...
 
virtual int status () const GCC11_FINAL
 status word More...
 
virtual double theta () const GCC11_FINAL
 momentum polar angle More...
 
virtual int threeCharge () const GCC11_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 GCC11_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 GCC11_FINAL
 rapidity More...
 
virtual ~LeafCandidate ()
 destructor More...
 
- Public Member Functions inherited from reco::Candidate
template<typename S >
daughter_iterator< S >::type beginFilter (const S &s) const
 
 Candidate ()
 default constructor More...
 
template<typename S >
daughter_iterator< S >::type endFilter (const S &s) const
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
virtual void setSourceCandidatePtr (const CandidatePtr &ptr)
 Set the ptr to the source Candidate. More...
 
virtual ~Candidate ()
 destructor More...
 

Private Member Functions

virtual bool overlap (const Candidate &) const
 check overlap with another candidate More...
 

Private Attributes

float bremsRecoveryEOverPLead_
 
float caloComp_
 
float ecalStripSumEOverPLead_
 
bool electronPreIDDecision_
 
float electronPreIDOutput_
 
reco::TrackRef electronPreIDTrack_
 
float emFraction_
 
float hcal3x3OverPLead_
 
float hcalMaxOverPLead_
 
float hcalTotOverPLead_
 
float isolationPFChargedHadrCandsPtSum_
 
float isolationPFGammaCandsEtSum_
 
std::vector< reco::RecoTauPiZeroisolationPiZeroCandidates_
 
RecoTauPiZeroRefVector isolationPiZeroCandidatesRefs_
 
reco::PFJetRef jetRef_
 
PFCandidateRef leadPFCand_
 
PFCandidateRef leadPFChargedHadrCand_
 
float leadPFChargedHadrCandsignedSipt_
 
PFCandidateRef leadPFNeutralCand_
 
float maximumHCALPFClusterEt_
 
bool muonDecision_
 
PFTauTagInfoRef PFTauTagInfoRef_
 
float segComp_
 
PFCandidateRefVector selectedIsolationPFCands_
 
PFCandidateRefVector selectedIsolationPFChargedHadrCands_
 
PFCandidateRefVector selectedIsolationPFGammaCands_
 
PFCandidateRefVector selectedIsolationPFNeutrHadrCands_
 
PFCandidateRefVector selectedSignalPFCands_
 
PFCandidateRefVector selectedSignalPFChargedHadrCands_
 
PFCandidateRefVector selectedSignalPFGammaCands_
 
PFCandidateRefVector selectedSignalPFNeutrHadrCands_
 
std::vector< reco::RecoTauPiZerosignalPiZeroCandidates_
 
RecoTauPiZeroRefVector signalPiZeroCandidatesRefs_
 

Friends

class reco::tau::RecoTauConstructor
 

Additional Inherited Members

- Static Public Attributes inherited from reco::LeafCandidate
static const unsigned int longLivedTag = 65536
 long lived flag More...
 
static const unsigned int massConstraintTag = 131072
 do mass constraint flag More...
 
- 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...
 
- Protected Member Functions inherited from reco::LeafCandidate
void cacheCartesian () const
 set internal cache More...
 
void cachePolar () const
 set internal cache More...
 
void clearCache () const
 clear internal cache More...
 
- Protected Attributes inherited from reco::LeafCandidate
bool cacheCartesianFixed_
 
bool cachePolarFixed_
 has cache been set? More...
 
float eta_
 
float mass_
 
LorentzVector p4Cartesian_
 internal cache for p4 More...
 
PolarLorentzVector p4Polar_
 internal cache for p4 More...
 
int pdgId_
 PDG identifier. More...
 
float phi_
 
float pt_
 four-momentum Lorentz vector More...
 
Charge qx3_
 electric charge More...
 
int status_
 status word More...
 
Point vertex_
 vertex position More...
 

Detailed Description

Definition at line 32 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 34 of file PFTau.h.

Constructor & Destructor Documentation

reco::PFTau::PFTau ( )

Definition at line 8 of file PFTau.cc.

References bremsRecoveryEOverPLead_, caloComp_, ecalStripSumEOverPLead_, electronPreIDDecision_, electronPreIDOutput_, emFraction_, hcal3x3OverPLead_, hcalMaxOverPLead_, hcalTotOverPLead_, isolationPFChargedHadrCandsPtSum_, isolationPFGammaCandsEtSum_, leadPFChargedHadrCandsignedSipt_, maximumHCALPFClusterEt_, muonDecision_, and segComp_.

Referenced by clone().

8  {
13  emFraction_ = NAN;
14  hcalTotOverPLead_ = NAN;
15  hcalMaxOverPLead_ = NAN;
16  hcal3x3OverPLead_ = NAN;
21  caloComp_ = NAN;
22  segComp_ = NAN;
23  muonDecision_ = NAN;
24 }
float ecalStripSumEOverPLead_
Definition: PFTau.h:202
bool electronPreIDDecision_
Definition: PFTau.h:189
float maximumHCALPFClusterEt_
Definition: PFTau.h:195
float isolationPFChargedHadrCandsPtSum_
Definition: PFTau.h:193
float segComp_
Definition: PFTau.h:208
float leadPFChargedHadrCandsignedSipt_
Definition: PFTau.h:191
bool muonDecision_
Definition: PFTau.h:188
float bremsRecoveryEOverPLead_
Definition: PFTau.h:203
float hcal3x3OverPLead_
Definition: PFTau.h:201
float hcalMaxOverPLead_
Definition: PFTau.h:200
float electronPreIDOutput_
Definition: PFTau.h:204
float emFraction_
Definition: PFTau.h:198
float isolationPFGammaCandsEtSum_
Definition: PFTau.h:194
float caloComp_
Definition: PFTau.h:207
float hcalTotOverPLead_
Definition: PFTau.h:199
reco::PFTau::PFTau ( Charge  q,
const LorentzVector p4,
const Point vtx = Point( 0, 0, 0 ) 
)

Definition at line 26 of file PFTau.cc.

References bremsRecoveryEOverPLead_, caloComp_, ecalStripSumEOverPLead_, electronPreIDDecision_, electronPreIDOutput_, emFraction_, hcal3x3OverPLead_, hcalMaxOverPLead_, hcalTotOverPLead_, isolationPFChargedHadrCandsPtSum_, isolationPFGammaCandsEtSum_, leadPFChargedHadrCandsignedSipt_, maximumHCALPFClusterEt_, muonDecision_, and segComp_.

26  : BaseTau(q,p4,vtx)
27 {
32 
33  emFraction_ = NAN;
34  hcalTotOverPLead_ = NAN;
35  hcalMaxOverPLead_ = NAN;
36  hcal3x3OverPLead_ = NAN;
41 
42  caloComp_ = NAN;
43  segComp_ = NAN;
44  muonDecision_ = NAN;
45 }
float ecalStripSumEOverPLead_
Definition: PFTau.h:202
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
bool electronPreIDDecision_
Definition: PFTau.h:189
float maximumHCALPFClusterEt_
Definition: PFTau.h:195
float isolationPFChargedHadrCandsPtSum_
Definition: PFTau.h:193
float segComp_
Definition: PFTau.h:208
float leadPFChargedHadrCandsignedSipt_
Definition: PFTau.h:191
bool muonDecision_
Definition: PFTau.h:188
float bremsRecoveryEOverPLead_
Definition: PFTau.h:203
float hcal3x3OverPLead_
Definition: PFTau.h:201
float hcalMaxOverPLead_
Definition: PFTau.h:200
float electronPreIDOutput_
Definition: PFTau.h:204
float emFraction_
Definition: PFTau.h:198
float isolationPFGammaCandsEtSum_
Definition: PFTau.h:194
float caloComp_
Definition: PFTau.h:207
float hcalTotOverPLead_
Definition: PFTau.h:199
virtual reco::PFTau::~PFTau ( )
inlinevirtual

Definition at line 56 of file PFTau.h.

56 {};

Member Function Documentation

float reco::PFTau::bremsRecoveryEOverPLead ( ) const

Definition at line 163 of file PFTau.cc.

References bremsRecoveryEOverPLead_.

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

Definition at line 189 of file PFTau.cc.

References caloComp_.

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

returns a clone of the Candidate object

Reimplemented from reco::BaseTau.

Definition at line 47 of file PFTau.cc.

References PFTau().

47 { 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 130 of file PFTau.cc.

References kNull, kOneProngNPiZero, kRareDecayMode, reco::tau::helpers::nCharged(), signalPFChargedHadrCands(), signalPiZeroCandidates(), and edm::RefVector< C, T, F >::size().

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

130  {
131  unsigned int nCharged = signalPFChargedHadrCands().size();
132  unsigned int nPiZeros = signalPiZeroCandidates().size();
133  // If no tracks exist, this is definitely not a tau!
134  if(!nCharged) return kNull;
135  // Find the maximum number of PiZeros our parameterization can hold
136  const unsigned int maxPiZeros = kOneProngNPiZero;
137  // Determine our track index
138  unsigned int trackIndex = (nCharged-1)*(maxPiZeros+1);
139  // Check if we handle the given number of tracks
140  if(trackIndex >= kRareDecayMode) return kRareDecayMode;
141 
142  nPiZeros = (nPiZeros <= maxPiZeros) ? nPiZeros : maxPiZeros;
143  return static_cast<PFTau::hadronicDecayMode>(trackIndex + nPiZeros);
144 }
const PFCandidateRefVector & signalPFChargedHadrCands() const
Charged hadrons in signal region.
Definition: PFTau.cc:75
const std::vector< RecoTauPiZero > & signalPiZeroCandidates() const
Retrieve the association of signal region gamma candidates into candidate PiZeros.
Definition: PFTau.cc:92
unsigned int nCharged(const GenJet &jet)
hadronicDecayMode
Definition: PFTau.h:34
size_type size() const
Size of the RefVector.
Definition: RefVector.h:89
void reco::PFTau::dump ( std::ostream &  out = std::cout) const

prints information on this PFTau

Definition at line 209 of file PFTau.cc.

References reco::LeafCandidate::charge(), isolationPFChargedHadrCands(), isolationPFChargedHadrCandsPtSum(), isolationPFGammaCands(), isolationPFGammaCandsEtSum(), jetRef(), leadPFChargedHadrCand(), maximumHCALPFClusterEt(), pfTauTagInfoRef(), reco::LeafCandidate::pt(), signalPFChargedHadrCands(), signalPFGammaCands(), edm::RefVector< C, T, F >::size(), reco::LeafCandidate::vx(), reco::LeafCandidate::vy(), and reco::LeafCandidate::vz().

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

209  {
210 
211  if(!out) return;
212 
213  if (pfTauTagInfoRef().isNonnull()) {
214  out << "Its TauTagInfo constituents :"<<std::endl;
215  out<<"# Tracks "<<pfTauTagInfoRef()->Tracks().size()<<std::endl;
216  out<<"# PF charged hadr. cand's "<<pfTauTagInfoRef()->PFChargedHadrCands().size()<<std::endl;
217  out<<"# PF neutral hadr. cand's "<<pfTauTagInfoRef()->PFNeutrHadrCands().size()<<std::endl;
218  out<<"# PF gamma cand's "<<pfTauTagInfoRef()->PFGammaCands().size()<<std::endl;
219  }
220  if (jetRef().isNonnull()) {
221  out << "Its constituents :"<< std::endl;
222  out<<"# PF charged hadr. cand's "<< jetRef()->chargedHadronMultiplicity()<<std::endl;
223  out<<"# PF neutral hadr. cand's "<< jetRef()->neutralHadronMultiplicity()<<std::endl;
224  out<<"# PF gamma cand's "<< jetRef()->photonMultiplicity()<<std::endl;
225  out<<"# Electron cand's "<< jetRef()->electronMultiplicity()<<std::endl;
226  }
227  out<<"in detail :"<<std::endl;
228 
229  out<<"Pt of the PFTau "<<pt()<<std::endl;
230  PFCandidateRef theLeadPFCand = leadPFChargedHadrCand();
231  if(!theLeadPFCand){
232  out<<"No Lead PFCand "<<std::endl;
233  }else{
234  out<<"Lead PFCand Particle Id " << (*theLeadPFCand).particleId() << std::endl;
235  out<<"Lead PFCand Pt "<<(*theLeadPFCand).pt()<<std::endl;
236  out<<"Lead PFCand Charge "<<(*theLeadPFCand).charge()<<std::endl;
237  out<<"Lead PFCand TrkRef "<<(*theLeadPFCand).trackRef().isNonnull()<<std::endl;
238  out<<"Inner point position (x,y,z) of the PFTau ("<<vx()<<","<<vy()<<","<<vz()<<")"<<std::endl;
239  out<<"Charge of the PFTau "<<charge()<<std::endl;
240  out<<"Et of the highest Et HCAL PFCluster "<<maximumHCALPFClusterEt()<<std::endl;
241  out<<"Number of SignalPFChargedHadrCands = "<<signalPFChargedHadrCands().size()<<std::endl;
242  out<<"Number of SignalPFGammaCands = "<<signalPFGammaCands().size()<<std::endl;
243  out<<"Number of IsolationPFChargedHadrCands = "<<isolationPFChargedHadrCands().size()<<std::endl;
244  out<<"Number of IsolationPFGammaCands = "<<isolationPFGammaCands().size()<<std::endl;
245  out<<"Sum of Pt of charged hadr. PFCandidates in isolation annulus around Lead PF = "<<isolationPFChargedHadrCandsPtSum()<<std::endl;
246  out<<"Sum of Et of gamma PFCandidates in other isolation annulus around Lead PF = "<<isolationPFGammaCandsEtSum()<<std::endl;
247 
248  }
249  // return out;
250 }
float maximumHCALPFClusterEt() const
Et of the highest Et HCAL PFCluster.
Definition: PFTau.cc:154
float isolationPFGammaCandsEtSum() const
Definition: PFTau.cc:151
const PFJetRef & jetRef() const
Definition: PFTau.cc:50
float isolationPFChargedHadrCandsPtSum() const
Definition: PFTau.cc:148
const PFCandidateRefVector & signalPFChargedHadrCands() const
Charged hadrons in signal region.
Definition: PFTau.cc:75
virtual double vy() const
y coordinate of vertex position
const PFCandidateRefVector & isolationPFGammaCands() const
Gamma candidates in isolation region.
Definition: PFTau.cc:88
edm::Ref< PFCandidateCollection > PFCandidateRef
persistent reference to a PFCandidate
virtual double vz() const
z coordinate of vertex position
tuple out
Definition: dbtoconf.py:99
const PFTauTagInfoRef & pfTauTagInfoRef() const
Definition: PFTau.cc:53
const PFCandidateRef & leadPFChargedHadrCand() const
Definition: PFTau.cc:62
const PFCandidateRefVector & signalPFGammaCands() const
Gamma candidates in signal region.
Definition: PFTau.cc:79
virtual int charge() const GCC11_FINAL
electric charge
virtual double vx() const
x coordinate of vertex position
size_type size() const
Size of the RefVector.
Definition: RefVector.h:89
virtual float pt() const GCC11_FINAL
transverse momentum
const PFCandidateRefVector & isolationPFChargedHadrCands() const
Charged candidates in isolation region.
Definition: PFTau.cc:84
float reco::PFTau::ecalStripSumEOverPLead ( ) const

Definition at line 162 of file PFTau.cc.

References ecalStripSumEOverPLead_.

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

Definition at line 166 of file PFTau.cc.

References electronPreIDDecision_.

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

Definition at line 165 of file PFTau.cc.

References electronPreIDOutput_.

Referenced by AntiElectronIDMVA3::MVAValue().

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

Definition at line 164 of file PFTau.cc.

References electronPreIDTrack_.

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

Definition at line 158 of file PFTau.cc.

References emFraction_.

Referenced by AntiElectronIDMVA2::MVAValue(), and AntiElectronIDMVA3::MVAValue().

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

Definition at line 179 of file PFTau.cc.

References edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::isNull(), and leadPFChargedHadrCand_.

179  { // check if muon ref exists
180  if( leadPFChargedHadrCand_.isNull() ) return false;
181  else if( leadPFChargedHadrCand_.isNonnull() ){
182  reco::MuonRef muonRef = leadPFChargedHadrCand_->muonRef();
183  if( muonRef.isNull() ) return false;
184  else if( muonRef.isNonnull() ) return true;
185  }
186  return false;
187 }
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:250
bool isNull() const
Checks for null.
Definition: Ref.h:247
PFCandidateRef leadPFChargedHadrCand_
Definition: PFTau.h:212
float reco::PFTau::hcal3x3OverPLead ( ) const

Definition at line 161 of file PFTau.cc.

References hcal3x3OverPLead_.

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

Definition at line 160 of file PFTau.cc.

References hcalMaxOverPLead_.

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

Definition at line 159 of file PFTau.cc.

References hcalTotOverPLead_.

159 {return hcalTotOverPLead_;}
float hcalTotOverPLead_
Definition: PFTau.h:199
const PFCandidateRefVector & reco::PFTau::isolationPFCands ( ) const
const PFCandidateRefVector & reco::PFTau::isolationPFChargedHadrCands ( ) const
float reco::PFTau::isolationPFChargedHadrCandsPtSum ( ) const
const PFCandidateRefVector & reco::PFTau::isolationPFGammaCands ( ) const
float reco::PFTau::isolationPFGammaCandsEtSum ( ) const
const PFCandidateRefVector & 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 115 of file PFTau.cc.

References i, isolationPiZeroCandidates_, isolationPiZeroCandidatesRefs_, and edm::RefVector< C, T, F >::size().

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

115  {
116  // Check if the signal pi zeros are already filled
118  // Fill them from the refs
119  for (size_t i = 0; i < isolationPiZeroCandidatesRefs_.size(); ++i) {
121  }
122  }
124 }
int i
Definition: DBlmapReader.cc:9
std::vector< reco::RecoTauPiZero > isolationPiZeroCandidates_
Definition: PFTau.h:233
RecoTauPiZeroRefVector isolationPiZeroCandidatesRefs_
Definition: PFTau.h:229
size_type size() const
Size of the RefVector.
Definition: RefVector.h:89
const PFJetRef & reco::PFTau::jetRef ( ) const
const PFCandidateRef & reco::PFTau::leadPFCand ( ) const

Definition at line 64 of file PFTau.cc.

References leadPFCand_.

64 {return leadPFCand_;}
PFCandidateRef leadPFCand_
Definition: PFTau.h:213
const PFCandidateRef & 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 70 of file PFTau.cc.

References leadPFChargedHadrCandsignedSipt_.

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

float leadPFChargedHadrCandsignedSipt_
Definition: PFTau.h:191
const PFCandidateRef & reco::PFTau::leadPFNeutralCand ( ) const

Definition at line 63 of file PFTau.cc.

References leadPFNeutralCand_.

63 {return leadPFNeutralCand_;}
PFCandidateRef leadPFNeutralCand_
Definition: PFTau.h:213
float reco::PFTau::maximumHCALPFClusterEt ( ) const

Et of the highest Et HCAL PFCluster.

Definition at line 154 of file PFTau.cc.

References maximumHCALPFClusterEt_.

Referenced by dump().

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

Definition at line 191 of file PFTau.cc.

References muonDecision_.

191 {return muonDecision_;}
bool muonDecision_
Definition: PFTau.h:188
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 174 of file PFTau.h.

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

check overlap with another candidate

Reimplemented from reco::BaseTau.

Definition at line 204 of file PFTau.cc.

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

204  {
205  const RecoCandidate* theRecoCand=dynamic_cast<const RecoCandidate *>(&theCand);
206  return (theRecoCand!=0 && (checkOverlap(track(),theRecoCand->track())));
207 }
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:64
virtual reco::TrackRef track() const
reference to a Track
RecoCandidate()
default constructor
Definition: RecoCandidate.h:24
const PFTauTagInfoRef & reco::PFTau::pfTauTagInfoRef ( ) const

Definition at line 53 of file PFTau.cc.

References PFTauTagInfoRef_.

Referenced by reco::tau::RecoTauVertexAssociator::associatedVertex(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), HPSPFRecoTauAlgorithm::buildPFTau(), dump(), and PFTauElementsOperators::PFTauElementsOperators().

53  {
54 // edm::LogWarning("DeprecatedPFTauMember")
55 // << "The PFTauTagInfoRef member is deprecated in the PFTau."
56 // << " For access to the underlying PFJet, please use the jetRef() method";
57  return PFTauTagInfoRef_;
58 }
PFTauTagInfoRef PFTauTagInfoRef_
Definition: PFTau.h:211
float reco::PFTau::segComp ( ) const

Definition at line 190 of file PFTau.cc.

References segComp_.

190 {return segComp_;}
float segComp_
Definition: PFTau.h:208
void reco::PFTau::setbremsRecoveryEOverPLead ( const float &  x)
void reco::PFTau::setCaloComp ( const float &  x)

Definition at line 192 of file PFTau.cc.

References caloComp_, and x.

Referenced by HPSPFRecoTauAlgorithm::applyMuonRejection().

192 {caloComp_ = x;}
Definition: DDAxes.h:10
float caloComp_
Definition: PFTau.h:207
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)

Definition at line 174 of file PFTau.cc.

References electronPreIDTrack_, and x.

Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().

Definition: DDAxes.h:10
reco::TrackRef electronPreIDTrack_
Definition: PFTau.h:214
void reco::PFTau::setemFraction ( const float &  x)

Definition at line 168 of file PFTau.cc.

References emFraction_, and x.

Referenced by HPSPFRecoTauAlgorithm::applyElectronRejection(), and reco::tau::RecoTauElectronRejectionPlugin::operator()().

168 {emFraction_ = x;}
Definition: DDAxes.h:10
float emFraction_
Definition: PFTau.h:198
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 PFCandidateRefVector myParts)
void reco::PFTau::setisolationPFChargedHadrCands ( const PFCandidateRefVector myParts)
void reco::PFTau::setisolationPFChargedHadrCandsPtSum ( const float &  x)
void reco::PFTau::setisolationPFGammaCands ( const PFCandidateRefVector myParts)

Definition at line 89 of file PFTau.cc.

References selectedIsolationPFGammaCands_.

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

PFCandidateRefVector selectedIsolationPFGammaCands_
Definition: PFTau.h:223
void reco::PFTau::setisolationPFGammaCandsEtSum ( const float &  x)
void reco::PFTau::setisolationPFNeutrHadrCands ( const PFCandidateRefVector myParts)

Definition at line 87 of file PFTau.cc.

References selectedIsolationPFNeutrHadrCands_.

Referenced by HPSPFRecoTauAlgorithm::associateIsolationCandidates().

PFCandidateRefVector selectedIsolationPFNeutrHadrCands_
Definition: PFTau.h:223
void reco::PFTau::setisolationPiZeroCandidates ( const std::vector< RecoTauPiZero > &  cands)

Definition at line 126 of file PFTau.cc.

References signalPiZeroCandidates_.

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

126  {
127  signalPiZeroCandidates_ = cands;
128 }
std::vector< reco::RecoTauPiZero > signalPiZeroCandidates_
Definition: PFTau.h:232
void reco::PFTau::setIsolationPiZeroCandidatesRefs ( const RecoTauPiZeroRefVector cands)

Definition at line 111 of file PFTau.cc.

References isolationPiZeroCandidatesRefs_.

Referenced by RecoTauPiZeroUnembedder::produce().

111  {
113 }
RecoTauPiZeroRefVector isolationPiZeroCandidatesRefs_
Definition: PFTau.h:229
void reco::PFTau::setjetRef ( const PFJetRef x)

Definition at line 51 of file PFTau.cc.

References jetRef_, and x.

Referenced by RecoTauProducer::produce().

51 {jetRef_=x;}
reco::PFJetRef jetRef_
Definition: PFTau.h:210
Definition: DDAxes.h:10
void reco::PFTau::setleadPFCand ( const PFCandidateRef myLead)

Definition at line 68 of file PFTau.cc.

References leadPFCand_.

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

68 { leadPFCand_=myLead;}
PFCandidateRef leadPFCand_
Definition: PFTau.h:213
void reco::PFTau::setleadPFChargedHadrCand ( const PFCandidateRef myLead)

Definition at line 66 of file PFTau.cc.

References leadPFChargedHadrCand_.

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

66 { leadPFChargedHadrCand_=myLead;}
PFCandidateRef leadPFChargedHadrCand_
Definition: PFTau.h:212
void reco::PFTau::setleadPFChargedHadrCandsignedSipt ( const float &  x)
void reco::PFTau::setleadPFNeutralCand ( const PFCandidateRef myLead)

Definition at line 67 of file PFTau.cc.

References leadPFNeutralCand_.

67 { leadPFNeutralCand_=myLead;}
PFCandidateRef leadPFNeutralCand_
Definition: PFTau.h:213
void reco::PFTau::setmaximumHCALPFClusterEt ( const float &  x)
void reco::PFTau::setMuonDecision ( const bool &  x)

Definition at line 194 of file PFTau.cc.

References muonDecision_, and x.

Referenced by HPSPFRecoTauAlgorithm::applyMuonRejection().

194 {muonDecision_ = x;}
bool muonDecision_
Definition: PFTau.h:188
Definition: DDAxes.h:10
void reco::PFTau::setpfTauTagInfoRef ( const PFTauTagInfoRef  x)
void reco::PFTau::setSegComp ( const float &  x)

Definition at line 193 of file PFTau.cc.

References segComp_, and x.

Referenced by HPSPFRecoTauAlgorithm::applyMuonRejection().

193 {segComp_ = x;}
float segComp_
Definition: PFTau.h:208
Definition: DDAxes.h:10
void reco::PFTau::setsignalPFCands ( const PFCandidateRefVector myParts)
void reco::PFTau::setsignalPFChargedHadrCands ( const PFCandidateRefVector myParts)
void reco::PFTau::setsignalPFGammaCands ( const PFCandidateRefVector myParts)

Definition at line 80 of file PFTau.cc.

References selectedSignalPFGammaCands_.

80 { selectedSignalPFGammaCands_ = myParts;}
PFCandidateRefVector selectedSignalPFGammaCands_
Definition: PFTau.h:217
void reco::PFTau::setsignalPFNeutrHadrCands ( const PFCandidateRefVector myParts)

Definition at line 78 of file PFTau.cc.

References selectedSignalPFNeutrHadrCands_.

PFCandidateRefVector selectedSignalPFNeutrHadrCands_
Definition: PFTau.h:217
void reco::PFTau::setsignalPiZeroCandidates ( const std::vector< RecoTauPiZero > &  cands)

Definition at line 103 of file PFTau.cc.

References signalPiZeroCandidates_.

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

103  {
104  signalPiZeroCandidates_ = cands;
105 }
std::vector< reco::RecoTauPiZero > signalPiZeroCandidates_
Definition: PFTau.h:232
void reco::PFTau::setSignalPiZeroCandidatesRefs ( const RecoTauPiZeroRefVector cands)

Definition at line 107 of file PFTau.cc.

References signalPiZeroCandidatesRefs_.

Referenced by RecoTauPiZeroUnembedder::produce().

107  {
109 }
RecoTauPiZeroRefVector signalPiZeroCandidatesRefs_
Definition: PFTau.h:228
const PFCandidateRefVector & reco::PFTau::signalPFCands ( ) const
const PFCandidateRefVector & reco::PFTau::signalPFChargedHadrCands ( ) const
const PFCandidateRefVector & reco::PFTau::signalPFGammaCands ( ) const
const PFCandidateRefVector & reco::PFTau::signalPFNeutrHadrCands ( ) const

Neutral hadrons in signal region.

Definition at line 77 of file PFTau.cc.

References selectedSignalPFNeutrHadrCands_.

Referenced by reco::operator<<().

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

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

Definition at line 92 of file PFTau.cc.

References i, signalPiZeroCandidates_, signalPiZeroCandidatesRefs_, and edm::RefVector< C, T, F >::size().

Referenced by reco::tau::disc::Dalitz2(), decayMode(), reco::tau::helpers::nGammas(), reco::tau::RecoTauPhotonFilter::operator()(), reco::operator<<(), reco::tau::disc::PiZeroAngle(), reco::tau::disc::PiZeroEta(), reco::tau::disc::PiZeroPt(), and RecoTauPiZeroUnembedder::produce().

92  {
93  // Check if the signal pi zeros are already filled
95  // Fill them from the refs
96  for (size_t i = 0; i < signalPiZeroCandidatesRefs_.size(); ++i) {
98  }
99  }
101 }
int i
Definition: DBlmapReader.cc:9
RecoTauPiZeroRefVector signalPiZeroCandidatesRefs_
Definition: PFTau.h:228
std::vector< reco::RecoTauPiZero > signalPiZeroCandidates_
Definition: PFTau.h:232
size_type size() const
Size of the RefVector.
Definition: RefVector.h:89
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 198 of file PFTau.cc.

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

198  {
199  if( i!=0 ) return CandidatePtr();
200  return refToPtr( jetRef() );
201 }
int i
Definition: DBlmapReader.cc:9
const PFJetRef & jetRef() const
Definition: PFTau.cc:50
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

friend class reco::tau::RecoTauConstructor
friend

Definition at line 184 of file PFTau.h.

Member Data Documentation

float reco::PFTau::bremsRecoveryEOverPLead_
private

Definition at line 203 of file PFTau.h.

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

float reco::PFTau::caloComp_
private

Definition at line 207 of file PFTau.h.

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

float reco::PFTau::ecalStripSumEOverPLead_
private

Definition at line 202 of file PFTau.h.

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

bool reco::PFTau::electronPreIDDecision_
private

Definition at line 189 of file PFTau.h.

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

float reco::PFTau::electronPreIDOutput_
private

Definition at line 204 of file PFTau.h.

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

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

Definition at line 214 of file PFTau.h.

Referenced by electronPreIDTrack(), and setelectronPreIDTrack().

float reco::PFTau::emFraction_
private

Definition at line 198 of file PFTau.h.

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

float reco::PFTau::hcal3x3OverPLead_
private

Definition at line 201 of file PFTau.h.

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

float reco::PFTau::hcalMaxOverPLead_
private

Definition at line 200 of file PFTau.h.

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

float reco::PFTau::hcalTotOverPLead_
private

Definition at line 199 of file PFTau.h.

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

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

Definition at line 194 of file PFTau.h.

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

std::vector<reco::RecoTauPiZero> reco::PFTau::isolationPiZeroCandidates_
mutableprivate

Definition at line 233 of file PFTau.h.

Referenced by isolationPiZeroCandidates().

RecoTauPiZeroRefVector reco::PFTau::isolationPiZeroCandidatesRefs_
private

Definition at line 229 of file PFTau.h.

Referenced by isolationPiZeroCandidates(), and setIsolationPiZeroCandidatesRefs().

reco::PFJetRef reco::PFTau::jetRef_
private

Definition at line 210 of file PFTau.h.

Referenced by jetRef(), and setjetRef().

PFCandidateRef reco::PFTau::leadPFCand_
private

Definition at line 213 of file PFTau.h.

Referenced by leadPFCand(), and setleadPFCand().

PFCandidateRef reco::PFTau::leadPFChargedHadrCand_
private

Definition at line 212 of file PFTau.h.

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

float reco::PFTau::leadPFChargedHadrCandsignedSipt_
private
PFCandidateRef reco::PFTau::leadPFNeutralCand_
private

Definition at line 213 of file PFTau.h.

Referenced by leadPFNeutralCand(), and setleadPFNeutralCand().

float reco::PFTau::maximumHCALPFClusterEt_
private

Definition at line 195 of file PFTau.h.

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

bool reco::PFTau::muonDecision_
private

Definition at line 188 of file PFTau.h.

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

PFTauTagInfoRef reco::PFTau::PFTauTagInfoRef_
private

Definition at line 211 of file PFTau.h.

Referenced by pfTauTagInfoRef(), and setpfTauTagInfoRef().

float reco::PFTau::segComp_
private

Definition at line 208 of file PFTau.h.

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

PFCandidateRefVector reco::PFTau::selectedIsolationPFCands_
private

Definition at line 223 of file PFTau.h.

Referenced by isolationPFCands(), and setisolationPFCands().

PFCandidateRefVector reco::PFTau::selectedIsolationPFChargedHadrCands_
private

Definition at line 223 of file PFTau.h.

Referenced by isolationPFChargedHadrCands(), and setisolationPFChargedHadrCands().

PFCandidateRefVector reco::PFTau::selectedIsolationPFGammaCands_
private

Definition at line 223 of file PFTau.h.

Referenced by isolationPFGammaCands(), and setisolationPFGammaCands().

PFCandidateRefVector reco::PFTau::selectedIsolationPFNeutrHadrCands_
private

Definition at line 223 of file PFTau.h.

Referenced by isolationPFNeutrHadrCands(), and setisolationPFNeutrHadrCands().

PFCandidateRefVector reco::PFTau::selectedSignalPFCands_
private

Definition at line 217 of file PFTau.h.

Referenced by setsignalPFCands(), and signalPFCands().

PFCandidateRefVector reco::PFTau::selectedSignalPFChargedHadrCands_
private

Definition at line 217 of file PFTau.h.

Referenced by setsignalPFChargedHadrCands(), and signalPFChargedHadrCands().

PFCandidateRefVector reco::PFTau::selectedSignalPFGammaCands_
private

Definition at line 217 of file PFTau.h.

Referenced by setsignalPFGammaCands(), and signalPFGammaCands().

PFCandidateRefVector reco::PFTau::selectedSignalPFNeutrHadrCands_
private

Definition at line 217 of file PFTau.h.

Referenced by setsignalPFNeutrHadrCands(), and signalPFNeutrHadrCands().

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

Definition at line 228 of file PFTau.h.

Referenced by setSignalPiZeroCandidatesRefs(), and signalPiZeroCandidates().