Fix bug in OrderChecker

This commit is contained in:
Gordon McCann 2022-06-22 15:40:17 -04:00
parent 7ba80ed4aa
commit 99e82910fc

View File

@ -25,7 +25,7 @@ namespace EventBuilder {
for(int64_t i=0; i<tree->GetEntries(); i++) for(int64_t i=0; i<tree->GetEntries(); i++)
{ {
tree->GetEntry(); tree->GetEntry(i);
if(prevStamp >= ts) if(prevStamp >= ts)
{ {
std::cerr<<"Bad order at entry "<<i<<" out of "<<tree->GetEntries()<<std::endl; std::cerr<<"Bad order at entry "<<i<<" out of "<<tree->GetEntries()<<std::endl;