CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
edm::Ptr< L1TTTrackType > trkPtr_
Definition: TkElectron.h:49
std::vector< L1TTTrackType > L1TTTrackCollection
Definition: TkElectron.h:27
const LorentzVector & p4() const final
four-momentum Lorentz vector
TTTrack< Ref_Phase2TrackerDigi_ > L1TTTrackType
Definition: TkElectron.h:26
Definition: TkEm.h:19
double trackCurvature() const
Definition: TkElectron.h:41
void setTrackCurvature(double trackCurvature)
Definition: TkElectron.h:46
double trackCurvature_
Definition: TkElectron.h:51
void setTrkzVtx(float TrkzVtx)
Definition: TkElectron.h:45
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:29
const edm::Ptr< L1TTTrackType > & trkPtr() const
Definition: TkElectron.h:38
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
float trkzVtx() const
Definition: TkElectron.h:40