8bool GstreamerRootFactory::publishEventTrueInfoDataImpl(
const std::string& detectorName,
9 const std::vector<const GTrueInfoData*>& trueInfoData) {
10 if (rootfile ==
nullptr) {
14 if (!trueInfoData.empty()) {
15 const auto& trueInforDataTree = getOrInstantiateTrueInfoDataTree(detectorName, trueInfoData.front());
17 return trueInforDataTree->fillTree(trueInfoData);
23bool GstreamerRootFactory::publishEventGeneratedParticlesImpl(
const std::string& bankName,
25 if (rootfile ==
nullptr) {
29 const auto& generatedTree = getOrInstantiateGeneratedParticleTree(bankName, particles);
30 return generatedTree->fillTree(particles);
33bool GstreamerRootFactory::publishEventAncestorsImpl(
const GAncestorBank& ancestors) {
34 if (rootfile ==
nullptr) {
37 return getOrInstantiateAncestorTree(ancestors)->fillTree(ancestors);
std::shared_ptr< GLogger > log
std::vector< GAncestorData > GAncestorBank
std::vector< GGeneratedParticleData > GGeneratedParticleBank
Shared constants and error codes for the gstreamer module.
ROOT streamer plugin declarations.
constexpr int ERR_CANTOPENOUTPUT
Output medium could not be opened successfully.