CMS 3D CMS Logo

TkElectron.h
Go to the documentation of this file.
1 #ifndef DataFormatsL1TCorrelator_TkElectron_h
2 #define DataFormatsL1TCorrelator_TkElectron_h
3 
4 // -*- C++ -*-
5 //
6 // Package: L1Trigger
7 // Class : TkEm
8 //
9 
12 
14 
17 
19 
20 #include <vector>
21 
22 namespace l1t {
23 
24  class TkElectron : public TkEm {
25  public:
27  typedef std::vector<L1TTTrackType> L1TTTrackCollection;
28 
29  TkElectron();
30 
32  const edm::Ref<EGammaBxCollection>& egRef,
34  float tkisol = -999.);
35 
36  // ---------- const member functions ---------------------
37 
38  const edm::Ptr<L1TTTrackType>& trkPtr() const { return trkPtr_; }
39 
40  float trkzVtx() const { return trkzVtx_; }
41  double trackCurvature() const { return trackCurvature_; }
42 
43  // ---------- member functions ---------------------------
44 
45  void setTrkzVtx(float TrkzVtx) { trkzVtx_ = TrkzVtx; }
47 
48  private:
50  float trkzVtx_;
52  };
53 } // namespace l1t
54 #endif
l1t::TkElectron
Definition: TkElectron.h:24
TkEmFwd.h
l1t::TkElectron::trkzVtx_
float trkzVtx_
Definition: TkElectron.h:50
l1t::TkElectron::L1TTTrackCollection
std::vector< L1TTTrackType > L1TTTrackCollection
Definition: TkElectron.h:27
l1t::TkElectron::trkPtr_
edm::Ptr< L1TTTrackType > trkPtr_
Definition: TkElectron.h:49
TTTypes.h
TTTrack
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:29
l1t::TkElectron::trkzVtx
float trkzVtx() const
Definition: TkElectron.h:40
edm::Ref
Definition: AssociativeIterator.h:58
EGamma.h
l1t::TkElectron::trackCurvature_
double trackCurvature_
Definition: TkElectron.h:51
l1t::TkElectron::L1TTTrackType
TTTrack< Ref_Phase2TrackerDigi_ > L1TTTrackType
Definition: TkElectron.h:26
l1t::TkEm
Definition: TkEm.h:19
l1t
delete x;
Definition: CaloConfig.h:22
Ptr.h
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
l1t::TkElectron::TkElectron
TkElectron()
Definition: TkElectron.cc:11
TkEm.h
l1t::TkElectron::setTrkzVtx
void setTrkzVtx(float TrkzVtx)
Definition: TkElectron.h:45
l1t::TkElectron::trackCurvature
double trackCurvature() const
Definition: TkElectron.h:41
l1t::TkElectron::setTrackCurvature
void setTrackCurvature(double trackCurvature)
Definition: TkElectron.h:46
edm::Ptr
Definition: AssociationVector.h:31
Ref.h
l1t::TkElectron::trkPtr
const edm::Ptr< L1TTTrackType > & trkPtr() const
Definition: TkElectron.h:38
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36