Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-06-22 02:23:22

0001 #ifndef DataFormats_L1Scouting_L1ScoutingBMTFStub_h
0002 #define DataFormats_L1Scouting_L1ScoutingBMTFStub_h
0003 
0004 #include "DataFormats/L1Scouting/interface/OrbitCollection.h"
0005 
0006 namespace l1ScoutingRun3 {
0007 
0008   class BMTFStub {
0009   public:
0010     BMTFStub()
0011         : hwPhi_(0), hwPhiB_(0), hwQual_(0), hwEta_(0), hwQEta_(0), station_(0), wheel_(0), sector_(0), tag_(0) {}
0012 
0013     BMTFStub(int hwPhi, int hwPhiB, int hwQual, int hwEta, int hwQEta, int station, int wheel, int sector, int tag)
0014         : hwPhi_(hwPhi),
0015           hwPhiB_(hwPhiB),
0016           hwQual_(hwQual),
0017           hwEta_(hwEta),
0018           hwQEta_(hwQEta),
0019           station_(station),
0020           wheel_(wheel),
0021           sector_(sector),
0022           tag_(tag) {}
0023 
0024     void setHwPhi(int hwPhi) { hwPhi_ = hwPhi; }
0025     void setHwPhiB(int hwPhiB) { hwPhiB_ = hwPhiB; }
0026     void setHwQual(int hwQual) { hwQual_ = hwQual; }
0027     void setHwEta(int hwEta) { hwEta_ = hwEta; }
0028     void setHwQEta(int hwQEta) { hwQEta_ = hwQEta; }
0029     void setStation(int station) { station_ = station; }
0030     void setWheel(int wheel) { wheel_ = wheel; }
0031     void setSector(int sector) { sector_ = sector; }
0032     void setTag(int tag) { tag_ = tag; }
0033 
0034     int hwPhi() const { return hwPhi_; }
0035     int hwPhiB() const { return hwPhiB_; }
0036     int hwQual() const { return hwQual_; }
0037     int hwEta() const { return hwEta_; }
0038     int hwQEta() const { return hwQEta_; }
0039     int station() const { return station_; }
0040     int wheel() const { return wheel_; }
0041     int sector() const { return sector_; }
0042     int tag() const { return tag_; }
0043 
0044   private:
0045     int hwPhi_;
0046     int hwPhiB_;
0047     int hwQual_;
0048     int hwEta_;
0049     int hwQEta_;
0050     int station_;
0051     int wheel_;
0052     int sector_;
0053     int tag_;
0054   };
0055 
0056   typedef OrbitCollection<BMTFStub> BMTFStubOrbitCollection;
0057 
0058 }  // namespace l1ScoutingRun3
0059 
0060 #endif  //DataFormats_L1Scouting_L1ScoutingBMTFStub_h