3 #include <common/data.h>
4 #include <edep_reader/EDEPTree.h>
6 #include <EDepSim/TG4Event.h>
15 ,
public ufw::data::base<ufw::data::complex_tag, ufw::data::unique_tag, ufw::data::context_tag> {
16 TG4Event* m_event{
nullptr};
18 using EDEPTree::EDEPTree;
22 TG4Event const& event() const {
23 if (m_event !=
nullptr) {
26 UFW_ERROR(
"Event not initialized");
35 class ufw::data::factory<sand::edep_reader> {
37 factory(
const ufw::config&);
43 std::unique_ptr<TFile> input_file;
45 std::unique_ptr<TG4Event> event_owner;
Tree of the trajectories of an edep-sim event. The tree itself is the (id -1) root,...
Definition: EDEPTree.h:24
Definition: edep_reader.hpp:15