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