CMS 3D CMS Logo

DTChambThSegm.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
11 //--------------------------------------------------
12 #ifndef DT_CHAMB_TH_SEGM_H
13 #define DT_CHAMB_TH_SEGM_H
14 
15 //------------------------------------
16 // Collaborating Class Declarations --
17 //------------------------------------
18 
19 //----------------------
20 // Base Class Headers --
21 //----------------------
28 
29 //---------------
30 // C++ Headers --
31 //---------------
32 
33 // ---------------------
34 // -- Class Interface --
35 // ---------------------
36 
37 typedef unsigned char myint8;
38 
39 class DTChambThSegm : public DTTrigData {
40 public:
42  DTChambThSegm(DTChamberId, int, int*, int*);
43 
45  DTChambThSegm(const DTChambThSegm& seg);
46 
48  ~DTChambThSegm() override;
49 
52 
54  void clear();
55 
57  inline int step() const { return m_step; }
58 
60  DTChamberId ChamberId() const override { return m_chamberid; }
61 
63  void print() const override;
64 
66  int code(const int i) const;
67 
69  int position(const int i) const;
70 
72  int quality(const int i) const;
73 
74 private:
77 
79  int m_step;
80 
84 };
85 
86 #endif
int step() const
Return step number.
Definition: DTChambThSegm.h:57
unsigned char myint8
Definition: DTChambThSegm.h:37
myint8 m_outQual[7]
Definition: DTChambThSegm.h:83
DTChambThSegm & operator=(const DTChambThSegm &seg)
Assignment operator.
int code(const int i) const
Return the code for a given set of 7 BTI.
int quality(const int i) const
Return the quality for a given set of 7 BTI.
DTChambThSegm(DTChamberId, int, int *, int *)
Constructor.
DTChamberId ChamberId() const override
Identifier of the associated chamber.
Definition: DTChambThSegm.h:60
myint8 m_outPos[7]
output code
Definition: DTChambThSegm.h:82
unsigned char myint8
int m_step
step number
Definition: DTChambThSegm.h:79
void print() const override
Print.
void clear()
Clear.
~DTChambThSegm() override
Destructor.
DTChamberId m_chamberid
parent chamber
Definition: DTChambThSegm.h:76
int position(const int i) const
Return the position for a given set of 7 BTI.