7bool GstreamerTextFactory::publishEventDigitizedDataImpl(
const std::string& detectorName,
8 const std::vector<const GDigitizedData*>& digitizedData) {
11 ofile <<
GTAB <<
"Detector <" << detectorName <<
"> Digitized Bank {\n";
13 for (
auto dgtzHit : digitizedData) {
14 std::string identifierString = dgtzHit->getIdentityString();
16 ofile <<
GTABTAB <<
"Hit address: " << identifierString <<
" {\n";
19 for (
const auto& [variableName, value] : dgtzHit->getIntObservablesMap(0)) {
20 ofile <<
GTABTABTAB << variableName <<
": " << value <<
"\n";
22 for (
const auto& [variableName, value] : dgtzHit->getDblObservablesMap(0)) {
23 ofile <<
GTABTABTAB << variableName <<
": " << value <<
"\n";
28 ofile <<
GTAB <<
"}\n";
std::shared_ptr< GLogger > log
void error(int exit_code, Args &&... args) const
Shared constants and error codes for the gstreamer module.
#define ERR_CANTOPENOUTPUT
Output medium could not be opened (file/device not accessible).