CMS 3D CMS Logo

TkGlbMuon.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: L1Trigger
4 // Class : TkGlbMuon
5 
7 
8 using namespace l1t;
9 
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 }
edm::Ptr< L1TTTrackType > trkPtr_
Definition: TkGlbMuon.h:59
delete x;
Definition: CaloConfig.h:22
const edm::Ptr< L1TTTrackType > & trkPtr() const
Definition: TkGlbMuon.h:33
void setTrkzVtx(float TrkzVtx)
Definition: TkGlbMuon.h:47
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36