57 bool openConnection()
override;
64 bool closeConnectionImpl()
override;
75 bool startEventImpl([[maybe_unused]]
const std::shared_ptr<GEventDataCollection>& event_data)
override;
83 bool endEventImpl([[maybe_unused]]
const std::shared_ptr<GEventDataCollection>& event_data)
override;
91 bool publishEventHeaderImpl([[maybe_unused]]
const std::unique_ptr<GEventHeader>& gevent_header)
override;
100 bool publishEventTrueInfoDataImpl(
const std::string& detectorName,
101 const std::vector<const GTrueInfoData*>& trueInfoData)
override;
110 bool publishEventDigitizedDataImpl(
const std::string& detectorName,
111 const std::vector<const GDigitizedData*>& digitizedData)
override;
121 bool startRunImpl([[maybe_unused]]
const std::shared_ptr<GRunDataCollection>& run_data)
override;
129 bool endRunImpl([[maybe_unused]]
const std::shared_ptr<GRunDataCollection>& run_data)
override;
138 bool publishRunDigitizedDataImpl(
const std::string& detectorName,
139 const std::vector<const GDigitizedData*>& digitizedData)
override;
167 bool publishFrameHeaderImpl(
const GFrameHeader* gframeHeader)
override;
177 bool publishPayloadImpl(
const std::vector<GIntegralPayload*>* payload)
override;
180 std::ofstream ofile_true_info;
183 std::ofstream ofile_digitized;
210 bool is_first_event_with_truedata =
false;
213 bool is_first_event_with_digidata =
false;
216 std::string timestamp;