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

Diff of /YodaProfiler/src/PamelaDBOperations.cpp

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

revision 1.6 by mocchiut, Fri Sep 8 16:06:02 2006 UTC revision 1.7 by mocchiut, Mon Sep 11 14:04:51 2006 UTC
# Line 401  Int_t PamelaDBOperations::SetUpperLimits Line 401  Int_t PamelaDBOperations::SetUpperLimits
401      pkth = PKT(phh->GetCounter());      pkth = PKT(phh->GetCounter());
402      obth = OBT(phh->GetOrbitalTime());      obth = OBT(phh->GetOrbitalTime());
403      //      //
404      if ( IsDebug() ) printf(" k %i rhev before %i ph %u upperp %u oh %u uppero %u \n",k,rhev,pkth,spkth,obth,sobth);  //    if ( IsDebug() ) printf(" k %i rhev before %i ph %u upperp %u oh %u uppero %u \n",k,rhev,pkth,spkth,obth,sobth);
405      //      //
406      if ( pkth < spkth && obth < sobth ){      if ( pkth < spkth && obth < sobth ){
407        if ( IsDebug() ) printf(" RH PROBLEMS determining the event repetition at the end of the file lasthead %i  \n",rhev);        if ( IsDebug() ) printf(" RH PROBLEMS determining the event repetition at the end of the file lasthead %i  \n",rhev);
# Line 419  Int_t PamelaDBOperations::SetUpperLimits Line 419  Int_t PamelaDBOperations::SetUpperLimits
419          ph = eh->GetPscuHeader();          ph = eh->GetPscuHeader();
420          t_pktlast = PKT(ph->GetCounter());          t_pktlast = PKT(ph->GetCounter());
421          t_obtlast = OBT(ph->GetOrbitalTime());          t_obtlast = OBT(ph->GetOrbitalTime());
422          if ( t_pktlast < spkth && t_obtlast < sobth ){ // jump          if ( t_pktlast <= spkth && t_obtlast <= sobth ){ // jump
423            upperpkt = pkth;            upperpkt = pkth;
424            upperobt = obth;            upperobt = obth;
425            upperentry = evbefh-1;            upperentry = evbefh-1;
# Line 460  Int_t PamelaDBOperations::SetUpperLimits Line 460  Int_t PamelaDBOperations::SetUpperLimits
460      pktt = PKT(pht->GetCounter());      pktt = PKT(pht->GetCounter());
461      obtt = OBT(pht->GetOrbitalTime());      obtt = OBT(pht->GetOrbitalTime());
462      //      //
463      if ( IsDebug() ) printf(" k %i rtev beforev %i  pt %i upperp %i ot %llu uppero %llu \n",k,rtev,pktt,spktt,obtt,sobtt);  //    if ( IsDebug() ) printf(" k %i rtev beforev %i  pt %i upperp %i ot %llu uppero %llu \n",k,rtev,pktt,spktt,obtt,sobtt);
464      //      //
465      if ( pktt < spktt && obtt < sobtt ){      if ( pktt < spktt && obtt < sobtt ){
466        if ( IsDebug() ) printf(" RT PROBLEMS determining the event repetition at the end of the file lasttrail %i \n",rtev);        if ( IsDebug() ) printf(" RT PROBLEMS determining the event repetition at the end of the file lasttrail %i \n",rtev);
# Line 479  Int_t PamelaDBOperations::SetUpperLimits Line 479  Int_t PamelaDBOperations::SetUpperLimits
479          ph = eh->GetPscuHeader();          ph = eh->GetPscuHeader();
480          t_pktlast = PKT(ph->GetCounter());          t_pktlast = PKT(ph->GetCounter());
481          t_obtlast = OBT(ph->GetOrbitalTime());          t_obtlast = OBT(ph->GetOrbitalTime());
482          if ( t_pktlast < spktt && t_obtlast < sobtt ){ // jump          if ( t_pktlast <= spktt && t_obtlast <= sobtt ){ // jump
483            upperpkt = pktt;            upperpkt = pktt;
484            upperobt = obtt;            upperobt = obtt;
485            upperentry = evbeft-1;            upperentry = evbeft-1;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23