--- quicklook/tracker/flight/macros/FTrkQLook_EXPERT.cxx 2006/08/11 10:24:09 1.12 +++ quicklook/tracker/flight/macros/FTrkQLook_EXPERT.cxx 2006/08/11 15:20:56 1.13 @@ -145,6 +145,7 @@ // information about the RunHeader ULong64_t HOBT[neventH]; Int_t trk_cal_us[neventH]; + Int_t countnboot=1; for (Int_t vi=0; viGetPscuHeader(); HOBT[ev]= pH->GetOrbitalTime(); trk_cal_us[ev]=reh->TRK_CALIB_USED; + if((HOBT[ev]0) + countnboot+=1; } + countnboot+=2*(Int_t)nevent/MAXSTORAGE; + // printf("\ncountnboot=%d\n",countnboot); + // // other variables definitions @@ -174,8 +180,7 @@ Int_t tempt[tsize][5]; ULong64_t xt[tsize]; - Int_t countnboot=1; - Int_t cntpgtemp=0,cntpgdat=0,cntpgmag=0; + Int_t cntpgtemp=1,cntpgdat=0,cntpgmag=0; // // information about the temperatures for (Int_t ev=0; evRecords->At(j); xt[siztmp]=record->RECORD_OBT; if((xt[siztmp]0) - countnboot+=1; + cntpgtemp+=1; for (Int_t z = 0; z < 5; z++){ tempt[siztmp][z] = record->TEMPERATURES[z+1]; @@ -193,9 +198,6 @@ siztmp++; } } - cntpgtemp=countnboot; - countnboot+=2+(Int_t)nevent/MAXSTORAGE; - // printf("\ncountnboot=%d\n",countnboot); // // information about the entries for the magnetic field