File indexing completed on 2024-04-06 12:19:50
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef DT_CHAMB_TH_SEGM_H
0013 #define DT_CHAMB_TH_SEGM_H
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include "DataFormats/MuonDetId/interface/DTChamberId.h"
0023 #include "DataFormats/MuonDetId/interface/DTSuperLayerId.h"
0024 #include "DataFormats/MuonDetId/interface/DTLayerId.h"
0025 #include "DataFormats/MuonDetId/interface/DTWireId.h"
0026 #include "L1TriggerConfig/DTTPGConfig/interface/BitArray.h"
0027 #include "L1Trigger/DTUtilities/interface/DTTrigData.h"
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037 typedef unsigned char myint8;
0038
0039 class DTChambThSegm : public DTTrigData {
0040 public:
0041
0042 DTChambThSegm(DTChamberId, int, int*, int*);
0043
0044
0045 DTChambThSegm(const DTChambThSegm& seg);
0046
0047
0048 ~DTChambThSegm() override;
0049
0050
0051 DTChambThSegm& operator=(const DTChambThSegm& seg);
0052
0053
0054 void clear();
0055
0056
0057 inline int step() const { return m_step; }
0058
0059
0060 DTChamberId ChamberId() const override { return m_chamberid; }
0061
0062
0063 void print() const override;
0064
0065
0066 int code(const int i) const;
0067
0068
0069 int position(const int i) const;
0070
0071
0072 int quality(const int i) const;
0073
0074 private:
0075
0076 DTChamberId m_chamberid;
0077
0078
0079 int m_step;
0080
0081
0082 myint8 m_outPos[7];
0083 myint8 m_outQual[7];
0084 };
0085
0086 #endif