Merge pull request #2 from sesps/main

Fix orderchecker bug
This commit is contained in:
Gordon McCann 2022-06-22 16:16:35 -04:00 committed by GitHub
commit d8005e64b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ namespace EventBuilder {
for(Long64_t i=0; i<tree->GetEntries(); i++) for(Long64_t i=0; i<tree->GetEntries(); i++)
{ {
tree->GetEntry(); tree->GetEntry(i);
if(prevStamp >= ts) if(prevStamp >= ts)
{ {
EVB_WARN("Bad order at entry {0} out of {1}",i,tree->GetEntries()); EVB_WARN("Bad order at entry {0} out of {1}",i,tree->GetEntries());
@ -41,4 +41,4 @@ namespace EventBuilder {
return true; return true;
} }
} }