/[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.2 by mocchiut, Thu Sep 25 12:13:54 2008 UTC revision 1.3 by mocchiut, Thu Sep 25 15:30:10 2008 UTC
# Line 1377  void PamelaDBOperations::FillClass(Bool_ Line 1377  void PamelaDBOperations::FillClass(Bool_
1377    UInt_t lastPkt = 0;    UInt_t lastPkt = 0;
1378    UInt_t rhtime = 0;    UInt_t rhtime = 0;
1379    UInt_t rttime = 0;    UInt_t rttime = 0;
1380      //
1381      if ( IsDebug() ) printf(" A firstev %i lastev %i nevents %i \n",firstev,lastev,lastev-firstev+1);
1382      //
1383    if ( !mishead ){    if ( !mishead ){
1384      codh = ehh->GetCounter();      codh = ehh->GetCounter();
1385      if ( lastev+1 == firstev || (lastev == firstev && lastev != -1) ){            if ( (lastev+1 == firstev && lastev != -1) || (lastev == firstev && lastev != -1) ){      
1386          if ( IsDebug() ) printf(" B firstev %i lastev %i nevents %i \n",firstev,lastev,lastev-firstev+1);
1387        firstev = 1;        firstev = 1;
1388        lastev = 0;        lastev = 0;
1389      } else {      } else {
# Line 1392  void PamelaDBOperations::FillClass(Bool_ Line 1396  void PamelaDBOperations::FillClass(Bool_
1396    };    };
1397    if ( !mistrail ){    if ( !mistrail ){
1398      codt = eht->GetCounter();      codt = eht->GetCounter();
1399      if ( lastev+1 == firstev || (lastev == firstev && lastev != -1)){            if ( (lastev+1 == firstev && lastev != -1) || (lastev == firstev && lastev != -1)){      
1400          if ( IsDebug() ) printf(" C firstev %i lastev %i nevents %i \n",firstev,lastev,lastev-firstev+1);
1401        lastev = 0;        lastev = 0;
1402        firstev = lastev+1;        firstev = lastev+1;
1403      } else {      } else {
# Line 1409  void PamelaDBOperations::FillClass(Bool_ Line 1414  void PamelaDBOperations::FillClass(Bool_
1414    if ( mishead ) {    if ( mishead ) {
1415      glrun->Set_GL_RUNH0();      glrun->Set_GL_RUNH0();
1416      //      //
1417      if ( lastev+1 == firstev || (lastev == firstev && lastev != -1) ){            if ( (lastev+1 == firstev && lastev != -1) || (lastev == firstev && lastev != -1) ){      
1418        firstObt = lastObt;        firstObt = lastObt;
1419        firstPkt = lastPkt;        firstPkt = lastPkt;
1420        rhtime = rttime;        rhtime = rttime;
# Line 1428  void PamelaDBOperations::FillClass(Bool_ Line 1433  void PamelaDBOperations::FillClass(Bool_
1433    if ( mistrail ){    if ( mistrail ){
1434      glrun->Set_GL_RUNT0();      glrun->Set_GL_RUNT0();
1435      //      //
1436      if ( lastev+1 == firstev || (lastev == firstev && lastev != -1) ){            if ( (lastev+1 == firstev && lastev != -1) || (lastev == firstev && lastev != -1) ){      
1437        lastObt = firstObt;        lastObt = firstObt;
1438        lastPkt = firstPkt;        lastPkt = firstPkt;
1439        rttime = rhtime;        rttime = rhtime;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23