CMS 3D CMS Logo

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 phiAtEcalEntrance_
 
float ptLeadChargedCand_
 
reco::VertexRef pv_
 
CovMatrix pvCov_
 
Point pvPos_
 
reco::VertexRef sv_
 
CovMatrix svCov_
 
Point svPos_
 

Detailed Description

Definition at line 22 of file TauPFEssential.h.

Member Typedef Documentation

◆ CovMatrix

Definition at line 27 of file TauPFEssential.h.

◆ LorentzVector

Definition at line 24 of file TauPFEssential.h.

◆ Point

Definition at line 25 of file TauPFEssential.h.

◆ Vector

Definition at line 26 of file TauPFEssential.h.

Constructor & Destructor Documentation

◆ TauPFEssential() [1/2]

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

Definition at line 30 of file TauPFEssential.h.

30 {}

◆ TauPFEssential() [2/2]

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

Definition at line 5 of file TauPFEssential.cc.

References p4Jet_, and metsig::tau.

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.),
23  emFraction_(0.) {
24  if (tau.jetRef().isAvailable() &&
25  tau.jetRef().isNonnull()) { // CV: add protection to ease transition to new CMSSW 4_2_x RecoTauTags
26  p4Jet_ = tau.jetRef()->p4();
27  }
28 }
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36

Member Data Documentation

◆ decayMode_

int pat::tau::TauPFEssential::decayMode_

Definition at line 37 of file TauPFEssential.h.

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

◆ dxy_

float pat::tau::TauPFEssential::dxy_

Definition at line 40 of file TauPFEssential.h.

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

◆ dxy_error_

float pat::tau::TauPFEssential::dxy_error_

Definition at line 41 of file TauPFEssential.h.

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

◆ dxy_PCA_

Point pat::tau::TauPFEssential::dxy_PCA_

Definition at line 39 of file TauPFEssential.h.

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

◆ dxy_Sig_

float pat::tau::TauPFEssential::dxy_Sig_

Definition at line 42 of file TauPFEssential.h.

◆ ecalEnergy_

float pat::tau::TauPFEssential::ecalEnergy_

Definition at line 54 of file TauPFEssential.h.

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

◆ ecalEnergyLeadChargedHadrCand_

float pat::tau::TauPFEssential::ecalEnergyLeadChargedHadrCand_

◆ emFraction_

float pat::tau::TauPFEssential::emFraction_

Definition at line 63 of file TauPFEssential.h.

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

◆ etaAtEcalEntrance_

float pat::tau::TauPFEssential::etaAtEcalEntrance_

Definition at line 58 of file TauPFEssential.h.

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

◆ etaAtEcalEntranceLeadChargedCand_

float pat::tau::TauPFEssential::etaAtEcalEntranceLeadChargedCand_

◆ flightLength_

Vector pat::tau::TauPFEssential::flightLength_

Definition at line 47 of file TauPFEssential.h.

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

◆ flightLengthSig_

float pat::tau::TauPFEssential::flightLengthSig_

Definition at line 48 of file TauPFEssential.h.

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

◆ hasSV_

bool pat::tau::TauPFEssential::hasSV_

Definition at line 46 of file TauPFEssential.h.

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

◆ hcalEnergy_

float pat::tau::TauPFEssential::hcalEnergy_

Definition at line 55 of file TauPFEssential.h.

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

◆ hcalEnergyLeadChargedHadrCand_

float pat::tau::TauPFEssential::hcalEnergyLeadChargedHadrCand_

◆ ip3d_

float pat::tau::TauPFEssential::ip3d_

Definition at line 52 of file TauPFEssential.h.

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

◆ ip3d_error_

float pat::tau::TauPFEssential::ip3d_error_

Definition at line 53 of file TauPFEssential.h.

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

◆ leadingTrackNormChi2_

float pat::tau::TauPFEssential::leadingTrackNormChi2_

◆ p4CorrJet_

LorentzVector pat::tau::TauPFEssential::p4CorrJet_

Definition at line 35 of file TauPFEssential.h.

◆ p4Jet_

LorentzVector pat::tau::TauPFEssential::p4Jet_

Definition at line 34 of file TauPFEssential.h.

Referenced by TauPFEssential().

◆ phiAtEcalEntrance_

float pat::tau::TauPFEssential::phiAtEcalEntrance_

Definition at line 57 of file TauPFEssential.h.

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

◆ ptLeadChargedCand_

float pat::tau::TauPFEssential::ptLeadChargedCand_

Definition at line 62 of file TauPFEssential.h.

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

◆ pv_

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

Definition at line 43 of file TauPFEssential.h.

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

◆ pvCov_

CovMatrix pat::tau::TauPFEssential::pvCov_

Definition at line 45 of file TauPFEssential.h.

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

◆ pvPos_

Point pat::tau::TauPFEssential::pvPos_

Definition at line 44 of file TauPFEssential.h.

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

◆ sv_

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

Definition at line 49 of file TauPFEssential.h.

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

◆ svCov_

CovMatrix pat::tau::TauPFEssential::svCov_

Definition at line 51 of file TauPFEssential.h.

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

◆ svPos_

Point pat::tau::TauPFEssential::svPos_

Definition at line 50 of file TauPFEssential.h.

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