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_
 
float ecalEnergy_
 
float ecalEnergyLeadChargedHadrCand_
 
float emFraction_
 
float etaAtEcalEntrance_
 
float etaAtEcalEntranceLeadChargedCand_
 
Vector flightLength_
 
float flightLengthSig_
 
bool hasSV_
 
float hcalEnergy_
 
float hcalEnergyLeadChargedHadrCand_
 
float ip3d_
 
float ip3d_error_
 
float leadingTrackNormChi2_
 
LorentzVector p4CorrJet_
 
LorentzVector p4Jet_
 
float ptLeadChargedCand_
 
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  ip3d_(0.),
13  ip3d_error_(1.e+3),
14  ecalEnergy_(0.),
15  hcalEnergy_(0.),
22  emFraction_(0.)
23 {
24  if ( tau.jetRef().isAvailable() && tau.jetRef().isNonnull() ) { // CV: add protection to ease transition to new CMSSW 4_2_x RecoTauTags
25  p4Jet_ = tau.jetRef()->p4();
26  }
27 }
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.

float pat::tau::TauPFEssential::ecalEnergy_

Definition at line 53 of file TauPFEssential.h.

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

float pat::tau::TauPFEssential::ecalEnergyLeadChargedHadrCand_
float pat::tau::TauPFEssential::emFraction_

Definition at line 61 of file TauPFEssential.h.

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

float pat::tau::TauPFEssential::etaAtEcalEntrance_

Definition at line 56 of file TauPFEssential.h.

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

float pat::tau::TauPFEssential::etaAtEcalEntranceLeadChargedCand_
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().

float pat::tau::TauPFEssential::hcalEnergy_

Definition at line 54 of file TauPFEssential.h.

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

float pat::tau::TauPFEssential::hcalEnergyLeadChargedHadrCand_
float pat::tau::TauPFEssential::ip3d_

Definition at line 51 of file TauPFEssential.h.

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

float pat::tau::TauPFEssential::ip3d_error_

Definition at line 52 of file TauPFEssential.h.

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

float pat::tau::TauPFEssential::leadingTrackNormChi2_
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().

float pat::tau::TauPFEssential::ptLeadChargedCand_

Definition at line 60 of file TauPFEssential.h.

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

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