src
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::Ptr<L1Candidate>
& egCaloPtr,
15
const
edm::Ptr<L1TTTrackType>
& trackPtr,
16
float
tkisol)
17
:
TkEm
(p4, egCaloPtr, tkisol, -999), trkPtr_(trackPtr) {
18
if
(
trkPtr_
.isNonnull()) {
19
setTrkzVtx
(
trkPtr
()->POCA().
z
());
20
}
21
}
22
23
TkElectron::TkElectron
(
const
LorentzVector
& p4,
float
tkisol)
24
:
TkElectron
(p4,
edm
::Ptr<
L1Candidate
>(),
edm
::Ptr<
L1TTTrackType
>(), tkisol) {}
l1t::TkElectron::trkPtr_
edm::Ptr< L1TTTrackType > trkPtr_
Definition:
TkElectron.h:57
TkElectron.h
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::TkEm
Definition:
TkEm.h:23
l1t::L1Candidate
Definition:
L1Candidate.h:15
edm::Ptr
Definition:
AssociationVector.h:31
l1t::TkElectron::setTrkzVtx
void setTrkzVtx(float TrkzVtx)
Definition:
TkElectron.h:46
l1t::TkElectron::TkElectron
TkElectron()
Definition:
TkElectron.cc:11
l1t::TkElectron
Definition:
TkElectron.h:23
TTTrack
Class to store the L1 Track Trigger tracks.
Definition:
TTTrack.h:29
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
edm
HLT enums.
Definition:
AlignableModifier.h:19
l1t::TkElectron::trkPtr
const edm::Ptr< L1TTTrackType > & trkPtr() const
Definition:
TkElectron.h:39
DDAxes::z
Generated for CMSSW Reference Manual by
1.8.14