CMS 3D CMS Logo

L1ScoutingMuon.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1Scouting_L1ScoutingMuon_h
2 #define DataFormats_L1Scouting_L1ScoutingMuon_h
3 
5 
6 namespace l1ScoutingRun3 {
7 
8  class Muon {
9  public:
10  Muon()
11  : hwPt_(0),
12  hwEta_(0),
13  hwPhi_(0),
14  hwQual_(0),
15  hwChrg_(0),
16  hwChrgv_(0),
17  hwIso_(0),
18  tfIndex_(0),
19  hwEtaAtVtx_(0),
20  hwPhiAtVtx_(0),
22  hwDXY_(0) {}
23 
24  Muon(int hwPt,
25  int hwEta,
26  int hwPhi,
27  int hwQual,
28  int hwChrg,
29  int hwChrgv,
30  int hwIso,
31  int tfIndex,
32  int hwEtaAtVtx,
33  int hwPhiAtVtx,
35  int hwDXY)
36  : hwPt_(hwPt),
37  hwEta_(hwEta),
38  hwPhi_(hwPhi),
39  hwQual_(hwQual),
40  hwChrg_(hwChrg),
41  hwChrgv_(hwChrgv),
42  hwIso_(hwIso),
43  tfIndex_(tfIndex),
47  hwDXY_(hwDXY) {}
48 
49  void setHwPt(int hwPt) { hwPt_ = hwPt; }
50  void setHwEta(int hwEta) { hwEta_ = hwEta; }
51  void setHwPhi(int hwPhi) { hwPhi_ = hwPhi; }
52  void setHwQual(int hwQual) { hwQual_ = hwQual; }
53  void setHwChrg(int hwChrg) { hwChrg_ = hwChrg; }
54  void setHwChrgv(int hwChrgv) { hwChrgv_ = hwChrgv; }
55  void setHwIso(int hwIso) { hwIso_ = hwIso; }
56  void setTfIndex(int tfIndex) { tfIndex_ = tfIndex; }
60  void setHwDXY(int hwDXY) { hwDXY_ = hwDXY; }
61 
62  int hwPt() const { return hwPt_; }
63  int hwEta() const { return hwEta_; }
64  int hwPhi() const { return hwPhi_; }
65  int hwQual() const { return hwQual_; }
66  int hwCharge() const { return hwChrg_; }
67  int hwChargeValid() const { return hwChrgv_; }
68  int hwIso() const { return hwIso_; }
69  int hwIndex() const { return tfIndex_; }
70  int hwEtaAtVtx() const { return hwEtaAtVtx_; }
71  int hwPhiAtVtx() const { return hwPhiAtVtx_; }
72  int hwPtUnconstrained() const { return hwPtUnconstrained_; }
73  int hwDXY() const { return hwDXY_; }
74  int tfMuonIndex() const { return tfIndex_; }
75 
76  private:
77  int hwPt_;
78  int hwEta_;
79  int hwPhi_;
80  int hwQual_;
81  int hwChrg_;
82  int hwChrgv_;
83  int hwIso_;
84  int tfIndex_;
88  int hwDXY_;
89  };
90 
92 
93 } // namespace l1ScoutingRun3
94 
95 #endif // DataFormats_L1Scouting_L1ScoutingMuon_h
void setTfIndex(int tfIndex)
void setHwPtUnconstrained(int hwPtUnconstrained)
int hwEtaAtVtx() const
void setHwDXY(int hwDXY)
void setHwPhiAtVtx(int hwPhiAtVtx)
int hwPhiAtVtx() const
Definition: Muon.py:1
void setHwEtaAtVtx(int hwEtaAtVtx)
void setHwChrgv(int hwChrgv)
Muon(int hwPt, int hwEta, int hwPhi, int hwQual, int hwChrg, int hwChrgv, int hwIso, int tfIndex, int hwEtaAtVtx, int hwPhiAtVtx, int hwPtUnconstrained, int hwDXY)
void setHwPt(int hwPt)
void setHwChrg(int hwChrg)
int tfMuonIndex() const
void setHwEta(int hwEta)
void setHwQual(int hwQual)
void setHwIso(int hwIso)
OrbitCollection< Muon > MuonOrbitCollection
void setHwPhi(int hwPhi)
int hwChargeValid() const
int hwPtUnconstrained() const