43 ReadRaw(
bool doConversionToDigits,
const std::string inputRawFilePath =
"fdd.raw",
const std::string outputRawFilePath =
"fdddigitsFromRaw.root");
49 std::ifstream mRawFileIn;
50 std::map<o2::InteractionRecord, std::vector<ChannelData>> mDigitAccum;
53 TBranch* getOrMakeBranch(TTree&
tree, std::string brname, T*
ptr)
55 if (
auto br =
tree.GetBranch(brname.c_str())) {
56 br->SetAddress(
static_cast<void*
>(
ptr));
60 return tree.Branch(brname.c_str(),
ptr);