Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
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
}
edm::Ref::isAvailable
bool isAvailable() const
Definition:
Ref.h:614
TauPFEssential.h
edm::Ref::isNonnull
bool isNonnull() const
Checks for non-null.
Definition:
Ref.h:250
reco::PFTau::jetRef
const PFJetRef & jetRef() const
Definition:
PFTau.cc:58
pat::tau::TauPFEssential::LorentzVector
math::PtEtaPhiMLorentzVectorF LorentzVector
Definition:
TauPFEssential.h:23
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:106
pat::tau::TauPFEssential::p4Jet_
LorentzVector p4Jet_
Definition:
TauPFEssential.h:33
reco::PFTau
Definition:
PFTau.h:33
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
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
edm::false
volatile std::atomic< bool > shutdown_flag false
Definition:
UnixSignalHandlers.cc:22
Generated for CMSSW Reference Manual by
1.8.5