| 586 |
// |
// |
| 587 |
// Start: |
// Start: |
| 588 |
// |
// |
| 589 |
printf("\n Welcome to the PAMELA LEVEL2 flight software, version %s \n\n",version.Data()); |
printf("\n Welcome to the PAMELA LEVEL2 flight software, version %s (The Ultimate Warrior)\n\n",version.Data()); |
| 590 |
if ( run ) printf("\n Processing run number %u \n\n",run); |
if ( run ){ |
| 591 |
|
printf("\n Processing run number %u \n",run); |
| 592 |
|
} else { |
| 593 |
|
printf("\n Re-processing all runs?\n"); |
| 594 |
|
} |
| 595 |
// |
// |
| 596 |
// Connect to the DB |
// Connect to the DB |
| 597 |
// |
// |
| 609 |
glt = new GL_TABLES(host,user,psw); |
glt = new GL_TABLES(host,user,psw); |
| 610 |
//GL_TABLES *glt = new GL_TABLES(host,user,psw); |
//GL_TABLES *glt = new GL_TABLES(host,user,psw); |
| 611 |
// |
// |
| 612 |
|
printf("\n DB settings:\n SQL: %s Version: %s Host %s Port %i \n",dbc->GetDBMS(),dbc->ServerInfo(),dbc->GetHost(),dbc->GetPort()); |
| 613 |
|
printf(" DB %s --- User %s \n\n",host.Data(),user.Data()); |
| 614 |
if ( debug ) printf("\n DB INFORMATIONS:\n SQL: %s Version: %s Host %s Port %i \n\n",dbc->GetDBMS(),dbc->ServerInfo(),dbc->GetHost(),dbc->GetPort()); |
if ( debug ) printf("\n DB INFORMATIONS:\n SQL: %s Version: %s Host %s Port %i \n\n",dbc->GetDBMS(),dbc->ServerInfo(),dbc->GetHost(),dbc->GetPort()); |
| 615 |
// |
// |
| 616 |
// Use UTC in the DB |
// Use UTC in the DB |
| 1031 |
case -807: message += " RUNINFO - DB connection problems"; break; |
case -807: message += " RUNINFO - DB connection problems"; break; |
| 1032 |
// |
// |
| 1033 |
case -900: message += " OrbitalInfo - no ToF tree"; break; |
case -900: message += " OrbitalInfo - no ToF tree"; break; |
| 1034 |
|
case -901: message += " OrbitalInfo - Mismatch between tracker and tof tree branches concerning extended tracking algorithm(s)"; break; |
| 1035 |
// |
// |
| 1036 |
default: message += "Unidentified error or warning"; break; |
default: message += "Unidentified error or warning"; break; |
| 1037 |
}; |
}; |