49 void postBeginRun(
Run const&
run);
51 void preBeginSubRun(
SubRun const& subRun);
52 void postBeginSubRun(
SubRun const& subRun);
61 void postEndRun(
Run const&
run);
90 void preSourceSubRun();
91 void postSourceSubRun(
SubRun const&);
94 void postSourceRun(
Run const&);
97 void postOpenFile(
string const&
fn);
100 void postCloseFile();
102 void postOpenOutputFile(
string const&
label);
103 void preCloseOutputFile(
string const&
label);
106 void prePathBeginRun(
string const&
s);
109 void prePathBeginSubRun(
string const&
s);
110 void postPathBeginSubRun(
string const&
s,
HLTPathStatus const& hlt);
115 void prePathEndSubRun(
string const&
s);
116 void postPathEndSubRun(
string const&
s,
HLTPathStatus const& hlt);
118 void prePathEndRun(
string const&
s);
124 std::atomic<unsigned int> depth_{};
132 <<
" threads have been configured, the tracing " 133 "messages will be interleaved.\n" 134 <<
"Please configure your job to use one thread " 135 "for a predictable output.";
142 iRegistry.sPreModuleConstruction.watch(
this,
144 iRegistry.sPostModuleConstruction.watch(
this,
155 iRegistry.sPostModuleBeginSubRun.watch(
this,
198 for (; n != 0u; --
n) {
204 std::cout << printout;
263 string const displayed_fn{fn.empty() ?
"<none>"s : fn};
296 2,
"finished close output file " +
fn +
" from " + info.
moduleLabel());
303 std::ostringstream
msg;
304 msg <<
"processing event: " << ev.
id() <<
" time: " << ev.
time().
value();
344 std::ostringstream
msg;
345 msg <<
"processing begin run: " << run.
id()
386 std::ostringstream
msg;
387 msg <<
"processing end run: " << iID <<
" time: " << iTime.
value();
427 std::ostringstream
msg;
428 msg <<
"processing begin subRun: " << subRun.
id()
469 std::ostringstream
msg;
470 msg <<
"processing end subRun: " << iID <<
" time: " << iTime.
value();
void preModuleEndSubRun(ModuleContext const &mc)
void preModuleEndRun(ModuleContext const &mc)
void log_with_indent(unsigned n, std::string const &message) const
void postSourceSubRun(SubRun const &)
void postSourceRun(Run const &)
void preCloseOutputFile(string const &label)
void preModuleConstruction(ModuleDescription const &md)
void postModuleConstruction(ModuleDescription const &md)
void msg(const char *fmt,...)
void preModuleBeginSubRun(ModuleContext const &mc)
void postPathBeginSubRun(string const &s, HLTPathStatus const &hlt)
std::string const & moduleLabel() const
void preEvent(Event const &ev, ScheduleContext)
void preEndRun(RunID const &id, Timestamp const &ts)
void postPathEndSubRun(string const &s, HLTPathStatus const &hlt)
void postModuleBeginJob(ModuleDescription const &md)
void postModuleBeginRun(ModuleContext const &mc)
void postModuleBeginSubRun(ModuleContext const &mc)
void preBeginRun(Run const &run)
std::atomic< unsigned int > depth_
std::string const & moduleLabel() const
constexpr TimeValue_t value() const
void preSourceEvent(ScheduleContext)
fhicl::Atom< string > indentation
void preBeginSubRun(SubRun const &subRun)
void preBeginRun(const ::art::Run &run)
void postEndSubRun(SubRun const &run)
Tracer(Parameters const &, ActivityRegistry &)
void preModuleBeginRun(ModuleContext const &mc)
auto const & pathName() const
std::string const & fileName() const
void preModuleEvent(ModuleContext const &mc)
void postModuleEndRun(ModuleContext const &mc)
#define DECLARE_ART_SERVICE(svc, scope)
void postBeginRun(Run const &run)
void preModuleEndJob(ModuleDescription const &md)
void postModuleEvent(ModuleContext const &mc)
void postOpenFile(string const &fn)
void postEndRun(Run const &run)
void postEvent(Event const &ev, ScheduleContext)
void prePathEndSubRun(string const &s)
void postModuleEndSubRun(ModuleContext const &mc)
void prePathBeginRun(string const &s)
void prePathEndRun(string const &s)
void postPathEndRun(string const &s, HLTPathStatus const &hlt)
#define DEFINE_ART_SERVICE(svc)
void postOpenOutputFile(string const &label)
void postModuleEndJob(ModuleDescription const &md)
void preModuleBeginJob(ModuleDescription const &md)
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
auto const & moduleLabel() const
static Globals * instance()
void preEndSubRun(SubRunID const &id, Timestamp const &ts)
void prePathEvent(PathContext const &pc)
void prePathBeginSubRun(string const &s)
void postCloseOutputFile(OutputFileInfo const &info)
void postPathEvent(PathContext const &pc, HLTPathStatus const &hlt)
Timestamp const & beginTime() const
string const indentation_
void postBeginSubRun(SubRun const &subRun)
void postSourceEvent(Event const &, ScheduleContext)
void postPathBeginRun(string const &s, HLTPathStatus const &hlt)