--- chewbacca/YodaProfiler/src/PamelaDBOperations.cpp 2008/11/04 15:48:27 1.8 +++ chewbacca/YodaProfiler/src/PamelaDBOperations.cpp 2008/11/04 17:11:41 1.9 @@ -660,7 +660,8 @@ UInt_t tjump = 50000; //UInt_t tjump = 100; while ( tjump > 0 ){ - pktlast = numeric_limits::max(); + // pktlast = numeric_limits::max(); + pktlast = chpktmax + 1; while ( PKT(pktlast) > PKT(chpktmax) && (Int_t)(nevent-1-it) >= 0 ){ if ( (Int_t)(nevent-1-it) >= 0 ){ T->GetEntry(nevent-1-it); @@ -693,7 +694,9 @@ tjump = 50000; //tjump = 100; while ( tjump > 0 ){ - pktlast = 0; + // pktlast = 0; + pktlast = chpktmin - 1; + if ( debug ) printf("LLlook for down %i %i %llu %llu \n",it,pktlast,PKT(pktlast),PKT(chpktmin)); while ( PKT(pktlast) < PKT(chpktmin) && it < (Int_t)nevent ){ if ( it < (Int_t)nevent ){ T->GetEntry(it);