1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 /* $Id: AliTRDCalDCSFEE.cxx 18952 2007-06-08 11:36:12Z cblume $ */
18 ///////////////////////////////////////////////////////////////////////////////
20 // TRD calibration class for TRD DCS FEE configuration parameters //
22 ///////////////////////////////////////////////////////////////////////////////
25 // 0: no errors for that ROC
26 // 1: ROC sent invalid or corrupted data.
27 // 2: ROC was not in state CONFIGURED or STANDBY_INIT (most probably it was in STANDBY)
28 // 3: No new data received from that ROC.
29 // 4: DCS id from XML attributes <DCS> and <ack> and the one calculated from SM, S, L do not match
30 // 5: ROC has not responded at all, most probably it was off.
32 #include "AliTRDCalDCSFEE.h"
34 ClassImp(AliTRDCalDCSFEE)
36 //_____________________________________________________________________________
37 AliTRDCalDCSFEE::AliTRDCalDCSFEE()
44 ,fNumberOfTimeBins(-1)
50 ,fTCFilterShortDecPar(-1)
51 ,fTCFilterLongDecPar(-1)
53 ,fGainTableRocType("")
54 ,fGainTableRocSerial(0)
68 // AliTRDCalDCSFEE default constructor
70 for(Int_t i=0; i<fgkROB; i++) {
71 for(Int_t j=0; j<fgkMCM; j++) {
72 fRStateGSM[i][j] = -1;
75 fRStatePTRG[i][j] = -1;
76 fGainTableAdcdac[i][j] = -1;
77 for(Int_t k=0; k<fgkADC; k++) {
78 fGainTableFgfn[i][j][k] = -1;
79 fGainTableFgan[i][j][k] = -1;
86 //_____________________________________________________________________________
87 AliTRDCalDCSFEE::AliTRDCalDCSFEE(const char *name, const char *title)
94 ,fNumberOfTimeBins(-1)
100 ,fTCFilterShortDecPar(-1)
101 ,fTCFilterLongDecPar(-1)
103 ,fGainTableRocType("")
104 ,fGainTableRocSerial(0)
118 // AliTRDCalDCSFEE constructor
120 for(Int_t i=0; i<fgkROB; i++) {
121 for(Int_t j=0; j<fgkMCM; j++) {
122 fRStateGSM[i][j] = -1;
123 fRStateNI[i][j] = -1;
124 fRStateEV[i][j] = -1;
125 fRStatePTRG[i][j] = -1;
126 fGainTableAdcdac[i][j] = -1;
127 for(Int_t k=0; k<fgkADC; k++) {
128 fGainTableFgfn[i][j][k] = -1;
129 fGainTableFgan[i][j][k] = -1;