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 // ---------------------
35 // -- Class Interface --
36 // ---------------------
37 
38 typedef unsigned char myint8;
39 
40 class DTChambThSegm : public DTTrigData {
41 
42  public:
43 
45  DTChambThSegm(DTChamberId,int,int*,int*);
46 
48  DTChambThSegm(const DTChambThSegm& seg);
49 
51  ~DTChambThSegm() override;
52 
55 
57  void clear();
58 
60  inline int step() const { return m_step; }
61 
63  DTChamberId ChamberId() const override { return m_chamberid; }
64 
66  void print() const override;
67 
69  int code(const int i) const;
70 
72  int position(const int i) const;
73 
75  int quality(const int i) const;
76 
77  private:
78 
81 
83  int m_step;
84 
88 
89 };
90 
91 #endif
int step() const
Return step number.
Definition: DTChambThSegm.h:60
int quality(const int i) const
Return the quality for a given set of 7 BTI.
unsigned char myint8
Definition: DTChambThSegm.h:38
myint8 m_outQual[7]
Definition: DTChambThSegm.h:87
DTChambThSegm & operator=(const DTChambThSegm &seg)
Assignment operator.
void print() const override
Print.
int position(const int i) const
Return the position for a given set of 7 BTI.
DTChambThSegm(DTChamberId, int, int *, int *)
Constructor.
myint8 m_outPos[7]
output code
Definition: DTChambThSegm.h:86
unsigned char myint8
int m_step
step number
Definition: DTChambThSegm.h:83
int code(const int i) const
Return the code for a given set of 7 BTI.
DTChamberId ChamberId() const override
Identifier of the associated chamber.
Definition: DTChambThSegm.h:63
void clear()
Clear.
~DTChambThSegm() override
Destructor.
DTChamberId m_chamberid
parent chamber
Definition: DTChambThSegm.h:80