8bool GstreamerRootFactory::publishEventDigitizedDataImpl(
const std::string& detectorName,
9 const std::vector<const GDigitizedData*>& digitizedData) {
10 if (rootfile ==
nullptr) {
log->error(
ERR_CANTOPENOUTPUT,
"GstreamerRootFactory: file is not initialized"); }
12 if (!digitizedData.empty()) {
13 const auto& digitizedDataTree = getOrInstantiateDigitizedDataTree(detectorName, digitizedData.front());
15 return digitizedDataTree->fillTree(digitizedData);
std::shared_ptr< GLogger > log
Shared constants and error codes for the gstreamer module.
#define ERR_CANTOPENOUTPUT
Output medium could not be opened successfully.
ROOT streamer plugin declarations.