]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/Cal/AliTRDCalDCSPTRCbb.h
a/ AliTRDCalibChamberStatus (in ProcessEvent the warning and in Check trying to fix...
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDCSPTRCbb.h
1 #ifndef AliTRDCALDCSPTRCBB_H
2 #define AliTRDCALDCSPTRCBB_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id: AliTRDCalDCSPTRCbb.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 AliTRDCalDCSPTRCbb : public TNamed {
19
20  public:
21
22   AliTRDCalDCSPTRCbb();
23   AliTRDCalDCSPTRCbb(const char *name, const char *title);
24   AliTRDCalDCSPTRCbb(const AliTRDCalDCSPTRCbb &);
25   virtual ~AliTRDCalDCSPTRCbb() { };
26
27   TString GetControlBoxSide()                         { return fSide;                         }
28   Int_t   GetControlBoxPrimary()                      { return fPrimary;                      }
29   
30   void    SetControlBoxSide(TString bs)               { fSide = bs;                           }
31   void    SetControlBoxPrimary(Int_t bp)              { fPrimary = bp;                        }
32   UInt_t  GetPreToNextCycles() const                  { return fPreToNextCycles;                         }
33   UInt_t  GetL0ToNextCycles() const                   { return fL0ToNextCycles;                         }
34   UInt_t  GetL1ToNextCycles() const                   { return fL1ToNextCycles;                         }
35   UInt_t  GetClkTtcexShifts() const                   { return fClkTtcexShifts;                         }
36   UInt_t  GetDisableGtuBusy() const                   { return fDisableGtuBusy;                         }
37   UInt_t  GetDisableSorEorBusy() const                { return fDisableSorEorBusy;                         }
38   UInt_t  GetScintEn() const                          { return fScintEn;                         }
39   UInt_t  GetLutAsPre() const                         { return fLutAsPre;                         }
40   UInt_t  GetCtpAsPre() const                         { return fCtpAsPre;                         }
41   UInt_t  GetL0En() const                             { return fL0En;                         }
42   UInt_t  GetL1En() const                             { return fL1En;                         }
43   UInt_t  GetLutL0ToCtpEn() const                     { return fLutL0ToCtpEn;                         }
44   UInt_t  GetLutPreToCtpEn() const                    { return fLutPreToCtpEn;                         }
45   UInt_t  GetSoftwTrigToCtpEn() const                 { return fSoftwTrigToCtpEn;                         }
46   UInt_t  GetL0Autogenerate() const                   { return fL0Autogenerate;                         }
47   UInt_t  GetL1Autogenerate() const                   { return fL1Autogenerate;                         }
48   UInt_t  GetChannelBDisable() const                  { return fChannelBDisable;                         }
49   UInt_t  GetTtcexClkDisable() const                  { return fTtcexClkDisable;                         }
50   UInt_t  GetPreAsL0En() const                        { return fPreAsL0En;                         }
51   UInt_t  GetNoTriggerToSm() const                    { return fNoTriggerToSm;                         }
52   UInt_t  GetSoftwTrigEn() const                      { return fSoftwTrigEn;                         }
53   UInt_t  GetSoftwTrigPattern() const                 { return fSoftwTrigPattern;                         }
54   UInt_t  GetSychrInput() const                       { return fSychrInput;                         }
55   UInt_t  GetRandomTriggerThr() const                 { return fRandomTriggerThr;                         }
56   UInt_t  GetPtChDelayCbA() const                     { return fPtChDelayCbA;                         }
57   UInt_t  GetPtChDelayCbC() const                     { return fPtChDelayCbC;                         }
58   UInt_t  GetPtChDelayGtu() const                     { return fPtChDelayGtu;                         }
59   UInt_t  GetPtChDelayT0() const                      { return fPtChDelayT0;                         }
60   UInt_t  GetPtChDelayT0() const                      { return fPtChDelayT0;                         }
61   UInt_t  GetPtChDelayT1() const                      { return fPtChDelayT1;                         }
62   UInt_t  GetPtChDelayT2() const                      { return fPtChDelayT2;                         }
63   UInt_t  GetPtChDelayT3() const                      { return fPtChDelayT3;                         }
64   UInt_t  GetPtChDelayT4() const                      { return fPtChDelayT4;                         }
65   UInt_t  GetPtChDelayT5() const                      { return fPtChDelayT5;                         }
66   UInt_t  GetPtChDelayT6() const                      { return fPtChDelayT6;                         }
67   UInt_t  GetPtChDelayT7() const                      { return fPtChDelayT7;                         }
68   UInt_t  GetClkLb() const                            { return fClkLb;                         }
69   UInt_t  GetClkHb() const                            { return fClkHb;                         }
70   UInt_t  GetPulseToSmLb() const                      { return fPulseToSmLb;                         }
71   UInt_t  GetPulseToSmHb() const                      { return fPulseToSmHb;                         }
72   UInt_t  GetDeadTimeLb() const                       { return fDeadTimeLb;                         }
73   UInt_t  GetDeadTimeHb() const                       { return fDeadTimeHb;                         }
74   UInt_t  GetPrePulsesLb() const                      { return fPrePulsesLb;                         }
75   UInt_t  GetPrePulsesHb() const                      { return fPrePulsesHb;                         }
76   UInt_t  GetL0CtpLb() const                          { return fL0CtpLb;                         }
77   UInt_t  GetL0CtpHb() const                          { return fL0CtpHb;                         }
78   UInt_t  GetL1CtpLb() const                          { return fL1CtpLb;                         }
79   UInt_t  GetL1CtpHb() const                          { return fL1CtpHb;                         }
80   UInt_t  GetL0LutLb() const                          { return fL0LutLb;                         }
81   UInt_t  GetL0LutHb() const                          { return fL0LutHb;                         }
82   UInt_t  GetNotTinToCtpPreLb() const                 { return fNotTinToCtpPreLb;                         }
83   UInt_t  GetNotTinToCtpPreHb() const                 { return fNotTinToCtpPreHb;                         }
84   UInt_t  GetPatternMatchCbALb() const                { return fPatternMatchCbALb;                         }
85   UInt_t  GetPatternMatchCbAHb() const                { return fPatternMatchCbAHb;                         }
86   UInt_t  GetPatternMatchCbCLb() const                { return fPatternMatchCbCLb;                         }
87   UInt_t  GetPatternMatchCbCHb() const                { return fPatternMatchCbCHb;                         }
88   UInt_t  GetPatternMatchCbTlmuLb() const             { return fPatternMatchCbTlmuLb;                         }
89   UInt_t  GetPatternMatchCbTlmuHb() const             { return fPatternMatchCbTlmuHb;                         }
90   UInt_t  GetTriggerSynchrLb() const                  { return fTriggerSynchrLb;                         }
91   UInt_t  GetTriggerSynchrHb() const                  { return fTriggerSynchrHb;                         }
92   UInt_t  GetTriggerToSmLb() const                    { return fTriggerToSmLb;                         }
93   UInt_t  GetTriggerToSmHb() const                    { return fTriggerToSmHb;                         }
94   UInt_t  GetPreLutLb() const                         { return fPreLutLb;                         }
95   UInt_t  GetPreLutHb() const                         { return fPreLutHb;                         }
96   UInt_t  GetMissingPreLb() const                     { return fMissingPreLb;                         }
97   UInt_t  GetMissingPreHb() const                     { return fMissingPreHb;                         }
98   UInt_t  GetUnnecessaryPreLb() const                 { return fUnnecessaryPreLb;                         }
99   UInt_t  GetUnnecessaryPreHb() const                 { return fUnnecessaryPreHb;                         }
100   
101   
102   void    SetPreToNextCycles(UInt_t ar)               { fPreToNextCycles = ar;                           }
103   void    SetL0ToNextCycles(UInt_t ar)                { fL0ToNextCycles = ar;                           }
104   void    SetL1ToNextCycles(UInt_t ar)                { fL1ToNextCycles = ar;                           }
105   void    SetClkTtcexShifts(UInt_t ar)                { fClkTtcexShifts = ar;                           }
106   void    SetDisableGtuBusy(UInt_t ar)                { fDisableGtuBusy = ar;                           }
107   void    SetDisableSorEorBusy(UInt_t ar)             { fDisableSorEorBusy = ar;                           }
108   void    SetScintEn(UInt_t ar)                       { fScintEn = ar;                           }
109   void    SetLutAsPre(UInt_t ar)                      { fLutAsPre = ar;                           }
110   void    SetCtpAsPre(UInt_t ar)                      { fCtpAsPre = ar;                           }
111   void    SetL0En(UInt_t ar)                          { fL0En = ar;                           }
112   void    SetL1En(UInt_t ar)                          { fL1En = ar;                           }
113   void    SetLutL0ToCtpEn(UInt_t ar)                  { fLutL0ToCtpEn = ar;                           }
114   void    SetLutPreToCtpEn(UInt_t ar)                 { fLutPreToCtpEn = ar;                           }
115   void    SetSoftwTrigToCtpEn(UInt_t ar)              { fSoftwTrigToCtpEn = ar;                           }
116   void    SetL0Autogenerate(UInt_t ar)                { fL0Autogenerate = ar;                           }
117   void    SetL1Autogenerate(UInt_t ar)                { fL1Autogenerate = ar;                           }
118   void    SetChannelBDisable(UInt_t ar)               { fChannelBDisable = ar;                           }
119   void    SetTtcexClkDisable(UInt_t ar)               { fTtcexClkDisable = ar;                           }
120   void    SetPreAsL0En(UInt_t ar)                     { fPreAsL0En = ar;                           }
121   void    SetNoTriggerToSm(UInt_t ar)                 { fNoTriggerToSm = ar;                           }
122   void    SetSoftwTrigEn(UInt_t ar)                   { fSoftwTrigEn = ar;                           }
123   void    SetSoftwTrigPattern(UInt_t ar)              { fSoftwTrigPattern = ar;                           }
124   void    SetSychrInput(UInt_t ar)                    { fSychrInput = ar;                           }
125   void    SetRandomTriggerThr(UInt_t ar)              { fRandomTriggerThr = ar;                           }
126   void    SetPtChDelayCbA(UInt_t ar)                  { fPtChDelayCbA = ar;                           }
127   void    SetPtChDelayCbC(UInt_t ar)                  { fPtChDelayCbC = ar;                           }
128   void    SetPtChDelayGtu(UInt_t ar)                  { fPtChDelayGtu = ar;                           }
129   void    SetPtChDelayT0(UInt_t ar)                   { fPtChDelayT0 = ar;                           }
130   void    SetPtChDelayT0(UInt_t ar)                   { fPtChDelayT0 = ar;                           }
131   void    SetPtChDelayT1(UInt_t ar)                   { fPtChDelayT1 = ar;                           }
132   void    SetPtChDelayT2(UInt_t ar)                   { fPtChDelayT2 = ar;                           }
133   void    SetPtChDelayT3(UInt_t ar)                   { fPtChDelayT3 = ar;                           }
134   void    SetPtChDelayT4(UInt_t ar)                   { fPtChDelayT4 = ar;                           }
135   void    SetPtChDelayT5(UInt_t ar)                   { fPtChDelayT5 = ar;                           }
136   void    SetPtChDelayT6(UInt_t ar)                   { fPtChDelayT6 = ar;                           }
137   void    SetPtChDelayT7(UInt_t ar)                   { fPtChDelayT7 = ar;                           }
138   void    SetClkLb(UInt_t ar)                         { fClkLb = ar;                           }
139   void    SetClkHb(UInt_t ar)                         { fClkHb = ar;                           }
140   void    SetPulseToSmLb(UInt_t ar)                   { fPulseToSmLb = ar;                           }
141   void    SetPulseToSmHb(UInt_t ar)                   { fPulseToSmHb = ar;                           }
142   void    SetDeadTimeLb(UInt_t ar)                    { fDeadTimeLb = ar;                           }
143   void    SetDeadTimeHb(UInt_t ar)                    { fDeadTimeHb = ar;                           }
144   void    SetPrePulsesLb(UInt_t ar)                   { fPrePulsesLb = ar;                           }
145   void    SetPrePulsesHb(UInt_t ar)                   { fPrePulsesHb = ar;                           }
146   void    SetL0CtpLb(UInt_t ar)                       { fL0CtpLb = ar;                           }
147   void    SetL0CtpHb(UInt_t ar)                       { fL0CtpHb = ar;                           }
148   void    SetL1CtpLb(UInt_t ar)                       { fL1CtpLb = ar;                           }
149   void    SetL1CtpHb(UInt_t ar)                       { fL1CtpHb = ar;                           }
150   void    SetL0LutLb(UInt_t ar)                       { fL0LutLb = ar;                           }
151   void    SetL0LutHb(UInt_t ar)                       { fL0LutHb = ar;                           }
152   void    SetNotTinToCtpPreLb(UInt_t ar)              { fNotTinToCtpPreLb = ar;                           }
153   void    SetNotTinToCtpPreHb(UInt_t ar)              { fNotTinToCtpPreHb = ar;                           }
154   void    SetPatternMatchCbALb(UInt_t ar)             { fPatternMatchCbALb = ar;                           }
155   void    SetPatternMatchCbAHb(UInt_t ar)             { fPatternMatchCbAHb = ar;                           }
156   void    SetPatternMatchCbCLb(UInt_t ar)             { fPatternMatchCbCLb = ar;                           }
157   void    SetPatternMatchCbCHb(UInt_t ar)             { fPatternMatchCbCHb = ar;                           }
158   void    SetPatternMatchCbTlmuLb(UInt_t ar)          { fPatternMatchCbTlmuLb = ar;                           }
159   void    SetPatternMatchCbTlmuHb(UInt_t ar)          { fPatternMatchCbTlmuHb = ar;                           }
160   void    SetTriggerSynchrLb(UInt_t ar)               { fTriggerSynchrLb = ar;                           }
161   void    SetTriggerSynchrHb(UInt_t ar)               { fTriggerSynchrHb = ar;                           }
162   void    SetTriggerToSmLb(UInt_t ar)                 { fTriggerToSmLb = ar;                           }
163   void    SetTriggerToSmHb(UInt_t ar)                 { fTriggerToSmHb = ar;                           }
164   void    SetPreLutLb(UInt_t ar)                      { fPreLutLb = ar;                           }
165   void    SetPreLutHb(UInt_t ar)                      { fPreLutHb = ar;                           }
166   void    SetMissingPreLb(UInt_t ar)                  { fMissingPreLb = ar;                           }
167   void    SetMissingPreHb(UInt_t ar)                  { fMissingPreHb = ar;                           }
168   void    SetUnnecessaryPreLb(UInt_t ar)              { fUnnecessaryPreLb = ar;                           }
169   void    SetUnnecessaryPreHb(UInt_t ar)              { fUnnecessaryPreHb = ar;                           }
170   
171   
172
173  protected:
174   TString fSide; // side of the control box, either A, B or C 
175   TInt_t  fPrimary; // 1 if its the primary control box, 2 for backup
176
177   UInt_t  fPreToNextCycles; // value from the PreToNextCycles tag in the pt box type CbB
178   UInt_t  fL0ToNextCycles; // value from the L0ToNextCycles tag in the pt box type CbB
179   UInt_t  fL1ToNextCycles; // value from the L1ToNextCycles tag in the pt box type CbB
180   UInt_t  fClkTtcexShifts; // value from the ClkTtcexShifts tag in the pt box type CbB
181   UInt_t  fDisableGtuBusy; // value from the DisableGtuBusy tag in the pt box type CbB
182   UInt_t  fDisableSorEorBusy; // value from the DisableSorEorBusy tag in the pt box type CbB
183   UInt_t  fScintEn; // value from the ScintEn tag in the pt box type CbB
184   UInt_t  fLutAsPre; // value from the LutAsPre tag in the pt box type CbB
185   UInt_t  fCtpAsPre; // value from the CtpAsPre tag in the pt box type CbB
186   UInt_t  fL0En; // value from the L0En tag in the pt box type CbB
187   UInt_t  fL1En; // value from the L1En tag in the pt box type CbB
188   UInt_t  fLutL0ToCtpEn; // value from the LutL0ToCtpEn tag in the pt box type CbB
189   UInt_t  fLutPreToCtpEn; // value from the LutPreToCtpEn tag in the pt box type CbB
190   UInt_t  fSoftwTrigToCtpEn; // value from the SoftwTrigToCtpEn tag in the pt box type CbB
191   UInt_t  fL0Autogenerate; // value from the L0Autogenerate tag in the pt box type CbB
192   UInt_t  fL1Autogenerate; // value from the L1Autogenerate tag in the pt box type CbB
193   UInt_t  fChannelBDisable; // value from the ChannelBDisable tag in the pt box type CbB
194   UInt_t  fTtcexClkDisable; // value from the TtcexClkDisable tag in the pt box type CbB
195   UInt_t  fPreAsL0En; // value from the PreAsL0En tag in the pt box type CbB
196   UInt_t  fNoTriggerToSm; // value from the NoTriggerToSm tag in the pt box type CbB
197   UInt_t  fSoftwTrigEn; // value from the SoftwTrigEn tag in the pt box type CbB
198   UInt_t  fSoftwTrigPattern; // value from the SoftwTrigPattern tag in the pt box type CbB
199   UInt_t  fSychrInput; // value from the SychrInput tag in the pt box type CbB
200   UInt_t  fRandomTriggerThr; // value from the RandomTriggerThr tag in the pt box type CbB
201   UInt_t  fPtChDelayCbA; // value from the PtChDelayCbA tag in the pt box type CbB
202   UInt_t  fPtChDelayCbC; // value from the PtChDelayCbC tag in the pt box type CbB
203   UInt_t  fPtChDelayGtu; // value from the PtChDelayGtu tag in the pt box type CbB
204   UInt_t  fPtChDelayT0; // value from the PtChDelayT0 tag in the pt box type CbB
205   UInt_t  fPtChDelayT0; // value from the PtChDelayT0 tag in the pt box type CbB
206   UInt_t  fPtChDelayT1; // value from the PtChDelayT1 tag in the pt box type CbB
207   UInt_t  fPtChDelayT2; // value from the PtChDelayT2 tag in the pt box type CbB
208   UInt_t  fPtChDelayT3; // value from the PtChDelayT3 tag in the pt box type CbB
209   UInt_t  fPtChDelayT4; // value from the PtChDelayT4 tag in the pt box type CbB
210   UInt_t  fPtChDelayT5; // value from the PtChDelayT5 tag in the pt box type CbB
211   UInt_t  fPtChDelayT6; // value from the PtChDelayT6 tag in the pt box type CbB
212   UInt_t  fPtChDelayT7; // value from the PtChDelayT7 tag in the pt box type CbB
213   UInt_t  fClkLb; // value from the Clk low bit tag in the pt box type CbB
214   UInt_t  fClkHb; // value from the Clk high bit tag in the pt box type CbB
215   UInt_t  fPulseToSmLb; // value from the PulseToSm low bit tag in the pt box type CbB
216   UInt_t  fPulseToSmHb; // value from the PulseToSm high bit tag in the pt box type CbB
217   UInt_t  fDeadTimeLb; // value from the DeadTime low bit tag in the pt box type CbB
218   UInt_t  fDeadTimeHb; // value from the DeadTime high bit tag in the pt box type CbB
219   UInt_t  fPrePulsesLb; // value from the PrePulses low bit tag in the pt box type CbB
220   UInt_t  fPrePulsesHb; // value from the PrePulses high bit tag in the pt box type CbB
221   UInt_t  fL0CtpLb; // value from the L0Ctp low bit tag in the pt box type CbB
222   UInt_t  fL0CtpHb; // value from the L0Ctp high bit tag in the pt box type CbB
223   UInt_t  fL1CtpLb; // value from the L1Ctp low bit tag in the pt box type CbB
224   UInt_t  fL1CtpHb; // value from the L1Ctp high bit tag in the pt box type CbB
225   UInt_t  fL0LutLb; // value from the L0Lut low bit tag in the pt box type CbB
226   UInt_t  fL0LutHb; // value from the L0Lut high bit tag in the pt box type CbB
227   UInt_t  fNotTinToCtpPreLb; // value from the NotTinToCtpPre low bit tag in the pt box type CbB
228   UInt_t  fNotTinToCtpPreHb; // value from the NotTinToCtpPre high bit tag in the pt box type CbB
229   UInt_t  fPatternMatchCbALb; // value from the PatternMatchCbA low bit tag in the pt box type CbB
230   UInt_t  fPatternMatchCbAHb; // value from the PatternMatchCbA high bit tag in the pt box type CbB
231   UInt_t  fPatternMatchCbCLb; // value from the PatternMatchCbC low bit tag in the pt box type CbB
232   UInt_t  fPatternMatchCbCHb; // value from the PatternMatchCbC high bit tag in the pt box type CbB
233   UInt_t  fPatternMatchCbTlmuLb; // value from the PatternMatchCbTlmu low bit tag in the pt box type CbB
234   UInt_t  fPatternMatchCbTlmuHb; // value from the PatternMatchCbTlmu high bit tag in the pt box type CbB
235   UInt_t  fTriggerSynchrLb; // value from the TriggerSynchr low bit tag in the pt box type CbB
236   UInt_t  fTriggerSynchrHb; // value from the TriggerSynchr high bit tag in the pt box type CbB
237   UInt_t  fTriggerToSmLb; // value from the TriggerToSm low bit tag in the pt box type CbB
238   UInt_t  fTriggerToSmHb; // value from the TriggerToSm high bit tag in the pt box type CbB
239   UInt_t  fPreLutLb; // value from the PreLut low bit tag in the pt box type CbB
240   UInt_t  fPreLutHb; // value from the PreLut high bit tag in the pt box type CbB
241   UInt_t  fMissingPreLb; // value from the MissingPre low bit tag in the pt box type CbB
242   UInt_t  fMissingPreHb; // value from the MissingPre high bit tag in the pt box type CbB
243   UInt_t  fUnnecessaryPreLb; // value from the UnnecessaryPre low bit tag in the pt box type CbB
244   UInt_t  fUnnecessaryPreHb; // value from the UnnecessaryPre high bit tag in the pt box type CbB
245
246
247   ClassDef(AliTRDCalDCSPTRCbb,1)      //  TRD calibration class for TRD GTU parameters
248
249 };
250 #endif