Open hoide opened 7 years ago
Please try the current v1.7-dev development branch. There were some changes in the converter.
Did you try the more recent version?
Hi,
Yes, I tried v1.7-dev and it is working. Thanks for the suggestion!
Off-topic: my personal suggestion is to use vector of variables and store the data as "event list", instead of using just single int/float and store the data as "hit list". This reduces the number of TTree::GetEntry()
calls and then boosts the speed to read the file significantly. But of course this changes the data format, and users may need to change downstream codes...
I was trying to use FileWriteRoot in the converter (v1.5.0) and found that the output ROOT file is broken (says "has no keys"):
main/lib/src/FileWriterRoot.cc
Looking at the code, I think the following lines should be added.
void FileWriterRoot::StartRun(unsigned runnumber)
:FileWriterRoot::~FileWriterRoot()
Best, Hide