9bool GstreamerTextFactory::publishRunDigitizedDataImpl(
const std::string& detectorName,
10 const std::vector<const GDigitizedData*>& digitizedData)
14 ofile <<
GTAB <<
"Detector <" << detectorName <<
"> Digitized Bank {\n";
16 for (
auto dgtzHit : digitizedData) {
17 std::string identifierString = dgtzHit->getIdentityString();
19 ofile <<
GTABTAB <<
"Hit address: " << identifierString <<
" {\n";
23 for (
const auto& [variableName, value] : dgtzHit->getIntObservablesMap(0)) {
24 ofile <<
GTABTABTAB << variableName <<
": " << value <<
"\n";
26 for (
const auto& [variableName, value] : dgtzHit->getDblObservablesMap(0)) {
27 ofile <<
GTABTABTAB << variableName <<
": " << value <<
"\n";
32 ofile <<
GTAB <<
"}\n";
std::shared_ptr< GLogger > log
void error(int exit_code, Args &&... args) const
ASCII streamer plugin declarations.
Shared constants and error codes for the gstreamer module.
#define ERR_CANTOPENOUTPUT
Output medium could not be opened successfully.