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
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
}
TauPFEssential.h
funct::false
false
Definition:
Factorize.h:29
pat::tau::TauPFEssential::LorentzVector
math::PtEtaPhiMLorentzVectorF LorentzVector
Definition:
TauPFEssential.h:24
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
pat::tau::TauPFEssential::p4Jet_
LorentzVector p4Jet_
Definition:
TauPFEssential.h:34
reco::PFTau
Definition:
PFTau.h:36
metsig::tau
Definition:
SignAlgoResolutions.h:49
Jet.h
configurableAnalysis::Candidate
char Candidate[]
Definition:
modules.cc:20
pat::tau::TauPFEssential::TauPFEssential
TauPFEssential()
Definition:
TauPFEssential.h:30
boostedTaus_cff.decayMode
decayMode
Definition:
boostedTaus_cff.py:31
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
Generated for CMSSW Reference Manual by
1.8.14