Main Page
Namespaces
Classes
Package Documentation
DataFormats
PatCandidates
src
TauPFEssential.cc
Go to the documentation of this file.
1
#include "
DataFormats/PatCandidates/interface/TauPFEssential.h
"
2
3
#include "
DataFormats/JetReco/interface/Jet.h
"
4
5
pat::tau::TauPFEssential::TauPFEssential
(
const
reco::PFTau
&
tau
) :
6
p4Jet_(
reco
::
Candidate
::
LorentzVector
()),
7
p4CorrJet_(
reco
::
Candidate
::
LorentzVector
()),
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.),
16
leadingTrackNormChi2_(1.
e
+3),
17
phiAtEcalEntrance_(0.),
18
etaAtEcalEntrance_(0.),
19
ecalEnergyLeadChargedHadrCand_(0.),
20
hcalEnergyLeadChargedHadrCand_(0.),
21
etaAtEcalEntranceLeadChargedCand_(0.),
22
ptLeadChargedCand_(0.),
23
emFraction_(0.)
24
{
25
if
( tau.
jetRef
().
isAvailable
() && tau.
jetRef
().
isNonnull
() ) {
// CV: add protection to ease transition to new CMSSW 4_2_x RecoTauTags
26
p4Jet_
= tau.
jetRef
()->p4();
27
}
28
}
TauPFEssential.h
edm::RefToBase::isAvailable
bool isAvailable() const
Definition:
RefToBase.h:114
funct::false
false
Definition:
Factorize.h:36
pat::tau::TauPFEssential::LorentzVector
math::PtEtaPhiMLorentzVectorF LorentzVector
Definition:
TauPFEssential.h:23
edm::RefToBase::isNonnull
bool isNonnull() const
Checks for non-null.
Definition:
RefToBase.h:340
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
pat::tau::TauPFEssential::p4Jet_
LorentzVector p4Jet_
Definition:
TauPFEssential.h:33
reco::PFTau::jetRef
const JetBaseRef & jetRef() const
Definition:
PFTau.cc:58
reco::PFTau
Definition:
PFTau.h:34
metsig::tau
Definition:
SignAlgoResolutions.h:40
Jet.h
configurableAnalysis::Candidate
char Candidate[]
Definition:
modules.cc:22
pat::tau::TauPFEssential::TauPFEssential
TauPFEssential()
Definition:
TauPFEssential.h:29
boostedTaus_cff.decayMode
decayMode
Definition:
boostedTaus_cff.py:27
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:44
Generated for CMSSW Reference Manual by
1.8.11