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

Diff of /DarthVader/src/DarthVader.cpp

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

revision 1.12 by mocchiut, Tue Sep 12 13:51:35 2006 UTC revision 1.14 by mocchiut, Tue Nov 7 17:12:51 2006 UTC
# Line 493  int main(int numinp, char *inps[]){ Line 493  int main(int numinp, char *inps[]){
493      //      //
494      if ( debug ) printf("...connected! \n\n");      if ( debug ) printf("...connected! \n\n");
495      //      //
496        stringstream myquery;
497        myquery.str("");
498        myquery << "SET time_zone='+0:00'";
499        dbc->Query(myquery.str().c_str());
500        //
501        //
502      // Create LEVEL2 filename and open it in update mode      // Create LEVEL2 filename and open it in update mode
503      //      //
504      if ( filename.IsNull() ){      if ( filename.IsNull() ){
# Line 665  int main(int numinp, char *inps[]){ Line 671  int main(int numinp, char *inps[]){
671    }    }
672    //    //
673    switch(DVSGN){ // change message with printf!!    switch(DVSGN){ // change message with printf!!
674    case 16:  message += " No tracker in the acquisition\n"; break;    case 16:  printf(" No tracker in the acquisition\n");
675    case 17:  message += " No ToF in the acquisition\n"; break;    case 17:  printf(" No ToF in the acquisition\n");
676    case 18:  message += " No calorimeter in the acquisition\n"; break;    case 18:  printf(" No calorimeter in the acquisition\n");
677    case 19:  message += " No anticounters in the acquisition\n"; break;    case 19:  printf(" No anticounters in the acquisition\n");
678    case 20:  message += " No S4 in the acquisition\n"; break;    case 20:  printf(" No S4 in the acquisition\n");
679    case 21:  message += " No neutron detector in the acquisition\n"; break;    case 21:  printf(" No neutron detector in the acquisition\n");
680    };    };
681    //    //
682    //  switch(RUNSGN){    //  switch(RUNSGN){
683    //  };    //  };
684    switch(CALSGN){    switch(CALSGN){
685    case 100: printf("\n WARNING CALORIMETER - Data with no associated calibration\n"); break;    case 100: printf("\n WARNING CALORIMETER - Data with no associated calibration\n");
686    case 101: printf("\n WARNING CALORIMETER - No tracks or good events in this run\n"); break;    case 101: printf("\n WARNING CALORIMETER - No tracks or good events in this run\n");
687    };    };
688    //    //
689    // Close the DB connection    // Close the DB connection

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.23