CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
pat::tau::TauPFEssential Struct Reference

#include <TauPFEssential.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 21 of file TauPFEssential.h.

Constructor & Destructor Documentation

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

Definition at line 23 of file TauPFEssential.h.

23 {}
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:614
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:250
const PFJetRef & jetRef() const
Definition: PFTau.cc:54
hadronicDecayMode decayMode() const
Definition: PFTau.cc:178
reco::Candidate::LorentzVector p4Jet_
reco::Candidate::LorentzVector p4CorrJet_
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:41

Member Data Documentation

int pat::tau::TauPFEssential::decayMode_

Definition at line 30 of file TauPFEssential.h.

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

double pat::tau::TauPFEssential::dxy_

Definition at line 33 of file TauPFEssential.h.

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

double pat::tau::TauPFEssential::dxy_error_

Definition at line 34 of file TauPFEssential.h.

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

reco::PFTauTransverseImpactParameter::Point pat::tau::TauPFEssential::dxy_PCA_

Definition at line 32 of file TauPFEssential.h.

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

double pat::tau::TauPFEssential::dxy_Sig_

Definition at line 35 of file TauPFEssential.h.

reco::PFTauTransverseImpactParameter::Vector pat::tau::TauPFEssential::flightLength_

Definition at line 40 of file TauPFEssential.h.

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

double pat::tau::TauPFEssential::flightLengthSig_

Definition at line 41 of file TauPFEssential.h.

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

bool pat::tau::TauPFEssential::hasSV_

Definition at line 39 of file TauPFEssential.h.

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

reco::Candidate::LorentzVector pat::tau::TauPFEssential::p4CorrJet_

Definition at line 28 of file TauPFEssential.h.

reco::Candidate::LorentzVector pat::tau::TauPFEssential::p4Jet_

Definition at line 27 of file TauPFEssential.h.

Referenced by TauPFEssential().

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

Definition at line 36 of file TauPFEssential.h.

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

reco::PFTauTransverseImpactParameter::CovMatrix pat::tau::TauPFEssential::pvCov_

Definition at line 38 of file TauPFEssential.h.

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

reco::PFTauTransverseImpactParameter::Point pat::tau::TauPFEssential::pvPos_

Definition at line 37 of file TauPFEssential.h.

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

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

Definition at line 42 of file TauPFEssential.h.

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

reco::PFTauTransverseImpactParameter::CovMatrix pat::tau::TauPFEssential::svCov_

Definition at line 44 of file TauPFEssential.h.

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

reco::PFTauTransverseImpactParameter::Point pat::tau::TauPFEssential::svPos_

Definition at line 43 of file TauPFEssential.h.

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