CMS 3D CMS Logo

TkTau.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<TauBxCollection>& tauCaloRef,
15  const edm::Ptr<L1TTTrackType>& trackPtr,
16  const edm::Ptr<L1TTTrackType>& trackPtr2,
17  const edm::Ptr<L1TTTrackType>& trackPtr3,
18  float tkisol)
19  : L1Candidate(p4),
20  tauCaloRef_(tauCaloRef),
21  trkPtr_(trackPtr),
22  trkPtr2_(trackPtr2),
23  trkPtr3_(trackPtr3),
24  TrkIsol_(tkisol)
25 
26 {
27  if (trkPtr_.isNonnull()) {
28  setTrkzVtx(trkPtr()->POCA().z());
29  }
30 }
edm::Ptr< L1TTTrackType > trkPtr_
Definition: TkTau.h:55
delete x;
Definition: CaloConfig.h:22
TkTau()
Definition: TkTau.cc:11
const edm::Ptr< L1TTTrackType > & trkPtr() const
Definition: TkTau.h:38
void setTrkzVtx(float TrkzVtx)
Definition: TkTau.h:48
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36