5 |
// |
// |
6 |
#include <TSystem.h> |
#include <TSystem.h> |
7 |
// |
// |
8 |
|
#include <GLTables.h> |
9 |
#include <PamelaDBOperations.h> |
#include <PamelaDBOperations.h> |
10 |
#include <YodaProfilerVerl2.h> |
#include <YodaProfilerVerl2.h> |
11 |
// |
// |
54 |
printf(" -tle <file> ascii file containing TLE obtained from celestrak.org or space-track.org [default = no]\n"); |
printf(" -tle <file> ascii file containing TLE obtained from celestrak.org or space-track.org [default = no]\n"); |
55 |
printf("\n The order of input files and options does not matter. \n"); |
printf("\n The order of input files and options does not matter. \n"); |
56 |
printf("\n Example: \n"); |
printf("\n Example: \n"); |
57 |
printf(" YodaProfiler -yodaFile /path/to/raw/files/000_000_00000_cln2.pam -rawFile /path/to/filesfromyoda/000_000_00000_cln2.root -v \n\n"); |
printf(" YodaProfiler -yodaFile /path/to/raw/files/000_000_00000_cln2.root -rawFile /path/to/filesfromyoda/000_000_00000_cln2.pam -v \n\n"); |
58 |
}; |
}; |
59 |
// |
// |
60 |
int main(int numinp, char *inps[]){ |
int main(int numinp, char *inps[]){ |
280 |
// |
// |
281 |
// Start: |
// Start: |
282 |
// |
// |
283 |
|
GL_TABLES *glt = new GL_TABLES(host,user,password); |
284 |
|
// |
285 |
TString message; |
TString message; |
286 |
char *version = YodaProfilerInfo(false); |
char *version = YodaProfilerInfo(false); |
287 |
PamelaDBOperations *pamDB = 0; |
PamelaDBOperations *pamDB = 0; |
619 |
if ( beverbose ) printf(" 13 => Free objects and close SQL connection \n"); |
if ( beverbose ) printf(" 13 => Free objects and close SQL connection \n"); |
620 |
pamDB->Close(); |
pamDB->Close(); |
621 |
// |
// |
622 |
|
if ( debug ) printf(" Total number of queries through GLTABLES: %u \n",glt->GetNqueries()); |
623 |
|
delete glt; |
624 |
|
// |
625 |
printf("\n"); |
printf("\n"); |
626 |
printf(" Finished, exiting...\n"); |
printf(" Finished, exiting...\n"); |
627 |
printf("\n"); |
printf("\n"); |