CMS 3D CMS Logo

L1ScoutingBMTFStub.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1Scouting_L1ScoutingBMTFStub_h
2 #define DataFormats_L1Scouting_L1ScoutingBMTFStub_h
3 
5 
6 namespace l1ScoutingRun3 {
7 
8  class BMTFStub {
9  public:
11  : hwPhi_(0), hwPhiB_(0), hwQual_(0), hwEta_(0), hwQEta_(0), station_(0), wheel_(0), sector_(0), tag_(0) {}
12 
13  BMTFStub(int hwPhi, int hwPhiB, int hwQual, int hwEta, int hwQEta, int station, int wheel, int sector, int tag)
14  : hwPhi_(hwPhi),
15  hwPhiB_(hwPhiB),
16  hwQual_(hwQual),
17  hwEta_(hwEta),
18  hwQEta_(hwQEta),
20  wheel_(wheel),
21  sector_(sector),
22  tag_(tag) {}
23 
24  void setHwPhi(int hwPhi) { hwPhi_ = hwPhi; }
25  void setHwPhiB(int hwPhiB) { hwPhiB_ = hwPhiB; }
26  void setHwQual(int hwQual) { hwQual_ = hwQual; }
27  void setHwEta(int hwEta) { hwEta_ = hwEta; }
28  void setHwQEta(int hwQEta) { hwQEta_ = hwQEta; }
30  void setWheel(int wheel) { wheel_ = wheel; }
31  void setSector(int sector) { sector_ = sector; }
32  void setTag(int tag) { tag_ = tag; }
33 
34  int hwPhi() const { return hwPhi_; }
35  int hwPhiB() const { return hwPhiB_; }
36  int hwQual() const { return hwQual_; }
37  int hwEta() const { return hwEta_; }
38  int hwQEta() const { return hwQEta_; }
39  int station() const { return station_; }
40  int wheel() const { return wheel_; }
41  int sector() const { return sector_; }
42  int tag() const { return tag_; }
43 
44  private:
45  int hwPhi_;
46  int hwPhiB_;
47  int hwQual_;
48  int hwEta_;
49  int hwQEta_;
50  int station_;
51  int wheel_;
52  int sector_;
53  int tag_;
54  };
55 
57 
58 } // namespace l1ScoutingRun3
59 
60 #endif //DataFormats_L1Scouting_L1ScoutingBMTFStub_h
BMTFStub(int hwPhi, int hwPhiB, int hwQual, int hwEta, int hwQEta, int station, int wheel, int sector, int tag)
void setStation(int station)
OrbitCollection< BMTFStub > BMTFStubOrbitCollection