Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
art::Tracer Class Reference

Classes

struct  Config
 

Public Types

using Parameters = ServiceTable< Config >
 

Public Member Functions

 Tracer (ServiceTable< Config > const &, ActivityRegistry &)
 
void postBeginJob ()
 
void postEndJob ()
 
void preBeginRun (Run const &run)
 
void postBeginRun (Run const &run)
 
void preBeginSubRun (SubRun const &subRun)
 
void postBeginSubRun (SubRun const &subRun)
 
void preEvent (Event const &ev)
 
void postEvent (Event const &ev)
 
void preEndSubRun (SubRunID const &id, Timestamp const &ts)
 
void postEndSubRun (SubRun const &run)
 
void preEndRun (RunID const &id, Timestamp const &ts)
 
void postEndRun (Run const &run)
 
void preModuleConstruction (ModuleDescription const &md)
 
void postModuleConstruction (ModuleDescription const &md)
 
void preModuleBeginJob (ModuleDescription const &md)
 
void postModuleBeginJob (ModuleDescription const &md)
 
void preModuleBeginRun (ModuleDescription const &md)
 
void postModuleBeginRun (ModuleDescription const &md)
 
void preModuleBeginSubRun (ModuleDescription const &md)
 
void postModuleBeginSubRun (ModuleDescription const &md)
 
void preModuleEvent (ModuleDescription const &md)
 
void postModuleEvent (ModuleDescription const &md)
 
void preModuleEndSubRun (ModuleDescription const &md)
 
void postModuleEndSubRun (ModuleDescription const &md)
 
void preModuleEndRun (ModuleDescription const &md)
 
void postModuleEndRun (ModuleDescription const &md)
 
void preModuleEndJob (ModuleDescription const &md)
 
void postModuleEndJob (ModuleDescription const &md)
 
void preSourceEvent ()
 
void postSourceEvent (Event const &)
 
void preSourceSubRun ()
 
void postSourceSubRun (SubRun const &)
 
void preSourceRun ()
 
void postSourceRun (Run const &)
 
void preOpenFile ()
 
void postOpenFile (std::string const &fn)
 
void preCloseFile ()
 
void postCloseFile ()
 
void postOpenOutputFile (std::string const &label)
 
void preCloseOutputFile (std::string const &label)
 
void postCloseOutputFile (OutputFileInfo const &info)
 
void prePathBeginRun (std::string const &s)
 
void postPathBeginRun (std::string const &s, HLTPathStatus const &hlt)
 
void prePathBeginSubRun (std::string const &s)
 
void postPathBeginSubRun (std::string const &s, HLTPathStatus const &hlt)
 
void prePathEvent (std::string const &s)
 
void postPathEvent (std::string const &s, HLTPathStatus const &hlt)
 
void prePathEndSubRun (std::string const &s)
 
void postPathEndSubRun (std::string const &s, HLTPathStatus const &hlt)
 
void prePathEndRun (std::string const &s)
 
void postPathEndRun (std::string const &s, HLTPathStatus const &hlt)
 

Private Member Functions

std::ostream & indent (unsigned n=1u) const
 

Private Attributes

std::string indentation_
 
unsigned int depth_ {}
 

Detailed Description

Definition at line 34 of file Tracer_service.cc.

Member Typedef Documentation

Definition at line 40 of file Tracer_service.cc.

Constructor & Destructor Documentation

art::Tracer::Tracer ( ServiceTable< Config > const &  config,
ActivityRegistry iRegistry 
)

Definition at line 136 of file Tracer_service.cc.

References gen_flatrecord::config, postBeginJob(), postBeginRun(), postBeginSubRun(), postCloseFile(), postCloseOutputFile(), postEndJob(), postEndRun(), postEndSubRun(), postEvent(), postModuleBeginJob(), postModuleBeginRun(), postModuleBeginSubRun(), postModuleConstruction(), postModuleEndJob(), postModuleEndRun(), postModuleEndSubRun(), postModuleEvent(), postOpenFile(), postOpenOutputFile(), postPathBeginRun(), postPathBeginSubRun(), postPathEndRun(), postPathEndSubRun(), postPathEvent(), postSourceEvent(), postSourceRun(), postSourceSubRun(), preBeginRun(), preBeginSubRun(), preCloseFile(), preCloseOutputFile(), preEndRun(), preEndSubRun(), preEvent(), preModuleBeginJob(), preModuleBeginRun(), preModuleBeginSubRun(), preModuleConstruction(), preModuleEndJob(), preModuleEndRun(), preModuleEndSubRun(), preModuleEvent(), preOpenFile(), prePathBeginRun(), prePathBeginSubRun(), prePathEndRun(), prePathEndSubRun(), prePathEvent(), preSourceEvent(), preSourceRun(), and preSourceSubRun().

138  : indentation_{config().indentation()}
139 {
140  iRegistry.sPostBeginJob.watch(this, &Tracer::postBeginJob);
141  iRegistry.sPostEndJob.watch(this, &Tracer::postEndJob);
142 
143  iRegistry.sPreModule.watch(this, &Tracer::preModuleEvent);
144  iRegistry.sPostModule.watch(this, &Tracer::postModuleEvent);
145 
146  iRegistry.sPreModuleConstruction.watch(this, &Tracer::preModuleConstruction);
147  iRegistry.sPostModuleConstruction.watch(this,
149 
150  iRegistry.sPreModuleBeginJob.watch(this, &Tracer::preModuleBeginJob);
151  iRegistry.sPostModuleBeginJob.watch(this, &Tracer::postModuleBeginJob);
152 
153  iRegistry.sPreModuleEndJob.watch(this, &Tracer::preModuleEndJob);
154  iRegistry.sPostModuleEndJob.watch(this, &Tracer::postModuleEndJob);
155 
156  iRegistry.sPreModuleBeginRun.watch(this, &Tracer::preModuleBeginRun);
157  iRegistry.sPostModuleBeginRun.watch(this, &Tracer::postModuleBeginRun);
158 
159  iRegistry.sPreModuleEndRun.watch(this, &Tracer::preModuleEndRun);
160  iRegistry.sPostModuleEndRun.watch(this, &Tracer::postModuleEndRun);
161 
162  iRegistry.sPreModuleBeginSubRun.watch(this, &Tracer::preModuleBeginSubRun);
163  iRegistry.sPostModuleBeginSubRun.watch(this, &Tracer::postModuleBeginSubRun);
164 
165  iRegistry.sPreModuleEndSubRun.watch(this, &Tracer::preModuleEndSubRun);
166  iRegistry.sPostModuleEndSubRun.watch(this, &Tracer::postModuleEndSubRun);
167 
168  iRegistry.sPreProcessPath.watch(this, &Tracer::prePathEvent);
169  iRegistry.sPostProcessPath.watch(this, &Tracer::postPathEvent);
170 
171  iRegistry.sPrePathBeginRun.watch(this, &Tracer::prePathBeginRun);
172  iRegistry.sPostPathBeginRun.watch(this, &Tracer::postPathBeginRun);
173 
174  iRegistry.sPrePathEndRun.watch(this, &Tracer::prePathEndRun);
175  iRegistry.sPostPathEndRun.watch(this, &Tracer::postPathEndRun);
176 
177  iRegistry.sPrePathBeginSubRun.watch(this, &Tracer::prePathBeginSubRun);
178  iRegistry.sPostPathBeginSubRun.watch(this, &Tracer::postPathBeginSubRun);
179 
180  iRegistry.sPrePathEndSubRun.watch(this, &Tracer::prePathEndSubRun);
181  iRegistry.sPostPathEndSubRun.watch(this, &Tracer::postPathEndSubRun);
182 
183  iRegistry.sPreProcessEvent.watch(this, &Tracer::preEvent);
184  iRegistry.sPostProcessEvent.watch(this, &Tracer::postEvent);
185 
186  iRegistry.sPreBeginRun.watch(this, &Tracer::preBeginRun);
187  iRegistry.sPostBeginRun.watch(this, &Tracer::postBeginRun);
188 
189  iRegistry.sPreEndRun.watch(this, &Tracer::preEndRun);
190  iRegistry.sPostEndRun.watch(this, &Tracer::postEndRun);
191 
192  iRegistry.sPreBeginSubRun.watch(this, &Tracer::preBeginSubRun);
193  iRegistry.sPostBeginSubRun.watch(this, &Tracer::postBeginSubRun);
194 
195  iRegistry.sPreEndSubRun.watch(this, &Tracer::preEndSubRun);
196  iRegistry.sPostEndSubRun.watch(this, &Tracer::postEndSubRun);
197 
198  iRegistry.sPreSourceEvent.watch(this, &Tracer::preSourceEvent);
199  iRegistry.sPostSourceEvent.watch(this, &Tracer::postSourceEvent);
200 
201  iRegistry.sPreOpenFile.watch(this, &Tracer::preOpenFile);
202  iRegistry.sPostOpenFile.watch(this, &Tracer::postOpenFile);
203 
204  iRegistry.sPreCloseFile.watch(this, &Tracer::preCloseFile);
205  iRegistry.sPostCloseFile.watch(this, &Tracer::postCloseFile);
206 
207  iRegistry.sPostOpenOutputFile.watch(this, &Tracer::postOpenOutputFile);
208  iRegistry.sPreCloseOutputFile.watch(this, &Tracer::preCloseOutputFile);
209  iRegistry.sPostCloseOutputFile.watch(this, &Tracer::postCloseOutputFile);
210 
211  iRegistry.sPreSourceRun.watch(this, &Tracer::preSourceRun);
212  iRegistry.sPostSourceRun.watch(this, &Tracer::postSourceRun);
213 
214  iRegistry.sPreSourceSubRun.watch(this, &Tracer::preSourceSubRun);
215  iRegistry.sPostSourceSubRun.watch(this, &Tracer::postSourceSubRun);
216 }
void prePathEndRun(std::string const &s)
std::string indentation_
void preCloseOutputFile(std::string const &label)
void prePathEndSubRun(std::string const &s)
void postSourceSubRun(SubRun const &)
void prePathEvent(std::string const &s)
void postSourceRun(Run const &)
void preModuleConstruction(ModuleDescription const &md)
void postOpenOutputFile(std::string const &label)
void postModuleConstruction(ModuleDescription const &md)
void postPathBeginRun(std::string const &s, HLTPathStatus const &hlt)
void preEndRun(RunID const &id, Timestamp const &ts)
void postModuleBeginJob(ModuleDescription const &md)
void postModuleBeginSubRun(ModuleDescription const &md)
void preBeginRun(Run const &run)
void prePathBeginRun(std::string const &s)
void preBeginSubRun(SubRun const &subRun)
void postEndSubRun(SubRun const &run)
void preSourceEvent()
void postModuleBeginRun(ModuleDescription const &md)
void postEvent(Event const &ev)
void postBeginRun(Run const &run)
void preModuleEndJob(ModuleDescription const &md)
void preCloseFile()
void postSourceEvent(Event const &)
void postPathBeginSubRun(std::string const &s, HLTPathStatus const &hlt)
void postEndRun(Run const &run)
void preModuleBeginSubRun(ModuleDescription const &md)
void postOpenFile(std::string const &fn)
void postModuleEvent(ModuleDescription const &md)
void preModuleEndRun(ModuleDescription const &md)
void postModuleEndJob(ModuleDescription const &md)
void preModuleBeginJob(ModuleDescription const &md)
void postBeginJob()
void preEvent(Event const &ev)
void prePathBeginSubRun(std::string const &s)
void preSourceRun()
void preModuleEndSubRun(ModuleDescription const &md)
void preSourceSubRun()
void preModuleBeginRun(ModuleDescription const &md)
void preModuleEvent(ModuleDescription const &md)
void postModuleEndSubRun(ModuleDescription const &md)
void postPathEndRun(std::string const &s, HLTPathStatus const &hlt)
void postCloseFile()
void preEndSubRun(SubRunID const &id, Timestamp const &ts)
void preOpenFile()
void postCloseOutputFile(OutputFileInfo const &info)
void postPathEndSubRun(std::string const &s, HLTPathStatus const &hlt)
void postBeginSubRun(SubRun const &subRun)
void postModuleEndRun(ModuleDescription const &md)
void postPathEvent(std::string const &s, HLTPathStatus const &hlt)

Member Function Documentation

std::ostream& art::Tracer::indent ( unsigned  n = 1u) const
inlineprivate
void art::Tracer::postBeginJob ( )

Definition at line 222 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

223 {
224  indent(1) << " Job started" << std::endl;
225 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postBeginRun ( Run const &  run)

Definition at line 364 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

365 {
366  indent(2) << " finished begin run:" << std::endl;
367 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postBeginSubRun ( SubRun const &  subRun)

Definition at line 449 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

450 {
451  indent(2) << " finished begin subRun:" << std::endl;
452 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postCloseFile ( )

Definition at line 288 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

289 {
290  indent(2) << "finished: close input file" << std::endl;
291 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postCloseOutputFile ( OutputFileInfo const &  info)

Definition at line 306 of file Tracer_service.cc.

References allTimeWatchdog::endl, art::OutputFileInfo::fileName(), indent(), art::OutputFileInfo::moduleLabel(), and string.

Referenced by Tracer().

307 {
308  std::string const fn{info.fileName().empty() ? "<none>"s : info.fileName()};
309  indent(2) << "finished close output file " << fn << " from "
310  << info.moduleLabel() << std::endl;
311 }
const XML_Char XML_Encoding * info
Definition: expat.h:530
std::ostream & indent(unsigned n=1u) const
const XML_Char * s
Definition: expat.h:262
enum BeamMode string
void art::Tracer::postEndJob ( )

Definition at line 228 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

229 {
230  indent(1) << " Job ended" << std::endl;
231 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postEndRun ( Run const &  run)

Definition at line 407 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

408 {
409  indent(2) << " finished end run:" << std::endl;
410 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postEndSubRun ( SubRun const &  run)

Definition at line 490 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

491 {
492  indent(2) << " finished end subRun:" << std::endl;
493 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postEvent ( Event const &  ev)

Definition at line 322 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

323 {
324  indent(2) << " finished event:" << std::endl;
325 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postModuleBeginJob ( ModuleDescription const &  md)

Definition at line 545 of file Tracer_service.cc.

References allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

546 {
547  indent(1) << " beginJob finished:" << iDescription.moduleLabel() << std::endl;
548 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postModuleBeginRun ( ModuleDescription const &  md)

Definition at line 391 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

392 {
393  --depth_;
394  indent(4 + depth_) << " finished for begin run:" << iDescription.moduleLabel()
395  << std::endl;
396 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::postModuleBeginSubRun ( ModuleDescription const &  md)

Definition at line 475 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

476 {
477  --depth_;
478  indent(4) << " finished for begin subRun:" << iDescription.moduleLabel()
479  << std::endl;
480 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::postModuleConstruction ( ModuleDescription const &  md)

Definition at line 532 of file Tracer_service.cc.

References allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

533 {
534  indent(1) << " construction finished:" << iDescription.moduleLabel()
535  << std::endl;
536 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postModuleEndJob ( ModuleDescription const &  md)

Definition at line 557 of file Tracer_service.cc.

References DECLARE_ART_SERVICE, DEFINE_ART_SERVICE, allTimeWatchdog::endl, indent(), art::LEGACY, and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

558 {
559  indent(1) << " endJob finished:" << iDescription.moduleLabel() << std::endl;
560 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postModuleEndRun ( ModuleDescription const &  md)

Definition at line 433 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

434 {
435  --depth_;
436  indent(4 + depth_) << " finished for end run:" << iDescription.moduleLabel()
437  << std::endl;
438 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::postModuleEndSubRun ( ModuleDescription const &  md)

Definition at line 517 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

518 {
519  --depth_;
520  indent(4 + depth_) << " finished for end subRun:"
521  << iDescription.moduleLabel() << std::endl;
522 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::postModuleEvent ( ModuleDescription const &  md)

Definition at line 348 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

349 {
350  --depth_;
351  indent(4 + depth_) << " finished for event:" << iDescription.moduleLabel()
352  << std::endl;
353 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::postOpenFile ( std::string const &  fn)

Definition at line 276 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

277 {
278  indent(2) << "finished: open input file" << fn << std::endl;
279 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postOpenOutputFile ( std::string const &  label)

Definition at line 294 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

295 {
296  indent(2) << "opened output file from " << label << std::endl;
297 }
const char * label
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postPathBeginRun ( std::string const &  s,
HLTPathStatus const &  hlt 
)

Definition at line 376 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

378 {
379  indent(3) << " finished path for begin run:" << std::endl;
380 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postPathBeginSubRun ( std::string const &  s,
HLTPathStatus const &  hlt 
)

Definition at line 461 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

463 {
464  indent(3) << " finished path for begin subRun:" << std::endl;
465 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postPathEndRun ( std::string const &  s,
HLTPathStatus const &  hlt 
)

Definition at line 419 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

420 {
421  indent(3) << " finished path for end run:" << std::endl;
422 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postPathEndSubRun ( std::string const &  s,
HLTPathStatus const &  hlt 
)

Definition at line 502 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

504 {
505  indent(3) << " finished path for end subRun:" << std::endl;
506 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postPathEvent ( std::string const &  s,
HLTPathStatus const &  hlt 
)

Definition at line 334 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

335 {
336  indent(3) << " finished path for event:" << std::endl;
337 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postSourceEvent ( Event const &  )

Definition at line 240 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

241 {
242  indent(2) << "finished: source event" << std::endl;
243 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postSourceRun ( Run const &  )

Definition at line 264 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

265 {
266  indent(2) << "finished: source run" << std::endl;
267 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::postSourceSubRun ( SubRun const &  )

Definition at line 252 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

253 {
254  indent(2) << "finished: source subRun" << std::endl;
255 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::preBeginRun ( Run const &  run)

Definition at line 356 of file Tracer_service.cc.

References art::Run::beginTime(), depth_, allTimeWatchdog::endl, art::Run::id(), indent(), and art::Timestamp::value().

Referenced by Tracer().

357 {
358  depth_ = 0;
359  indent(2) << " processing begin run:" << run.id()
360  << " time:" << run.beginTime().value() << std::endl;
361 }
std::ostream & indent(unsigned n=1u) const
Definition: run.py:1
unsigned int depth_
void art::Tracer::preBeginSubRun ( SubRun const &  subRun)

Definition at line 441 of file Tracer_service.cc.

References art::SubRun::beginTime(), depth_, allTimeWatchdog::endl, art::SubRun::id(), indent(), and art::Timestamp::value().

Referenced by Tracer().

442 {
443  depth_ = 0;
444  indent(2) << " processing begin subRun:" << subRun.id()
445  << " time:" << subRun.beginTime().value() << std::endl;
446 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::preCloseFile ( )

Definition at line 282 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

283 {
284  indent(2) << "close input file" << std::endl;
285 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::preCloseOutputFile ( std::string const &  label)

Definition at line 300 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

301 {
302  indent(2) << "close output file from " << label << std::endl;
303 }
const char * label
std::ostream & indent(unsigned n=1u) const
void art::Tracer::preEndRun ( RunID const &  id,
Timestamp const &  ts 
)

Definition at line 399 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, indent(), and art::Timestamp::value().

Referenced by Tracer().

400 {
401  depth_ = 0;
402  indent(2) << " processing end run:" << iID << " time:" << iTime.value()
403  << std::endl;
404 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::preEndSubRun ( SubRunID const &  id,
Timestamp const &  ts 
)

Definition at line 483 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, indent(), and art::Timestamp::value().

Referenced by Tracer().

484 {
485  depth_ = 0;
486  indent(2) << " processing end subRun:" << iID << " time:" << iTime.value()
487  << std::endl;
488 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::preEvent ( Event const &  ev)

Definition at line 314 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, art::Event::id(), indent(), art::Event::time(), and art::Timestamp::value().

Referenced by Tracer().

315 {
316  depth_ = 0;
317  indent(2) << " processing event:" << ev.id() << " time:" << ev.time().value()
318  << std::endl;
319 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::preModuleBeginJob ( ModuleDescription const &  md)

Definition at line 539 of file Tracer_service.cc.

References allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

540 {
541  indent(1) << " beginJob module:" << iDescription.moduleLabel() << std::endl;
542 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::preModuleBeginRun ( ModuleDescription const &  md)

Definition at line 383 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

384 {
385  ++depth_;
386  indent(3 + depth_) << " module for begin run:" << iDescription.moduleLabel()
387  << std::endl;
388 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::preModuleBeginSubRun ( ModuleDescription const &  md)

Definition at line 468 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

469 {
470  ++depth_;
471  indent(3 + depth_) << " module for begin subRun:"
472  << iDescription.moduleLabel() << std::endl;
473 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::preModuleConstruction ( ModuleDescription const &  md)

Definition at line 525 of file Tracer_service.cc.

References allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

526 {
527  indent(1) << " constructing module:" << iDescription.moduleLabel()
528  << std::endl;
529 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::preModuleEndJob ( ModuleDescription const &  md)

Definition at line 551 of file Tracer_service.cc.

References allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

552 {
553  indent(1) << " endJob module:" << iDescription.moduleLabel() << std::endl;
554 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::preModuleEndRun ( ModuleDescription const &  md)

Definition at line 425 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

426 {
427  ++depth_;
428  indent(3 + depth_) << " module for end run:" << iDescription.moduleLabel()
429  << std::endl;
430 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::preModuleEndSubRun ( ModuleDescription const &  md)

Definition at line 509 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

510 {
511  ++depth_;
512  indent(3 + depth_) << " module for end subRun:" << iDescription.moduleLabel()
513  << std::endl;
514 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::preModuleEvent ( ModuleDescription const &  md)

Definition at line 340 of file Tracer_service.cc.

References depth_, allTimeWatchdog::endl, indent(), and art::ModuleDescription::moduleLabel().

Referenced by Tracer().

341 {
342  ++depth_;
343  indent(3 + depth_) << " module for event:" << iDescription.moduleLabel()
344  << std::endl;
345 }
std::ostream & indent(unsigned n=1u) const
unsigned int depth_
void art::Tracer::preOpenFile ( )

Definition at line 270 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

271 {
272  indent(2) << "open input file" << std::endl;
273 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::prePathBeginRun ( std::string const &  s)

Definition at line 370 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

371 {
372  indent(3) << " processing path for begin run:" << iName << std::endl;
373 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::prePathBeginSubRun ( std::string const &  s)

Definition at line 455 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

456 {
457  indent(3) << " processing path for begin subRun:" << iName << std::endl;
458 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::prePathEndRun ( std::string const &  s)

Definition at line 413 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

414 {
415  indent(3) << " processing path for end run:" << iName << std::endl;
416 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::prePathEndSubRun ( std::string const &  s)

Definition at line 496 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

497 {
498  indent(3) << " processing path for end subRun:" << iName << std::endl;
499 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::prePathEvent ( std::string const &  s)

Definition at line 328 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

329 {
330  indent(3) << " processing path for event:" << iName << std::endl;
331 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::preSourceEvent ( )

Definition at line 234 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

235 {
236  indent(2) << "source event" << std::endl;
237 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::preSourceRun ( )

Definition at line 258 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

259 {
260  indent(2) << "source run" << std::endl;
261 }
std::ostream & indent(unsigned n=1u) const
void art::Tracer::preSourceSubRun ( )

Definition at line 246 of file Tracer_service.cc.

References allTimeWatchdog::endl, and indent().

Referenced by Tracer().

247 {
248  indent(2) << "source subRun" << std::endl;
249 }
std::ostream & indent(unsigned n=1u) const

Member Data Documentation

unsigned int art::Tracer::depth_ {}
private
std::string art::Tracer::indentation_
private

Definition at line 120 of file Tracer_service.cc.


The documentation for this class was generated from the following file: