/[PAMELA software]/YodaProfiler/src/YodaProfiler.cpp
ViewVC logotype

Diff of /YodaProfiler/src/YodaProfiler.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by mocchiut, Mon Dec 4 11:32:07 2006 UTC revision 1.17 by mocchiut, Wed Jan 31 16:15:04 2007 UTC
# Line 5  Line 5 
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  //  //
# Line 53  void usage(){ Line 54  void usage(){
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[]){
# Line 279  int main(int numinp, char *inps[]){ Line 280  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;
# Line 616  int main(int numinp, char *inps[]){ Line 619  int main(int numinp, char *inps[]){
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");

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.23