/[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.25 by mocchiut, Wed Sep 5 15:34:49 2007 UTC revision 1.26 by mocchiut, Thu Oct 25 13:23:37 2007 UTC
# Line 407  int main(int numinp, char *inps[]){ Line 407  int main(int numinp, char *inps[]){
407        if ( beverbose ) printf(" 7 => Insert calorimeter calibrations in the GL_CALO_CALIB table\n");        if ( beverbose ) printf(" 7 => Insert calorimeter calibrations in the GL_CALO_CALIB table\n");
408        WAR[5] = pamDB->insertCALO_CALIB();        WAR[5] = pamDB->insertCALO_CALIB();
409        //-------------------------------------------------------------------------------------------            //-------------------------------------------------------------------------------------------    
410            
411          if ( !gpamela ){
412            //---------------------------------------------------------------------------------------------------------------------
413            //Insert in GL_CALOPULSE_CALIB calibration PULSE information records relative to a single unpack (only for real data!)
414            //---------------------------------------------------------------------------------------------------------------------
415            if ( beverbose ) printf(" 7b => Insert calorimeter pulse calibrations in the GL_CALOPULSE_CALIB table\n");
416            WAR[5] += pamDB->insertCALOPULSE_CALIB();
417            //-------------------------------------------------------------------------------------------    
418          };
419    
420        //-------------------------------------------------------------------------------------------        //-------------------------------------------------------------------------------------------
421        //Insert in GL_TRK_CALIB calibration information records relative to a single unpack        //Insert in GL_TRK_CALIB calibration information records relative to a single unpack
422        //-------------------------------------------------------------------------------------------        //-------------------------------------------------------------------------------------------
# Line 511  int main(int numinp, char *inps[]){ Line 520  int main(int numinp, char *inps[]){
520      case -27: message += " Cannot determine downlink orbit, wrong filename format?"; break;      case -27: message += " Cannot determine downlink orbit, wrong filename format?"; break;
521      case -28: message += " Cannot assign a RUN ID unique number!"; break;      case -28: message += " Cannot assign a RUN ID unique number!"; break;
522      case -29: message += " No VarDump and impossible to find a consistent BOOT number, use the -boot option to override"; break;      case -29: message += " No VarDump and impossible to find a consistent BOOT number, use the -boot option to override"; break;
523        case -30: message += " Old database selected, no GL_CALOPULSE_CALIB table in the DB!"; break;
524        case -31: message += " No CalibCalPulse1 tree in Level0 file"; break;
525        case -32: message += " No CalibCalPulse2 tree in Level0 file"; break;
526      default: message += " Unidentified error"; break;      default: message += " Unidentified error"; break;
527      };      };
528      printf("\n");      printf("\n");

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.23