]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixing error codes in AliTRDSaxHandler and comments in AliTRDCalDCSFEE
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 24 Feb 2010 09:28:12 +0000 (09:28 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 24 Feb 2010 09:28:12 +0000 (09:28 +0000)
TRD/AliTRDSaxHandler.cxx
TRD/Cal/AliTRDCalDCSFEE.cxx

index 76d7be4e699ea40493f27eec89b6dfc1097effdf..25592c67cee9d3af7d20c024a1e8d69a9a4f0f56 100644 (file)
@@ -231,7 +231,7 @@ void AliTRDSaxHandler::OnStartElement(const char *name, const TList *attributes)
       }\r
       if (CompareString(attribName, "roc") && CompareString(tagName, "ack")) {\r
        if (attribValue.Atoi() != fDCSFEEObj->GetDCSid())\r
-         fDCSFEEObj->SetStatusBit(3); // consistency check\r
+         fDCSFEEObj->SetStatusBit(4); // consistency check\r
       }\r
       if (CompareString(attribName, "rob") && CompareString(tagName, "ro-board") && (fInsideRstate == 1)) {\r
        fCurrentROB = attribValue.Atoi();\r
index ae9e9b632ec8a1750dbdc580b9448c04607f24bf..1d1a4c42ba85e14243fc4f3aff388ad2a6013358 100644 (file)
 ///////////////////////////////////////////////////////////////////////////////\r
 \r
 // fStatusBit:\r
-// 0: no errors\r
-// 1: ROC didn't respond even though it should have (was in good state)\r
-// 2: ROC was not in state CONFIGURED or STANDBY_INIT (most probably it in STANDBY)\r
-// 3: expected and received DCS-ID do not match. This is a serious communication error!\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
@@ -132,3 +132,4 @@ AliTRDCalDCSFEE::AliTRDCalDCSFEE(const char *name, const char *title)
   }\r
 }\r
 \r
+\r