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

Diff of /chewbacca/YodaProfiler/src/PamelaDBOperations.cpp

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

revision 1.36 by mocchiut, Wed Apr 10 11:29:38 2013 UTC revision 1.37 by emocchiutti, Fri Apr 4 14:11:24 2014 UTC
# Line 2976  void PamelaDBOperations::HandleRunFragme Line 2976  void PamelaDBOperations::HandleRunFragme
2976          if ( IsDebug() ) printf(" here firstev is %i lastev is %i \n",firstev,lastev);          if ( IsDebug() ) printf(" here firstev is %i lastev is %i \n",firstev,lastev);
2977          //          //
2978          glrun->SetEV_FROM(firstev);          glrun->SetEV_FROM(firstev);
2979            glrun->SetEV_TO(lastev); // EM 10 RED ghost run bug
2980          glrun->SetNEVENTS(lastev-firstev+1);          glrun->SetNEVENTS(lastev-firstev+1);
2981          //          //
2982          glrun->SetRUNHEADER_TIME(glrun1->GetRUNHEADER_TIME());          glrun->SetRUNHEADER_TIME(glrun1->GetRUNHEADER_TIME());
# Line 3171  void PamelaDBOperations::HandleRunFragme Line 3172  void PamelaDBOperations::HandleRunFragme
3172          };          };
3173          if ( IsDebug() ) printf(" Check overlapping events done: %u %u %llu %llu lastev is %i\n",apkt,bpkt,aobt,bobt,lastev);          if ( IsDebug() ) printf(" Check overlapping events done: %u %u %llu %llu lastev is %i\n",apkt,bpkt,aobt,bobt,lastev);
3174          //          //
3175            glrun->SetEV_FROM(firstev); // EM 10RED ghost run bug
3176          glrun->SetEV_TO(lastev);          glrun->SetEV_TO(lastev);
3177          glrun->SetNEVENTS(lastev-firstev+1);          glrun->SetNEVENTS(lastev-firstev+1);
3178          glrun->SetPKT_COUNTER(glrun1->GetPKT_COUNTER());          glrun->SetPKT_COUNTER(glrun1->GetPKT_COUNTER());
# Line 4013  Bool_t PamelaDBOperations::IsRunConsiste Line 4015  Bool_t PamelaDBOperations::IsRunConsiste
4015                  glrun1->SetRUNTRAILER_PKT(glrun->GetRUNTRAILER_PKT());                  glrun1->SetRUNTRAILER_PKT(glrun->GetRUNTRAILER_PKT());
4016                  //                  //
4017                  glrun->SetEV_FROM(firstev);                  glrun->SetEV_FROM(firstev);
4018                    glrun->SetEV_TO(lastev); // 10 RED ghost run bug
4019                  glrun->SetNEVENTS(lastev-firstev+1);                  glrun->SetNEVENTS(lastev-firstev+1);
4020                  //                  //
4021                  glrun->SetRUNHEADER_TIME(glrun1->GetRUNHEADER_TIME());                  glrun->SetRUNHEADER_TIME(glrun1->GetRUNHEADER_TIME());

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

  ViewVC Help
Powered by ViewVC 1.1.23