]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/Cal/AliTRDCalDCSPTRCba.h
Be sure to load mapping when needed
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDCSPTRCba.h
1 #ifndef AliTRDCALDCSPTRCba_H
2 #define AliTRDCALDCSPTRCba_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id: AliTRDCalDCSPTRCba.h 18952 2007-06-08 11:36:12Z cblume $ */
7
8 ///////////////////////////////////////////////////////////////////////////////
9 //                                                                           //
10 //  TRD calibration class for TRD GTU configuration parameters               //
11 //                                                                           //
12 ///////////////////////////////////////////////////////////////////////////////
13
14 #include "TNamed.h"
15
16 class TString;
17
18 class AliTRDCalDCSPTRCba : public TNamed {
19
20  public:
21
22   AliTRDCalDCSPTRCba();
23   AliTRDCalDCSPTRCba(const char *name, const char *title);
24   AliTRDCalDCSPTRCba(const AliTRDCalDCSPTRCba &);
25   virtual ~AliTRDCalDCSPTRCba() { };
26
27   
28   UInt_t  GetChDelayT0() const                        { return fChDelayT0;                    }
29   UInt_t  GetChDelayV0() const                        { return fChDelayV0;                    }
30   UInt_t  GetChDelayV1() const                        { return fChDelayV1;                    }
31   UInt_t  GetChDelayV2() const                        { return fChDelayV2;                    }
32   UInt_t  GetChDelayV3() const                        { return fChDelayV3;                    }
33   UInt_t  GetChDisableT0() const                      { return fChDisableT0;                  }
34   UInt_t  GetChDisableV0() const                      { return fChDisableV0;                  }
35   UInt_t  GetChDisableV1() const                      { return fChDisableV1;                  }
36   UInt_t  GetChDisableV2() const                      { return fChDisableV2;                  }
37   UInt_t  GetChDisableV3() const                      { return fChDisableV3;                  }
38   
39   UInt_t  GetTo27ParralelLb() const                   { return fTo27ParralelLb;               }
40   UInt_t  GetTo27ParralelHb() const                   { return fTo27ParralelHb;               }
41   UInt_t  GetTo28ParralelLb() const                   { return fTo28ParralelLb;               }
42   UInt_t  GetTo28ParralelHb() const                   { return fTo28ParralelHb;               }
43   UInt_t  GetTo29ParralelLb() const                   { return fTo29ParralelLb;               }
44   UInt_t  GetTo29ParralelHb() const                   { return fTo29ParralelHb;               }
45   UInt_t  GetTo30ParralelLb() const                   { return fTo30ParralelLb;               }
46   UInt_t  GetTo30ParralelHb() const                   { return fTo30ParralelHb;               }
47   UInt_t  GetTo31ParralelLb() const                   { return fTo31ParralelLb;               }
48   UInt_t  GetTo31ParralelHb() const                   { return fTo31ParralelHb;               }
49   UInt_t  GetTo32ParralelLb() const                   { return fTo32ParralelLb;               }
50   UInt_t  GetTo32ParralelHb() const                   { return fTo32ParralelHb;               }
51   UInt_t  GetTo33ParralelLb() const                   { return fTo33ParralelLb;               }
52   UInt_t  GetTo33ParralelHb() const                   { return fTo33ParralelHb;               }
53   UInt_t  GetTo34ParralelLb() const                   { return fTo34ParralelLb;               }
54   UInt_t  GetTo34ParralelHb() const                   { return fTo34ParralelHb;               }
55   UInt_t  GetTo35ParralelLb() const                   { return fTo35ParralelLb;               }
56   UInt_t  GetTo35ParralelHb() const                   { return fTo35ParralelHb;               }
57   UInt_t  GetTo36ParralelLb() const                   { return fTo36ParralelLb;               }
58   UInt_t  GetTo36ParralelHb() const                   { return fTo36ParralelHb;               }
59   
60   UInt_t  GetClkLb() const                            { return fClkLb;                        }
61   UInt_t  GetClkHb() const                            { return fClkHb;                        }
62   
63   UInt_t  GetBitsToCbB42Lb() const                    { return fBitsToCbB42Lb;                }
64   UInt_t  GetBitsToCbB42Hb() const                    { return fBitsToCbB42Hb;                }
65   UInt_t  GetBitsToCbB43Lb() const                    { return fBitsToCbB43Lb;                }
66   UInt_t  GetBitsToCbB43Hb() const                    { return fBitsToCbB43Hb;                }
67   UInt_t  GetBitsToCbB44Lb() const                    { return fBitsToCbB44Lb;                }
68   UInt_t  GetBitsToCbB44Hb() const                    { return fBitsToCbB44Hb;                }
69   UInt_t  GetBitsToCbB45Lb() const                    { return fBitsToCbB45Lb;                }
70   UInt_t  GetBitsToCbB45Hb() const                    { return fBitsToCbB45Hb;                }
71   
72   TString GetControlBoxSide()                         { return fSide;                         }
73   Int_t   GetControlBoxPrimary()                      { return fPrimary;                      }
74
75   void    SetControlBoxSide(TString bs)               { fSide = bs;                           }
76   void    SetControlBoxPrimary(Int_t bp)              { fPrimary = bp;                        }
77   
78   void    SetClkLb(UInt_t cl)                         { fClkLb = cl;                          }
79   void    SetClkHb(UInt_t ch)                         { fClkHb = ch;                          }
80  
81   void    SetTo27ParralelHb(UInt_t tp)                { fTo27ParralelHb = tp;                 }                                            
82   void    SetTo27ParralelLb(UInt_t tp)                { fTo27ParralelLb = tp;                 }                                            
83   void    SetTo28ParralelHb(UInt_t tp)                { fTo28ParralelHb = tp;                 }                                            
84   void    SetTo28ParralelLb(UInt_t tp)                { fTo28ParralelLb = tp;                 }                                            
85   void    SetTo29ParralelHb(UInt_t tp)                { fTo29ParralelHb = tp;                 }                                            
86   void    SetTo29ParralelLb(UInt_t tp)                { fTo29ParralelLb = tp;                 }                                            
87   void    SetTo30ParralelHb(UInt_t tp)                { fTo30ParralelHb = tp;                 }                                            
88   void    SetTo30ParralelLb(UInt_t tp)                { fTo30ParralelLb = tp;                 }                                            
89   void    SetTo31ParralelHb(UInt_t tp)                { fTo31ParralelHb = tp;                 }                                            
90   void    SetTo31ParralelLb(UInt_t tp)                { fTo31ParralelLb = tp;                 }
91   void    SetTo32ParralelHb(UInt_t tp)                { fTo32ParralelHb = tp;                 }
92   void    SetTo32ParralelLb(UInt_t tp)                { fTo32ParralelLb = tp;                 }
93   void    SetTo33ParralelHb(UInt_t tp)                { fTo33ParralelHb = tp;                 }
94   void    SetTo33ParralelLb(UInt_t tp)                { fTo33ParralelLb = tp;                 }
95   void    SetTo34ParralelHb(UInt_t tp)                { fTo34ParralelHb = tp;                 }
96   void    SetTo34ParralelLb(UInt_t tp)                { fTo34ParralelLb = tp;                 }
97   void    SetTo35ParralelHb(UInt_t tp)                { fTo35ParralelHb = tp;                 }
98   void    SetTo35ParralelLb(UInt_t tp)                { fTo35ParralelLb = tp;                 }
99   void    SetTo36ParralelHb(UInt_t tp)                { fTo36ParralelHb = tp;                 }
100   void    SetTo36ParralelLb(UInt_t tp)                { fTo36ParralelLb = tp;                 }
101
102   void    SetBitsToCbB42Hb(UInt_t bc)                 { fBitsToCbB42Hb = bc;                  }
103   void    SetBitsToCbB42Lb(UInt_t bc)                 { fBitsToCbB42Lb = bc;                  }
104   void    SetBitsToCbB43Hb(UInt_t bc)                 { fBitsToCbB43Hb = bc;                  }
105   void    SetBitsToCbB43Lb(UInt_t bc)                 { fBitsToCbB43Lb = bc;                  }
106   void    SetBitsToCbB44Hb(UInt_t bc)                 { fBitsToCbB44Hb = bc;                  }
107   void    SetBitsToCbB44Lb(UInt_t bc)                 { fBitsToCbB44Lb = bc;                  }
108   void    SetBitsToCbB45Hb(UInt_t bc)                 { fBitsToCbB45Hb = bc;                  }
109   void    SetBitsToCbB45Lb(UInt_t bc)                 { fBitsToCbB45Lb = bc;                  }
110
111   void    SetChDelayT0(UInt_t cd)                     { fChDelayT0 = cd;                      }
112   void    SetChDelayV0(UInt_t cd)                     { fChDelayV0 = cd;                      }
113   void    SetChDelayV1(UInt_t cd)                     { fChDelayV1 = cd;                      }
114   void    SetChDelayV2(UInt_t cd)                     { fChDelayV2 = cd;                      }
115   void    SetChDelayV3(UInt_t cd)                     { fChDelayV3 = cd;                      }
116   void    SetChDisableT0(UInt_t cd)                   { fChDisableT0 = cd;                    }
117   void    SetChDisableV0(UInt_t cd)                   { fChDisableV0 = cd;                    }
118   void    SetChDisableV1(UInt_t cd)                   { fChDisableV1 = cd;                    }
119   void    SetChDisableV2(UInt_t cd)                   { fChDisableV2 = cd;                    }
120   void    SetChDisableV3(UInt_t cd)                   { fChDisableV3 = cd;                    }
121
122  protected:
123   TString fSide; // side of the control box, either A, B or C 
124   Int_t   fPrimary; // 1 if its the primary control box, 2 for backup
125
126   UInt_t  fChDelayT0; // value from the ChDelayT0 tag in the pt box type CbA
127   UInt_t  fChDelayV0; // value from the ChDelayV0 tag in the pt box type CbA
128   UInt_t  fChDelayV1; // value from the ChDelayV1 tag in the pt box type CbA
129   UInt_t  fChDelayV2; // value from the ChDelayV2 tag in the pt box type CbA
130   UInt_t  fChDelayV3; // value from the ChDelayV3 tag in the pt box type CbA
131   UInt_t  fChDisableT0; // value from the ChDisableT0 tag in the pt box type CbA
132   UInt_t  fChDisableV0; // value from the ChDisableV0 tag in the pt box type CbA
133   UInt_t  fChDisableV1; // value from the ChDisableV1 tag in the pt box type CbA
134   UInt_t  fChDisableV2; // value from the ChDisableV2 tag in the pt box type CbA
135   UInt_t  fChDisableV3; // value from the ChDisableV3 tag in the pt box type CbA
136   
137   UInt_t  fTo27ParralelLb; // value from the To27Parralel low bit tag in the pt box type CbA
138   UInt_t  fTo27ParralelHb; // value from the To27Parralel high bit tag in the pt box type CbA
139   UInt_t  fTo28ParralelLb; // value from the To28Parralel low bit tag in the pt box type CbA
140   UInt_t  fTo28ParralelHb; // value from the To28Parralel high bit tag in the pt box type CbA
141   UInt_t  fTo29ParralelLb; // value from the To29Parralel low bit tag in the pt box type CbA
142   UInt_t  fTo29ParralelHb; // value from the To29Parralel high bit tag in the pt box type CbA
143   UInt_t  fTo30ParralelLb; // value from the To30Parralel low bit tag in the pt box type CbA
144   UInt_t  fTo30ParralelHb; // value from the To30Parralel high bit tag in the pt box type CbA
145   UInt_t  fTo31ParralelLb; // value from the To31Parralel low bit tag in the pt box type CbA
146   UInt_t  fTo31ParralelHb; // value from the To31Parralel high bit tag in the pt box type CbA
147   UInt_t  fTo32ParralelLb; // value from the To32Parralel low bit tag in the pt box type CbA
148   UInt_t  fTo32ParralelHb; // value from the To32Parralel high bit tag in the pt box type CbA
149   UInt_t  fTo33ParralelLb; // value from the To33Parralel low bit tag in the pt box type CbA
150   UInt_t  fTo33ParralelHb; // value from the To33Parralel high bit tag in the pt box type CbA
151   UInt_t  fTo34ParralelLb; // value from the To34Parralel low bit tag in the pt box type CbA
152   UInt_t  fTo34ParralelHb; // value from the To34Parralel high bit tag in the pt box type CbA
153   UInt_t  fTo35ParralelLb; // value from the To35Parralel low bit tag in the pt box type CbA
154   UInt_t  fTo35ParralelHb; // value from the To35Parralel high bit tag in the pt box type CbA
155   UInt_t  fTo36ParralelLb; // value from the To36Parralel low bit tag in the pt box type CbA
156   UInt_t  fTo36ParralelHb; // value from the To36Parralel high bit tag in the pt box type CbA
157   
158   UInt_t  fClkLb; // value from the Clk low bit tag in the pt box type CbA
159   UInt_t  fClkHb; // value from the Clk high bit tag in the pt box type CbA
160   
161   UInt_t  fBitsToCbB42Lb; // value from the BitsToCbB42 low bit tag in the pt box type CbA
162   UInt_t  fBitsToCbB42Hb; // value from the BitsToCbB42 high bit tag in the pt box type CbA
163   UInt_t  fBitsToCbB43Lb; // value from the BitsToCbB43 low bit tag in the pt box type CbA
164   UInt_t  fBitsToCbB43Hb; // value from the BitsToCbB43 high bit tag in the pt box type CbA
165   UInt_t  fBitsToCbB44Lb; // value from the BitsToCbB44 low bit tag in the pt box type CbA
166   UInt_t  fBitsToCbB44Hb; // value from the BitsToCbB44 high bit tag in the pt box type CbA
167   UInt_t  fBitsToCbB45Lb; // value from the BitsToCbB45 low bit tag in the pt box type CbA
168   UInt_t  fBitsToCbB45Hb; // value from the BitsToCbB45 high bit tag in the pt box type CbA
169
170
171   ClassDef(AliTRDCalDCSPTRCba,1)      //  TRD calibration class for TRD GTU parameters
172
173 };
174 #endif