40 bool openConnection()
override;
43 bool closeConnectionImpl()
override;
46 bool startEventImpl([[maybe_unused]]
const std::shared_ptr<GEventDataCollection>& event_data)
override;
47 bool endEventImpl([[maybe_unused]]
const std::shared_ptr<GEventDataCollection>& event_data)
override;
48 bool publishEventHeaderImpl([[maybe_unused]]
const std::unique_ptr<GEventHeader>& gevent_header)
override;
49 bool publishEventTrueInfoDataImpl(
const std::string& detectorName,
50 const std::vector<const GTrueInfoData*>& trueInfoData)
override;
51 bool publishEventDigitizedDataImpl(
const std::string& detectorName,
52 const std::vector<const GDigitizedData*>& digitizedData)
override;
57 bool publishFrameHeaderImpl(
const GFrameHeader* gframeHeader)
override;
58 bool publishPayloadImpl(
const std::vector<GIntegralPayload*>* payload)
override;
61 std::ofstream ofile_true_info;
64 std::ofstream ofile_digitized;
77 bool is_first_event_with_truedata =
false;
80 bool is_first_event_with_digidata =
false;
83 std::string timestamp;