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 { |
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 { |
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; |
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; |