CMS 3D CMS Logo

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