6 #include <FairLogger.h>
7 #include <FairRootManager.h>
16 : fInputFileName(std::move(fileName)), fOutputBranchName(std::move(outputBranchName)), fEventArray(
"AtEvent", 1)
23 FairRootManager *ioMan = FairRootManager::Instance();
24 if (ioMan ==
nullptr) {
25 LOG(ERROR) <<
"Cannot find RootManager!";
43 auto eventGroup = std::make_unique<H5::Group>(
fFile->openGroup(TString::Format(
"Event_[%d]",
fEventNum++)));
51 event->AddHit(-1,
AtHit::XYZPoint(hitFromFile.x, hitFromFile.y, hitFromFile.z), hitFromFile.A);