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