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