CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTChambThSegm.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
13 //--------------------------------------------------
14 #ifndef DT_CHAMB_TH_SEGM_H
15 #define DT_CHAMB_TH_SEGM_H
16 
17 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
20 
21 //----------------------
22 // Base Class Headers --
23 //----------------------
30 
31 //---------------
32 // C++ Headers --
33 //---------------
34 
35 
36 // ---------------------
37 // -- Class Interface --
38 // ---------------------
39 
40 typedef unsigned char myint8;
41 
42 class DTChambThSegm : public DTTrigData {
43 
44  public:
45 
47  DTChambThSegm(DTChamberId,int,int*,int*);
48 
50  DTChambThSegm(const DTChambThSegm& seg);
51 
54 
57 
59  void clear();
60 
62  inline int step() const { return m_step; }
63 
65  DTChamberId ChamberId() const { return m_chamberid; }
66 
68  void print() const;
69 
71  int code(const int i) const;
72 
74  int position(const int i) const;
75 
77  int quality(const int i) const;
78 
79  private:
80 
83 
85  int m_step;
86 
90 
91 };
92 
93 #endif
~DTChambThSegm()
Destructor.
int i
Definition: DBlmapReader.cc:9
int step() const
Return step number.
Definition: DTChambThSegm.h:62
int quality(const int i) const
Return the quality for a given set of 7 BTI.
myint8 m_outQual[7]
Definition: DTChambThSegm.h:89
DTChambThSegm & operator=(const DTChambThSegm &seg)
Assignment operator.
void print() const
Print.
int position(const int i) const
Return the position for a given set of 7 BTI.
DTChamberId ChamberId() const
Identifier of the associated chamber.
Definition: DTChambThSegm.h:65
DTChambThSegm(DTChamberId, int, int *, int *)
Constructor.
myint8 m_outPos[7]
output code
Definition: DTChambThSegm.h:88
unsigned char myint8
int m_step
step number
Definition: DTChambThSegm.h:85
int code(const int i) const
Return the code for a given set of 7 BTI.
void clear()
Clear.
DTChamberId m_chamberid
parent chamber
Definition: DTChambThSegm.h:82