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 | Public Attributes
pat::tau::TauPFEssential Struct Reference

#include <TauPFEssential.h>

Public Types

typedef math::ErrorF< 3 >::type CovMatrix
 
typedef
math::PtEtaPhiMLorentzVectorF 
LorentzVector
 
typedef math::XYZPointF Point
 
typedef math::XYZVectorF Vector
 

Public Member Functions

 TauPFEssential ()
 
 TauPFEssential (const reco::PFTau &tau)
 

Public Attributes

int decayMode_
 
float dxy_
 
float dxy_error_
 
Point dxy_PCA_
 
float dxy_Sig_
 
Vector flightLength_
 
float flightLengthSig_
 
bool hasSV_
 
LorentzVector p4CorrJet_
 
LorentzVector p4Jet_
 
reco::VertexRef pv_
 
CovMatrix pvCov_
 
Point pvPos_
 
reco::VertexRef sv_
 
CovMatrix svCov_
 
Point svPos_
 

Detailed Description

Definition at line 21 of file TauPFEssential.h.

Member Typedef Documentation

Definition at line 26 of file TauPFEssential.h.

Definition at line 23 of file TauPFEssential.h.

Definition at line 24 of file TauPFEssential.h.

Definition at line 25 of file TauPFEssential.h.

Constructor & Destructor Documentation

pat::tau::TauPFEssential::TauPFEssential ( )
inline

Definition at line 29 of file TauPFEssential.h.

29 {}
pat::tau::TauPFEssential::TauPFEssential ( const reco::PFTau tau)

Definition at line 5 of file TauPFEssential.cc.

References edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), reco::PFTau::jetRef(), and p4Jet_.

5  :
8  decayMode_(tau.decayMode()),
9  dxy_(0.),
10  dxy_error_(1.e+3),
11  hasSV_(false)
12 {
13  if ( tau.jetRef().isAvailable() && tau.jetRef().isNonnull() ) { // CV: add protection to ease transition to new CMSSW 4_2_x RecoTauTags
14  p4Jet_ = tau.jetRef()->p4();
15  }
16 }
bool isAvailable() const
Definition: Ref.h:576
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:252
const PFJetRef & jetRef() const
Definition: PFTau.cc:58
hadronicDecayMode decayMode() const
Definition: PFTau.cc:212
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37

Member Data Documentation

int pat::tau::TauPFEssential::decayMode_

Definition at line 36 of file TauPFEssential.h.

Referenced by pat::Tau::decayMode().

float pat::tau::TauPFEssential::dxy_

Definition at line 39 of file TauPFEssential.h.

Referenced by pat::Tau::dxy(), and pat::PATTauProducer::produce().

float pat::tau::TauPFEssential::dxy_error_

Definition at line 40 of file TauPFEssential.h.

Referenced by pat::Tau::dxy_error(), and pat::PATTauProducer::produce().

Point pat::tau::TauPFEssential::dxy_PCA_

Definition at line 38 of file TauPFEssential.h.

Referenced by pat::Tau::dxy_PCA(), and pat::PATTauProducer::produce().

float pat::tau::TauPFEssential::dxy_Sig_

Definition at line 41 of file TauPFEssential.h.

Vector pat::tau::TauPFEssential::flightLength_

Definition at line 46 of file TauPFEssential.h.

Referenced by pat::Tau::flightLength(), and pat::PATTauProducer::produce().

float pat::tau::TauPFEssential::flightLengthSig_

Definition at line 47 of file TauPFEssential.h.

Referenced by pat::Tau::flightLengthSig(), and pat::PATTauProducer::produce().

bool pat::tau::TauPFEssential::hasSV_

Definition at line 45 of file TauPFEssential.h.

Referenced by pat::Tau::hasSecondaryVertex(), and pat::PATTauProducer::produce().

LorentzVector pat::tau::TauPFEssential::p4CorrJet_

Definition at line 34 of file TauPFEssential.h.

LorentzVector pat::tau::TauPFEssential::p4Jet_

Definition at line 33 of file TauPFEssential.h.

Referenced by TauPFEssential().

reco::VertexRef pat::tau::TauPFEssential::pv_

Definition at line 42 of file TauPFEssential.h.

Referenced by pat::Tau::primaryVertex().

CovMatrix pat::tau::TauPFEssential::pvCov_

Definition at line 44 of file TauPFEssential.h.

Referenced by pat::Tau::primaryVertexCov().

Point pat::tau::TauPFEssential::pvPos_

Definition at line 43 of file TauPFEssential.h.

Referenced by pat::Tau::primaryVertexPos().

reco::VertexRef pat::tau::TauPFEssential::sv_

Definition at line 48 of file TauPFEssential.h.

Referenced by pat::Tau::secondaryVertex().

CovMatrix pat::tau::TauPFEssential::svCov_

Definition at line 50 of file TauPFEssential.h.

Referenced by pat::Tau::secondaryVertexCov().

Point pat::tau::TauPFEssential::svPos_

Definition at line 49 of file TauPFEssential.h.

Referenced by pat::Tau::secondaryVertexPos().