end-of-line normalization
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDCSFEE.cxx
index 1d1a4c4..53b4b54 100644 (file)
-/**************************************************************************\r
- * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
- *                                                                        *\r
- * Author: The ALICE Off-line Project.                                    *\r
- * Contributors are mentioned in the code where appropriate.              *\r
- *                                                                        *\r
- * Permission to use, copy, modify and distribute this software and its   *\r
- * documentation strictly for non-commercial purposes is hereby granted   *\r
- * without fee, provided that the above copyright notice appears in all   *\r
- * copies and that both the copyright notice and this permission notice   *\r
- * appear in the supporting documentation. The authors make no claims     *\r
- * about the suitability of this software for any purpose. It is          *\r
- * provided "as is" without express or implied warranty.                  *\r
- **************************************************************************/\r
-\r
-/* $Id: AliTRDCalDCSFEE.cxx 18952 2007-06-08 11:36:12Z cblume $ */\r
-\r
-///////////////////////////////////////////////////////////////////////////////\r
-//                                                                           //\r
-//  TRD calibration class for TRD DCS FEE configuration parameters           //\r
-//                                                                           //\r
-///////////////////////////////////////////////////////////////////////////////\r
-\r
-// fStatusBit:\r
-// 0: no errors for that ROC\r
-// 1: ROC sent invalid or corrupted data. \r
-// 2: ROC was not in state CONFIGURED or STANDBY_INIT (most probably it was in STANDBY)\r
-// 3: No new data received from that ROC.\r
-// 4: DCS id from XML attributes <DCS> and <ack> and the one calculated from SM, S, L do not match\r
-// 5: ROC has not responded at all, most probably it was off.\r
-\r
-#include "AliTRDCalDCSFEE.h"\r
-\r
-ClassImp(AliTRDCalDCSFEE)\r
-  \r
-//_____________________________________________________________________________\r
-AliTRDCalDCSFEE::AliTRDCalDCSFEE()\r
-  :TNamed()\r
-  ,fStatusBit(0)\r
-  ,fDCSID(-1)\r
-  ,fSM(-1)\r
-  ,fStack(-1)\r
-  ,fLayer(-1)\r
-  ,fNumberOfTimeBins(-1)\r
-  ,fConfigTag(-1)\r
-  ,fSingleHitThres(-1)\r
-  ,fThrPdClsThres(-1)\r
-  ,fSelNoZS(-1)\r
-  ,fTCFilterWeight(-1)\r
-  ,fTCFilterShortDecPar(-1)\r
-  ,fTCFilterLongDecPar(-1)\r
-  ,fFastStatNoise(-1)\r
-  ,fGainTableRocType("")\r
-  ,fGainTableRocSerial(0)\r
-  ,fFilterType(0)\r
-  ,fReadoutParam(0)\r
-  ,fTestPattern(0)\r
-  ,fTrackletMode(0)\r
-  ,fTrackletDef(0)\r
-  ,fTriggerSetup(0)\r
-  ,fAddOptions(0) \r
-  ,fConfigName(0)\r
-  ,fConfigVersion(0)\r
-  ,fGainTableName("")\r
-  ,fGainTableDesc("")\r
-{\r
-  //\r
-  // AliTRDCalDCSFEE default constructor\r
-  //\r
-  for(Int_t i=0; i<fgkROB; i++) {\r
-    for(Int_t j=0; j<fgkMCM; j++) {\r
-      fRStateGSM[i][j]  = -1;\r
-      fRStateNI[i][j]   = -1;\r
-      fRStateEV[i][j]   = -1;\r
-      fRStatePTRG[i][j] = -1;\r
-      fGainTableAdcdac[i][j] = -1;\r
-      for(Int_t k=0; k<fgkADC; k++) {\r
-       fGainTableFgfn[i][j][k] = -1;\r
-       fGainTableFgan[i][j][k] = -1;\r
-      }\r
-    }\r
-  }\r
-}\r
-\r
-\r
-//_____________________________________________________________________________\r
-AliTRDCalDCSFEE::AliTRDCalDCSFEE(const char *name, const char *title)\r
-:TNamed(name,title)\r
-,fStatusBit(0)\r
-,fDCSID(-1)\r
-,fSM(-1)\r
-,fStack(-1)\r
-,fLayer(-1)\r
-,fNumberOfTimeBins(-1)\r
-,fConfigTag(-1)\r
-,fSingleHitThres(-1)\r
-,fThrPdClsThres(-1)\r
-,fSelNoZS(-1)\r
-,fTCFilterWeight(-1)\r
-,fTCFilterShortDecPar(-1)\r
-,fTCFilterLongDecPar(-1)\r
-,fFastStatNoise(-1)\r
-,fGainTableRocType("")\r
-,fGainTableRocSerial(0)\r
-,fFilterType(0)\r
-,fReadoutParam(0)\r
-,fTestPattern(0)\r
-,fTrackletMode(0)\r
-,fTrackletDef(0)\r
-,fTriggerSetup(0)\r
-,fAddOptions(0) \r
-,fConfigName(0)\r
-,fConfigVersion(0)\r
-,fGainTableName("")\r
-,fGainTableDesc("")\r
-{\r
-  //\r
-  // AliTRDCalDCSFEE constructor\r
-  //\r
-  for(Int_t i=0; i<fgkROB; i++) {\r
-    for(Int_t j=0; j<fgkMCM; j++) {\r
-      fRStateGSM[i][j]  = -1;\r
-      fRStateNI[i][j]   = -1;\r
-      fRStateEV[i][j]   = -1;\r
-      fRStatePTRG[i][j] = -1;\r
-      fGainTableAdcdac[i][j] = -1;\r
-      for(Int_t k=0; k<fgkADC; k++) {\r
-       fGainTableFgfn[i][j][k] = -1;\r
-       fGainTableFgan[i][j][k] = -1;\r
-      }\r
-    }\r
-  }\r
-}\r
-\r
-\r
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id: AliTRDCalDCSFEE.cxx 18952 2007-06-08 11:36:12Z cblume $ */
+
+///////////////////////////////////////////////////////////////////////////////
+//                                                                           //
+//  TRD calibration class for TRD DCS FEE configuration parameters           //
+//                                                                           //
+///////////////////////////////////////////////////////////////////////////////
+
+// fStatusBit:
+// 0: no errors for that ROC
+// 1: ROC sent invalid or corrupted data. 
+// 2: ROC was not in state CONFIGURED or STANDBY_INIT (most probably it was in STANDBY)
+// 3: No new data received from that ROC.
+// 4: DCS id from XML attributes <DCS> and <ack> and the one calculated from SM, S, L do not match
+// 5: ROC has not responded at all, most probably it was off.
+
+#include "AliTRDCalDCSFEE.h"
+
+ClassImp(AliTRDCalDCSFEE)
+  
+//_____________________________________________________________________________
+AliTRDCalDCSFEE::AliTRDCalDCSFEE()
+  :TNamed()
+  ,fStatusBit(0)
+  ,fDCSID(-1)
+  ,fSM(-1)
+  ,fStack(-1)
+  ,fLayer(-1)
+  ,fNumberOfTimeBins(-1)
+  ,fConfigTag(-1)
+  ,fSingleHitThres(-1)
+  ,fThrPdClsThres(-1)
+  ,fSelNoZS(-1)
+  ,fTCFilterWeight(-1)
+  ,fTCFilterShortDecPar(-1)
+  ,fTCFilterLongDecPar(-1)
+  ,fFastStatNoise(-1)
+  ,fGainTableRocType("")
+  ,fGainTableRocSerial(0)
+  ,fFilterType(0)
+  ,fReadoutParam(0)
+  ,fTestPattern(0)
+  ,fTrackletMode(0)
+  ,fTrackletDef(0)
+  ,fTriggerSetup(0)
+  ,fAddOptions(0) 
+  ,fConfigName(0)
+  ,fConfigVersion(0)
+  ,fGainTableName("")
+  ,fGainTableDesc("")
+{
+  //
+  // AliTRDCalDCSFEE default constructor
+  //
+  for(Int_t i=0; i<fgkROB; i++) {
+    for(Int_t j=0; j<fgkMCM; j++) {
+      fRStateGSM[i][j]  = -1;
+      fRStateNI[i][j]   = -1;
+      fRStateEV[i][j]   = -1;
+      fRStatePTRG[i][j] = -1;
+      fGainTableAdcdac[i][j] = -1;
+      for(Int_t k=0; k<fgkADC; k++) {
+       fGainTableFgfn[i][j][k] = -1;
+       fGainTableFgan[i][j][k] = -1;
+      }
+    }
+  }
+}
+
+
+//_____________________________________________________________________________
+AliTRDCalDCSFEE::AliTRDCalDCSFEE(const char *name, const char *title)
+:TNamed(name,title)
+,fStatusBit(0)
+,fDCSID(-1)
+,fSM(-1)
+,fStack(-1)
+,fLayer(-1)
+,fNumberOfTimeBins(-1)
+,fConfigTag(-1)
+,fSingleHitThres(-1)
+,fThrPdClsThres(-1)
+,fSelNoZS(-1)
+,fTCFilterWeight(-1)
+,fTCFilterShortDecPar(-1)
+,fTCFilterLongDecPar(-1)
+,fFastStatNoise(-1)
+,fGainTableRocType("")
+,fGainTableRocSerial(0)
+,fFilterType(0)
+,fReadoutParam(0)
+,fTestPattern(0)
+,fTrackletMode(0)
+,fTrackletDef(0)
+,fTriggerSetup(0)
+,fAddOptions(0) 
+,fConfigName(0)
+,fConfigVersion(0)
+,fGainTableName("")
+,fGainTableDesc("")
+{
+  //
+  // AliTRDCalDCSFEE constructor
+  //
+  for(Int_t i=0; i<fgkROB; i++) {
+    for(Int_t j=0; j<fgkMCM; j++) {
+      fRStateGSM[i][j]  = -1;
+      fRStateNI[i][j]   = -1;
+      fRStateEV[i][j]   = -1;
+      fRStatePTRG[i][j] = -1;
+      fGainTableAdcdac[i][j] = -1;
+      for(Int_t k=0; k<fgkADC; k++) {
+       fGainTableFgfn[i][j][k] = -1;
+       fGainTableFgan[i][j][k] = -1;
+      }
+    }
+  }
+}
+
+