Skip to content

Commit

Permalink
add first event thru constructor not regular method
Browse files Browse the repository at this point in the history
  • Loading branch information
carltimmer committed Jan 14, 2025
1 parent 11b2729 commit 5b6384a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/Hipo_Test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ namespace evio {
// Take event & write it into buffer
std::cout << "Write event to " << writeFileName2 << " as compressed LZ4" << std::endl;
EventWriter writer(writeFileName2, "", "runType", 1, 0L, 0, 0,
ByteOrder::ENDIAN_LOCAL, dictionary, true, false, nullptr, 1, 1, 1, 1,
ByteOrder::ENDIAN_LOCAL, dictionary, true, false, event, 1, 1, 1, 1,
Compressor::LZ4, 2, 16, 0);

writer.setFirstEvent(event);
//writer.setFirstEvent(event);
writer.writeEvent(event);
std::cout << " call writer.close()" << std::endl;
writer.close();
Expand Down

0 comments on commit 5b6384a

Please sign in to comment.