5 #ifndef COMPWA_DATA_ROOTDATAIO_HPP_ 6 #define COMPWA_DATA_ROOTDATAIO_HPP_ 37 const std::string &TreeName,
38 long long NumberEventsToRead = -1);
47 void writeData(
const EventCollection &OutputSample,
48 const std::string &OutputFilePath,
const std::string &TreeName,
49 bool OverwriteFile =
true);
void writeData(const EventCollection &OutputSample, const std::string &OutputFileName, const std::string &TreeName, bool OverwriteFile)
Write a vector of Events to a ROOT file.
ComPWA::EventCollection readData(const std::string &InputFilePath, const std::string &TreeName, long long NumberOfEventsToRead)
Create a vector of Events from a ROOT file.