67 GRootTree([[maybe_unused]]
const std::unique_ptr<GEventHeader>& gevent_header, std::shared_ptr<GLogger>& log);
77 GRootTree([[maybe_unused]]
const std::unique_ptr<GRunHeader>&
grun_header, std::shared_ptr<GLogger>& log);
114 bool fillTree(
const std::unique_ptr<GEventHeader>& gevent_header);
122 bool fillTree(
const std::unique_ptr<GRunHeader>& run_header);
132 bool fillTree(
const std::vector<const GTrueInfoData*>& trueInfoData);
142 bool fillTree(
const std::vector<const GDigitizedData*>& digitizedData);
146 std::unique_ptr<TTree> root_tree;
149 std::map<std::string, std::vector<int>> intVarsMap;
152 std::map<std::string, std::vector<double>> doubleVarsMap;
155 std::map<std::string, std::vector<std::string>> stringVarsMap;
163 void registerVariable(
const std::string& varname,
int value);
171 void registerVariable(
const std::string& varname,
double value);
179 void registerVariable(
const std::string& varname,
const std::string& value);
182 std::shared_ptr<GLogger>& log;