gstreamer
Loading...
Searching...
No Matches
event.cc
Go to the documentation of this file.
1// gstreamer
3
4// Implementation summary:
5// Emit lightweight lifecycle logs around event publication for the ROOT backend.
6
7bool GstreamerRootFactory::startEventImpl([[maybe_unused]] const std::shared_ptr<GEventDataCollection>& event_data) {
8 log->info(2, "Start of event ", event_data->getHeader()->getG4LocalEvn(), " in ", filename());
9
10 return true;
11}
12
13
14bool GstreamerRootFactory::endEventImpl([[maybe_unused]] const std::shared_ptr<GEventDataCollection>& event_data) {
15 log->info(2, "End of event ", event_data->getHeader()->getG4LocalEvn(), " in ", filename());
16
17 return true;
18}
std::shared_ptr< GLogger > log
void info(int level, Args &&... args) const
ROOT streamer plugin declarations.