diff --git a/Bin2Root.cpp b/Bin2Root.cpp index f257c61..e00e883 100644 --- a/Bin2Root.cpp +++ b/Bin2Root.cpp @@ -181,12 +181,13 @@ int main(int argc, char **argv) { } }while( reader[i].ReadBlock() == 1 ); }else{ - events.push_back(reader[i].data); - ID[i] ++; - reader[i].ReadBlock(); + events.push_back(reader[g0].data); + ID[g0] ++; + reader[g0].ReadBlock(); + break; } - if( timeWindow < 0) break; + //if( timeWindow < 0) break; } if( events.size() > 1 ){ @@ -274,4 +275,4 @@ int main(int argc, char **argv) { return 0; -} \ No newline at end of file +}