1565 |
prevshift = 0; |
prevshift = 0; |
1566 |
// |
// |
1567 |
if ( irun == run->GetEntries()-1 && fromfirst && !(GetOrbitalInfo()->absTime >= GetRunInfo()->RUNHEADER_TIME && GetOrbitalInfo()->absTime <= GetRunInfo()->RUNTRAILER_TIME)){ |
if ( irun == run->GetEntries()-1 && fromfirst && !(GetOrbitalInfo()->absTime >= GetRunInfo()->RUNHEADER_TIME && GetOrbitalInfo()->absTime <= GetRunInfo()->RUNTRAILER_TIME)){ |
1568 |
// printf(" resetting irun \n"); |
printf(" resetting irun \n"); |
1569 |
fromfirst = false; |
fromfirst = false; |
1570 |
irun = 0; |
irun = 0; |
1571 |
run->GetEntry(irun); |
run->GetEntry(irun); |
1572 |
runfirstentry = 0ULL; |
runfirstentry = 0ULL; |
1573 |
runlastentry += (ULong64_t)(this->GetRunInfo()->NEVENTS); |
runlastentry += (ULong64_t)(this->GetRunInfo()->NEVENTS); |
1574 |
if ( (ULong64_t)(this->GetRunInfo()->NEVENTS) > 0ULL ) runlastentry -= 1ULL; |
if ( (ULong64_t)(this->GetRunInfo()->NEVENTS) > 0ULL ) runlastentry -= 1ULL; |
1575 |
}; |
}; |
1576 |
// |
// |
1577 |
}; |
}; |
1592 |
sel_tree->GetEntry(iev); |
sel_tree->GetEntry(iev); |
1593 |
if(irun != oldrun){ |
if(irun != oldrun){ |
1594 |
run->GetEntry(irun); |
run->GetEntry(irun); |
1595 |
|
prevshift = 0; |
1596 |
return true; |
return true; |
1597 |
} |
} |
1598 |
return false; |
return false; |