517 |
dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
518 |
if( !dbc ) throw -2; |
if( !dbc ) throw -2; |
519 |
// |
// |
520 |
bool connect = dbc->IsConnected(); |
Bool_t connect = dbc->IsConnected(); |
521 |
// |
// |
522 |
if( !connect ) throw -2; |
if( !connect ) throw -2; |
523 |
// |
// |
726 |
case -113: message += " CALORIMETERLEVEL2 - No tracker event related to registry entry in Level2 file"; break; |
case -113: message += " CALORIMETERLEVEL2 - No tracker event related to registry entry in Level2 file"; break; |
727 |
case -114: message += " CALORIMETERLEVEL2 - Help called"; break; |
case -114: message += " CALORIMETERLEVEL2 - Help called"; break; |
728 |
case -115: message += " CALORIMETERLEVEL2 - No Calorimeter bad strip offline mask file"; break; |
case -115: message += " CALORIMETERLEVEL2 - No Calorimeter bad strip offline mask file"; break; |
729 |
|
case -116: message += " CALORIMETERLEVEL2 - DB connection problems"; break; |
730 |
// |
// |
731 |
case -200: message += " TRACKERLEVEL2 - LEVEL1 framework unknown (HBOOK/ROOT)"; break; |
case -200: message += " TRACKERLEVEL2 - LEVEL1 framework unknown (HBOOK/ROOT)"; break; |
732 |
case -201: message += " TRACKERLEVEL2 - LEVEL2 framework unknown (HBOOK/ROOT)"; break; |
case -201: message += " TRACKERLEVEL2 - LEVEL2 framework unknown (HBOOK/ROOT)"; break; |
749 |
case -302: message += " TOFLEVEL2 - No tracker tree in Level2 file"; break; |
case -302: message += " TOFLEVEL2 - No tracker tree in Level2 file"; break; |
750 |
case -303: message += " TOFLEVEL2 - No Tof branch in Level0 file"; break; |
case -303: message += " TOFLEVEL2 - No Tof branch in Level0 file"; break; |
751 |
case -313: message += " TOFLEVEL2 - No more tracker events in Level2 file"; break; |
case -313: message += " TOFLEVEL2 - No more tracker events in Level2 file"; break; |
752 |
|
case -314: message += " TOFLEVEL2 - DB connection problems"; break; |
753 |
// |
// |
754 |
case -401: message += " TRIGGERLEVEL2 - Cannot open file for writing"; break; |
case -401: message += " TRIGGERLEVEL2 - Cannot open file for writing"; break; |
755 |
case -402: message += " TRIGGERLEVEL2 - No Trigger branch in Level0 tree"; break; |
case -402: message += " TRIGGERLEVEL2 - No Trigger branch in Level0 tree"; break; |
756 |
|
case -403: message += " TRIGGERLEVEL2 - DB connection problems"; break; |
757 |
// |
// |
758 |
case -500: message += " S4LEVEL2 - No level2 file"; break; |
case -500: message += " S4LEVEL2 - No level2 file"; break; |
759 |
case -501: message += " S4LEVEL2 - Cannot open file for writing"; break; |
case -501: message += " S4LEVEL2 - Cannot open file for writing"; break; |
760 |
case -502: message += " S4LEVEL2 - No result from GL_S4_CALIB"; break; |
case -502: message += " S4LEVEL2 - No result from GL_S4_CALIB"; break; |
761 |
case -503: message += " S4LEVEL2 - No S4 branch in Level0 tree"; break; |
case -503: message += " S4LEVEL2 - No S4 branch in Level0 tree"; break; |
762 |
|
case -504: message += " S4LEVEL2 - DB connection problems"; break; |
763 |
// |
// |
764 |
case -600: message += " NDLEVEL2 - No level2 file"; break; |
case -600: message += " NDLEVEL2 - No level2 file"; break; |
765 |
case -601: message += " NDLEVEL2 - Cannot open file for writing"; break; |
case -601: message += " NDLEVEL2 - Cannot open file for writing"; break; |
766 |
case -603: message += " NDLEVEL2 - No S4Level2 branch in Level0 tree"; break; |
case -603: message += " NDLEVEL2 - No S4Level2 branch in Level0 tree"; break; |
767 |
|
case -604: message += " NDLEVEL2 - DB connection problems"; break; |
768 |
// |
// |
769 |
case -701: message += " ACLEVEL2 - Cannot open file for writing"; break; |
case -701: message += " ACLEVEL2 - Cannot open file for writing"; break; |
770 |
case -704: message += " ACLEVEL2 - No Anticounter branch in Level0 tree"; break; |
case -704: message += " ACLEVEL2 - No Anticounter branch in Level0 tree"; break; |
771 |
|
case -705: message += " ACLEVEL2 - DB connection problems"; break; |
772 |
// |
// |
773 |
case -800: message += " RUNINFO - No such run in the RunInfo list"; break; |
case -800: message += " RUNINFO - No such run in the RunInfo list"; break; |
774 |
case -801: message += " RUNINFO - No RunInfo tree in Level2 file"; break; |
case -801: message += " RUNINFO - No RunInfo tree in Level2 file"; break; |
777 |
case -804: message += " RUNINFO - Unknown detector"; break; |
case -804: message += " RUNINFO - Unknown detector"; break; |
778 |
case -805: message += " RUNINFO - Reprocessing data but no RunInfo tree in Level2 file"; break; |
case -805: message += " RUNINFO - Reprocessing data but no RunInfo tree in Level2 file"; break; |
779 |
case -806: message += " RUNINFO - Can not handle more than 500 runs"; break; |
case -806: message += " RUNINFO - Can not handle more than 500 runs"; break; |
780 |
// |
case -807: message += " RUNINFO - DB connection problems"; break; |
781 |
|
// |
782 |
default: message += "Unidentified error or warning"; break; |
default: message += "Unidentified error or warning"; break; |
783 |
}; |
}; |
784 |
printf("\n"); |
printf("\n"); |