DataFormats
L1TCorrelator
src
TkTau.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: L1Trigger
4
// Class : TkEm
5
//
6
7
#include "
DataFormats/L1TCorrelator/interface/TkTau.h
"
8
9
using namespace
l1t
;
10
11
TkTau::TkTau
() {}
12
13
TkTau::TkTau
(
const
LorentzVector
& p4,
14
const
edm::Ref<TauBxCollection>
& tauCaloRef,
15
const
edm::Ptr<L1TTTrackType>
& trackPtr,
16
const
edm::Ptr<L1TTTrackType>
& trackPtr2,
17
const
edm::Ptr<L1TTTrackType>
& trackPtr3,
18
float
tkisol)
19
:
L1Candidate
(p4),
20
tauCaloRef_(tauCaloRef),
21
trkPtr_(trackPtr),
22
trkPtr2_(trackPtr2),
23
trkPtr3_(trackPtr3),
24
TrkIsol_(tkisol)
25
26
{
27
if
(
trkPtr_
.isNonnull()) {
28
setTrkzVtx
(
trkPtr
()->POCA().
z
());
29
}
30
}
l1t::TkTau::trkPtr_
edm::Ptr< L1TTTrackType > trkPtr_
Definition:
TkTau.h:55
edm::Ref< TauBxCollection >
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::TkTau::TkTau
TkTau()
Definition:
TkTau.cc:11
l1t::L1Candidate
Definition:
L1Candidate.h:15
l1t::TkTau::trkPtr
const edm::Ptr< L1TTTrackType > & trkPtr() const
Definition:
TkTau.h:38
edm::Ptr
Definition:
AssociationVector.h:31
l1t::TkTau::setTrkzVtx
void setTrkzVtx(float TrkzVtx)
Definition:
TkTau.h:48
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
DDAxes::z
TkTau.h
Generated for CMSSW Reference Manual by
1.8.14