CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
edm::service::Tracer Class Reference

Public Member Functions

void postAccessInputProcessBlock (GlobalContext const &)
 
void postBeginJob ()
 
void postBeginProcessBlock (GlobalContext const &)
 
void postCloseFile (std::string const &)
 
void postEndJob ()
 
void postEndProcessBlock (GlobalContext const &)
 
void postESModule (eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
 
void postESModulePrefetching (eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
 
void postEvent (StreamContext const &)
 
void postEventReadFromSource (StreamContext const &, ModuleCallingContext const &)
 
void postGlobalBeginLumi (GlobalContext const &)
 
void postGlobalBeginRun (GlobalContext const &)
 
void postGlobalEndLumi (GlobalContext const &)
 
void postGlobalEndRun (GlobalContext const &)
 
void postGlobalWriteLumi (GlobalContext const &)
 
void postGlobalWriteRun (GlobalContext const &)
 
void postModuleAccessInputProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleBeginJob (ModuleDescription const &md)
 
void postModuleBeginProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleConstruction (ModuleDescription const &md)
 
void postModuleDestruction (ModuleDescription const &md)
 
void postModuleEndJob (ModuleDescription const &md)
 
void postModuleEndProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleEndStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEvent (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEventAcquire (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEventDelayedGet (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEventPrefetching (StreamContext const &, ModuleCallingContext const &)
 
void postModuleGlobalBeginLumi (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalBeginRun (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalEndLumi (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalEndRun (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalPrefetching (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleStreamBeginLumi (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamBeginRun (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamEndLumi (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamEndRun (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamPrefetching (StreamContext const &, ModuleCallingContext const &)
 
void postModuleWriteLumi (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleWriteProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleWriteRun (GlobalContext const &, ModuleCallingContext const &)
 
void postOpenFile (std::string const &)
 
void postPathEvent (StreamContext const &, PathContext const &, HLTPathStatus const &)
 
void postSourceConstruction (ModuleDescription const &md)
 
void postSourceEvent (StreamID)
 
void postSourceLumi (LuminosityBlockIndex)
 
void postSourceProcessBlock (std::string const &)
 
void postSourceRun (RunIndex)
 
void postStreamBeginLumi (StreamContext const &)
 
void postStreamBeginRun (StreamContext const &)
 
void postStreamEndLumi (StreamContext const &)
 
void postStreamEndRun (StreamContext const &)
 
void postWriteProcessBlock (GlobalContext const &)
 
void preAccessInputProcessBlock (GlobalContext const &)
 
void preallocate (service::SystemBounds const &)
 
void preBeginJob (PathsAndConsumesOfModulesBase const &, ProcessContext const &)
 
void preBeginProcessBlock (GlobalContext const &)
 
void preCloseFile (std::string const &lfn)
 
void preEndProcessBlock (GlobalContext const &)
 
void preESModule (eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
 
void preESModulePrefetching (eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
 
void preEvent (StreamContext const &)
 
void preEventReadFromSource (StreamContext const &, ModuleCallingContext const &)
 
void preGlobalBeginLumi (GlobalContext const &)
 
void preGlobalBeginRun (GlobalContext const &)
 
void preGlobalEndLumi (GlobalContext const &)
 
void preGlobalEndRun (GlobalContext const &)
 
void preGlobalWriteLumi (GlobalContext const &)
 
void preGlobalWriteRun (GlobalContext const &)
 
void preModuleAccessInputProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleBeginJob (ModuleDescription const &md)
 
void preModuleBeginProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleConstruction (ModuleDescription const &md)
 
void preModuleDestruction (ModuleDescription const &md)
 
void preModuleEndJob (ModuleDescription const &md)
 
void preModuleEndProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleEndStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEvent (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEventAcquire (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEventDelayedGet (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEventPrefetching (StreamContext const &, ModuleCallingContext const &)
 
void preModuleGlobalBeginLumi (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalBeginRun (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalEndLumi (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalEndRun (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalPrefetching (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleStreamBeginLumi (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamBeginRun (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamEndLumi (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamEndRun (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamPrefetching (StreamContext const &, ModuleCallingContext const &)
 
void preModuleWriteLumi (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleWriteProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleWriteRun (GlobalContext const &, ModuleCallingContext const &)
 
void preOpenFile (std::string const &)
 
void prePathEvent (StreamContext const &, PathContext const &)
 
void preSourceConstruction (ModuleDescription const &md)
 
void preSourceEvent (StreamID)
 
void preSourceLumi (LuminosityBlockIndex)
 
void preSourceProcessBlock ()
 
void preSourceRun (RunIndex)
 
void preStreamBeginLumi (StreamContext const &)
 
void preStreamBeginRun (StreamContext const &)
 
void preStreamEndLumi (StreamContext const &)
 
void preStreamEndRun (StreamContext const &)
 
void preWriteProcessBlock (GlobalContext const &)
 
 Tracer (const ParameterSet &, ActivityRegistry &)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Attributes

std::set< std::string > dumpContextForLabels_
 
bool dumpEventSetupInfo_
 
bool dumpNonModuleContext_
 
bool dumpPathsAndConsumes_
 
std::string indention_
 
bool printTimestamps_
 

Detailed Description

Definition at line 68 of file Tracer.cc.

Constructor & Destructor Documentation

◆ Tracer()

Tracer::Tracer ( const ParameterSet iPS,
ActivityRegistry iRegistry 
)

Definition at line 256 of file Tracer.cc.

References edm::signalslot::Signal< T >::connect(), dumpContextForLabels_, edm::ActivityRegistry::esSyncIOVQueuingSignal_, edm::EventID::event(), edm::IOVSyncValue::eventID(), edm::StreamContext::eventID(), edm::ParameterSet::getUntrackedParameter(), indention_, label, edm::LuminosityBlockID::luminosityBlock(), edm::EventID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), eostools::move(), MillePedeFileConverter_cfg::out, postAccessInputProcessBlock(), postBeginJob(), postBeginProcessBlock(), postCloseFile(), postEndJob(), postEndProcessBlock(), postESModule(), postESModulePrefetching(), edm::ActivityRegistry::postESSyncIOVSignal_, postEvent(), postEventReadFromSource(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postGlobalWriteLumi(), postGlobalWriteRun(), postModuleAccessInputProcessBlock(), postModuleBeginJob(), postModuleBeginProcessBlock(), postModuleBeginStream(), postModuleConstruction(), postModuleDestruction(), postModuleEndJob(), postModuleEndProcessBlock(), postModuleEndStream(), postModuleEvent(), postModuleEventAcquire(), postModuleEventDelayedGet(), postModuleEventPrefetching(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleGlobalPrefetching(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postModuleStreamPrefetching(), postModuleWriteLumi(), postModuleWriteProcessBlock(), postModuleWriteRun(), postOpenFile(), postPathEvent(), postSourceConstruction(), postSourceEvent(), postSourceLumi(), postSourceProcessBlock(), postSourceRun(), postStreamBeginLumi(), postStreamBeginRun(), postStreamEndLumi(), postStreamEndRun(), postWriteProcessBlock(), preAccessInputProcessBlock(), preallocate(), preBeginJob(), preBeginProcessBlock(), preCloseFile(), preEndProcessBlock(), preESModule(), preESModulePrefetching(), edm::ActivityRegistry::preESSyncIOVSignal_, preEvent(), preEventReadFromSource(), preGlobalBeginLumi(), preGlobalBeginRun(), edm::ActivityRegistry::preGlobalEarlyTerminationSignal_, preGlobalEndLumi(), preGlobalEndRun(), preGlobalWriteLumi(), preGlobalWriteRun(), preModuleAccessInputProcessBlock(), preModuleBeginJob(), preModuleBeginProcessBlock(), preModuleBeginStream(), preModuleConstruction(), preModuleDestruction(), preModuleEndJob(), preModuleEndProcessBlock(), preModuleEndStream(), preModuleEvent(), preModuleEventAcquire(), preModuleEventDelayedGet(), preModuleEventPrefetching(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleGlobalPrefetching(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), preModuleStreamPrefetching(), preModuleWriteLumi(), preModuleWriteProcessBlock(), preModuleWriteRun(), preOpenFile(), prePathEvent(), preSourceConstruction(), edm::ActivityRegistry::preSourceEarlyTerminationSignal_, preSourceEvent(), preSourceLumi(), preSourceProcessBlock(), preSourceRun(), preStreamBeginLumi(), preStreamBeginRun(), edm::ActivityRegistry::preStreamEarlyTerminationSignal_, preStreamEndLumi(), preStreamEndRun(), preWriteProcessBlock(), printTimestamps_, edm::LuminosityBlockID::run(), edm::EventID::run(), edm::StreamContext::streamID(), AlCaHLTBitMon_QueryRunRegistry::string, edm::StreamContext::timestamp(), edm::GlobalContext::timestamp(), edm::LuminosityBlockID::value(), edm::Timestamp::value(), edm::ActivityRegistry::watchPostAccessInputProcessBlock(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostBeginProcessBlock(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEndProcessBlock(), edm::ActivityRegistry::watchPostESModule(), edm::ActivityRegistry::watchPostESModulePrefetching(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostEventReadFromSource(), edm::ActivityRegistry::watchPostGlobalBeginLumi(), edm::ActivityRegistry::watchPostGlobalBeginRun(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPostGlobalWriteLumi(), edm::ActivityRegistry::watchPostGlobalWriteRun(), edm::ActivityRegistry::watchPostModuleAccessInputProcessBlock(), edm::ActivityRegistry::watchPostModuleBeginJob(), edm::ActivityRegistry::watchPostModuleBeginProcessBlock(), edm::ActivityRegistry::watchPostModuleBeginStream(), edm::ActivityRegistry::watchPostModuleConstruction(), edm::ActivityRegistry::watchPostModuleDestruction(), edm::ActivityRegistry::watchPostModuleEndJob(), edm::ActivityRegistry::watchPostModuleEndProcessBlock(), edm::ActivityRegistry::watchPostModuleEndStream(), edm::ActivityRegistry::watchPostModuleEvent(), edm::ActivityRegistry::watchPostModuleEventAcquire(), edm::ActivityRegistry::watchPostModuleEventDelayedGet(), edm::ActivityRegistry::watchPostModuleEventPrefetching(), edm::ActivityRegistry::watchPostModuleGlobalBeginLumi(), edm::ActivityRegistry::watchPostModuleGlobalBeginRun(), edm::ActivityRegistry::watchPostModuleGlobalEndLumi(), edm::ActivityRegistry::watchPostModuleGlobalEndRun(), edm::ActivityRegistry::watchPostModuleGlobalPrefetching(), edm::ActivityRegistry::watchPostModuleStreamBeginLumi(), edm::ActivityRegistry::watchPostModuleStreamBeginRun(), edm::ActivityRegistry::watchPostModuleStreamEndLumi(), edm::ActivityRegistry::watchPostModuleStreamEndRun(), edm::ActivityRegistry::watchPostModuleStreamPrefetching(), edm::ActivityRegistry::watchPostModuleWriteLumi(), edm::ActivityRegistry::watchPostModuleWriteProcessBlock(), edm::ActivityRegistry::watchPostModuleWriteRun(), edm::ActivityRegistry::watchPostOpenFile(), edm::ActivityRegistry::watchPostPathEvent(), edm::ActivityRegistry::watchPostSourceConstruction(), edm::ActivityRegistry::watchPostSourceEvent(), edm::ActivityRegistry::watchPostSourceLumi(), edm::ActivityRegistry::watchPostSourceProcessBlock(), edm::ActivityRegistry::watchPostSourceRun(), edm::ActivityRegistry::watchPostStreamBeginLumi(), edm::ActivityRegistry::watchPostStreamBeginRun(), edm::ActivityRegistry::watchPostStreamEndLumi(), edm::ActivityRegistry::watchPostStreamEndRun(), edm::ActivityRegistry::watchPostWriteProcessBlock(), edm::ActivityRegistry::watchPreAccessInputProcessBlock(), edm::ActivityRegistry::watchPreallocate(), edm::ActivityRegistry::watchPreBeginJob(), edm::ActivityRegistry::watchPreBeginProcessBlock(), edm::ActivityRegistry::watchPreCloseFile(), edm::ActivityRegistry::watchPreEndProcessBlock(), edm::ActivityRegistry::watchPreESModule(), edm::ActivityRegistry::watchPreESModulePrefetching(), edm::ActivityRegistry::watchPreEvent(), edm::ActivityRegistry::watchPreEventReadFromSource(), edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreGlobalBeginRun(), edm::ActivityRegistry::watchPreGlobalEndLumi(), edm::ActivityRegistry::watchPreGlobalEndRun(), edm::ActivityRegistry::watchPreGlobalWriteLumi(), edm::ActivityRegistry::watchPreGlobalWriteRun(), edm::ActivityRegistry::watchPreModuleAccessInputProcessBlock(), edm::ActivityRegistry::watchPreModuleBeginJob(), edm::ActivityRegistry::watchPreModuleBeginProcessBlock(), edm::ActivityRegistry::watchPreModuleBeginStream(), edm::ActivityRegistry::watchPreModuleConstruction(), edm::ActivityRegistry::watchPreModuleDestruction(), edm::ActivityRegistry::watchPreModuleEndJob(), edm::ActivityRegistry::watchPreModuleEndProcessBlock(), edm::ActivityRegistry::watchPreModuleEndStream(), edm::ActivityRegistry::watchPreModuleEvent(), edm::ActivityRegistry::watchPreModuleEventAcquire(), edm::ActivityRegistry::watchPreModuleEventDelayedGet(), edm::ActivityRegistry::watchPreModuleEventPrefetching(), edm::ActivityRegistry::watchPreModuleGlobalBeginLumi(), edm::ActivityRegistry::watchPreModuleGlobalBeginRun(), edm::ActivityRegistry::watchPreModuleGlobalEndLumi(), edm::ActivityRegistry::watchPreModuleGlobalEndRun(), edm::ActivityRegistry::watchPreModuleGlobalPrefetching(), edm::ActivityRegistry::watchPreModuleStreamBeginLumi(), edm::ActivityRegistry::watchPreModuleStreamBeginRun(), edm::ActivityRegistry::watchPreModuleStreamEndLumi(), edm::ActivityRegistry::watchPreModuleStreamEndRun(), edm::ActivityRegistry::watchPreModuleStreamPrefetching(), edm::ActivityRegistry::watchPreModuleWriteLumi(), edm::ActivityRegistry::watchPreModuleWriteProcessBlock(), edm::ActivityRegistry::watchPreModuleWriteRun(), edm::ActivityRegistry::watchPreOpenFile(), edm::ActivityRegistry::watchPrePathEvent(), edm::ActivityRegistry::watchPreSourceConstruction(), edm::ActivityRegistry::watchPreSourceEvent(), edm::ActivityRegistry::watchPreSourceLumi(), edm::ActivityRegistry::watchPreSourceProcessBlock(), edm::ActivityRegistry::watchPreSourceRun(), edm::ActivityRegistry::watchPreStreamBeginLumi(), edm::ActivityRegistry::watchPreStreamBeginRun(), edm::ActivityRegistry::watchPreStreamEndLumi(), edm::ActivityRegistry::watchPreStreamEndRun(), and edm::ActivityRegistry::watchPreWriteProcessBlock().

257  : indention_(iPS.getUntrackedParameter<std::string>("indention")),
259  dumpNonModuleContext_(iPS.getUntrackedParameter<bool>("dumpNonModuleContext")),
260  dumpPathsAndConsumes_(iPS.getUntrackedParameter<bool>("dumpPathsAndConsumes")),
261  printTimestamps_(iPS.getUntrackedParameter<bool>("printTimestamps")),
262  dumpEventSetupInfo_(iPS.getUntrackedParameter<bool>("dumpEventSetupInfo")) {
263  for (std::string& label : iPS.getUntrackedParameter<std::vector<std::string>>("dumpContextForLabels"))
265 
266  iRegistry.watchPreallocate(this, &Tracer::preallocate);
267 
268  iRegistry.watchPreBeginJob(this, &Tracer::preBeginJob);
269  iRegistry.watchPostBeginJob(this, &Tracer::postBeginJob);
270  iRegistry.watchPostEndJob(this, &Tracer::postEndJob);
271 
272  iRegistry.watchPreSourceEvent(this, &Tracer::preSourceEvent);
273  iRegistry.watchPostSourceEvent(this, &Tracer::postSourceEvent);
274 
275  iRegistry.watchPreSourceLumi(this, &Tracer::preSourceLumi);
276  iRegistry.watchPostSourceLumi(this, &Tracer::postSourceLumi);
277 
278  iRegistry.watchPreSourceRun(this, &Tracer::preSourceRun);
279  iRegistry.watchPostSourceRun(this, &Tracer::postSourceRun);
280 
281  iRegistry.watchPreSourceProcessBlock(this, &Tracer::preSourceProcessBlock);
282  iRegistry.watchPostSourceProcessBlock(this, &Tracer::postSourceProcessBlock);
283 
284  iRegistry.watchPreOpenFile(this, &Tracer::preOpenFile);
285  iRegistry.watchPostOpenFile(this, &Tracer::postOpenFile);
286 
287  iRegistry.watchPreCloseFile(this, &Tracer::preCloseFile);
288  iRegistry.watchPostCloseFile(this, &Tracer::postCloseFile);
289 
290  iRegistry.watchPreModuleBeginStream(this, &Tracer::preModuleBeginStream);
291  iRegistry.watchPostModuleBeginStream(this, &Tracer::postModuleBeginStream);
292 
293  iRegistry.watchPreModuleEndStream(this, &Tracer::preModuleEndStream);
294  iRegistry.watchPostModuleEndStream(this, &Tracer::postModuleEndStream);
295 
296  iRegistry.watchPreBeginProcessBlock(this, &Tracer::preBeginProcessBlock);
297  iRegistry.watchPostBeginProcessBlock(this, &Tracer::postBeginProcessBlock);
298 
299  iRegistry.watchPreAccessInputProcessBlock(this, &Tracer::preAccessInputProcessBlock);
300  iRegistry.watchPostAccessInputProcessBlock(this, &Tracer::postAccessInputProcessBlock);
301 
302  iRegistry.watchPreEndProcessBlock(this, &Tracer::preEndProcessBlock);
303  iRegistry.watchPostEndProcessBlock(this, &Tracer::postEndProcessBlock);
304 
305  iRegistry.watchPreWriteProcessBlock(this, &Tracer::preWriteProcessBlock);
306  iRegistry.watchPostWriteProcessBlock(this, &Tracer::postWriteProcessBlock);
307 
308  iRegistry.watchPreGlobalBeginRun(this, &Tracer::preGlobalBeginRun);
309  iRegistry.watchPostGlobalBeginRun(this, &Tracer::postGlobalBeginRun);
310 
311  iRegistry.watchPreGlobalEndRun(this, &Tracer::preGlobalEndRun);
312  iRegistry.watchPostGlobalEndRun(this, &Tracer::postGlobalEndRun);
313 
314  iRegistry.watchPreGlobalWriteRun(this, &Tracer::preGlobalWriteRun);
315  iRegistry.watchPostGlobalWriteRun(this, &Tracer::postGlobalWriteRun);
316 
317  iRegistry.watchPreStreamBeginRun(this, &Tracer::preStreamBeginRun);
318  iRegistry.watchPostStreamBeginRun(this, &Tracer::postStreamBeginRun);
319 
320  iRegistry.watchPreStreamEndRun(this, &Tracer::preStreamEndRun);
321  iRegistry.watchPostStreamEndRun(this, &Tracer::postStreamEndRun);
322 
323  iRegistry.watchPreGlobalBeginLumi(this, &Tracer::preGlobalBeginLumi);
324  iRegistry.watchPostGlobalBeginLumi(this, &Tracer::postGlobalBeginLumi);
325 
326  iRegistry.watchPreGlobalEndLumi(this, &Tracer::preGlobalEndLumi);
327  iRegistry.watchPostGlobalEndLumi(this, &Tracer::postGlobalEndLumi);
328 
329  iRegistry.watchPreGlobalWriteLumi(this, &Tracer::preGlobalWriteLumi);
330  iRegistry.watchPostGlobalWriteLumi(this, &Tracer::postGlobalWriteLumi);
331 
332  iRegistry.watchPreStreamBeginLumi(this, &Tracer::preStreamBeginLumi);
333  iRegistry.watchPostStreamBeginLumi(this, &Tracer::postStreamBeginLumi);
334 
335  iRegistry.watchPreStreamEndLumi(this, &Tracer::preStreamEndLumi);
336  iRegistry.watchPostStreamEndLumi(this, &Tracer::postStreamEndLumi);
337 
338  iRegistry.watchPreEvent(this, &Tracer::preEvent);
339  iRegistry.watchPostEvent(this, &Tracer::postEvent);
340 
341  iRegistry.watchPrePathEvent(this, &Tracer::prePathEvent);
342  iRegistry.watchPostPathEvent(this, &Tracer::postPathEvent);
343 
344  iRegistry.watchPreModuleConstruction(this, &Tracer::preModuleConstruction);
345  iRegistry.watchPostModuleConstruction(this, &Tracer::postModuleConstruction);
346 
347  iRegistry.watchPreModuleDestruction(this, &Tracer::preModuleDestruction);
348  iRegistry.watchPostModuleDestruction(this, &Tracer::postModuleDestruction);
349 
350  iRegistry.watchPreModuleBeginJob(this, &Tracer::preModuleBeginJob);
351  iRegistry.watchPostModuleBeginJob(this, &Tracer::postModuleBeginJob);
352 
353  iRegistry.watchPreModuleEndJob(this, &Tracer::preModuleEndJob);
354  iRegistry.watchPostModuleEndJob(this, &Tracer::postModuleEndJob);
355 
356  iRegistry.watchPreModuleEventPrefetching(this, &Tracer::preModuleEventPrefetching);
357  iRegistry.watchPostModuleEventPrefetching(this, &Tracer::postModuleEventPrefetching);
358  iRegistry.watchPreModuleEvent(this, &Tracer::preModuleEvent);
359  iRegistry.watchPostModuleEvent(this, &Tracer::postModuleEvent);
360  iRegistry.watchPreModuleEventAcquire(this, &Tracer::preModuleEventAcquire);
361  iRegistry.watchPostModuleEventAcquire(this, &Tracer::postModuleEventAcquire);
362  iRegistry.watchPreModuleEventDelayedGet(this, &Tracer::preModuleEventDelayedGet);
363  iRegistry.watchPostModuleEventDelayedGet(this, &Tracer::postModuleEventDelayedGet);
364  iRegistry.watchPreEventReadFromSource(this, &Tracer::preEventReadFromSource);
365  iRegistry.watchPostEventReadFromSource(this, &Tracer::postEventReadFromSource);
366 
367  iRegistry.watchPreModuleStreamPrefetching(this, &Tracer::preModuleStreamPrefetching);
368  iRegistry.watchPostModuleStreamPrefetching(this, &Tracer::postModuleStreamPrefetching);
369 
370  iRegistry.watchPreModuleStreamBeginRun(this, &Tracer::preModuleStreamBeginRun);
371  iRegistry.watchPostModuleStreamBeginRun(this, &Tracer::postModuleStreamBeginRun);
372  iRegistry.watchPreModuleStreamEndRun(this, &Tracer::preModuleStreamEndRun);
373  iRegistry.watchPostModuleStreamEndRun(this, &Tracer::postModuleStreamEndRun);
374 
375  iRegistry.watchPreModuleStreamBeginLumi(this, &Tracer::preModuleStreamBeginLumi);
376  iRegistry.watchPostModuleStreamBeginLumi(this, &Tracer::postModuleStreamBeginLumi);
377  iRegistry.watchPreModuleStreamEndLumi(this, &Tracer::preModuleStreamEndLumi);
378  iRegistry.watchPostModuleStreamEndLumi(this, &Tracer::postModuleStreamEndLumi);
379 
380  iRegistry.watchPreModuleBeginProcessBlock(this, &Tracer::preModuleBeginProcessBlock);
381  iRegistry.watchPostModuleBeginProcessBlock(this, &Tracer::postModuleBeginProcessBlock);
382  iRegistry.watchPreModuleAccessInputProcessBlock(this, &Tracer::preModuleAccessInputProcessBlock);
383  iRegistry.watchPostModuleAccessInputProcessBlock(this, &Tracer::postModuleAccessInputProcessBlock);
384  iRegistry.watchPreModuleEndProcessBlock(this, &Tracer::preModuleEndProcessBlock);
385  iRegistry.watchPostModuleEndProcessBlock(this, &Tracer::postModuleEndProcessBlock);
386 
387  iRegistry.watchPreModuleGlobalPrefetching(this, &Tracer::preModuleGlobalPrefetching);
388  iRegistry.watchPostModuleGlobalPrefetching(this, &Tracer::postModuleGlobalPrefetching);
389 
390  iRegistry.watchPreModuleGlobalBeginRun(this, &Tracer::preModuleGlobalBeginRun);
391  iRegistry.watchPostModuleGlobalBeginRun(this, &Tracer::postModuleGlobalBeginRun);
392  iRegistry.watchPreModuleGlobalEndRun(this, &Tracer::preModuleGlobalEndRun);
393  iRegistry.watchPostModuleGlobalEndRun(this, &Tracer::postModuleGlobalEndRun);
394 
395  iRegistry.watchPreModuleGlobalBeginLumi(this, &Tracer::preModuleGlobalBeginLumi);
396  iRegistry.watchPostModuleGlobalBeginLumi(this, &Tracer::postModuleGlobalBeginLumi);
397  iRegistry.watchPreModuleGlobalEndLumi(this, &Tracer::preModuleGlobalEndLumi);
398  iRegistry.watchPostModuleGlobalEndLumi(this, &Tracer::postModuleGlobalEndLumi);
399 
400  iRegistry.watchPreModuleWriteProcessBlock(this, &Tracer::preModuleWriteProcessBlock);
401  iRegistry.watchPostModuleWriteProcessBlock(this, &Tracer::postModuleWriteProcessBlock);
402 
403  iRegistry.watchPreModuleWriteRun(this, &Tracer::preModuleWriteRun);
404  iRegistry.watchPostModuleWriteRun(this, &Tracer::postModuleWriteRun);
405 
406  iRegistry.watchPreModuleWriteLumi(this, &Tracer::preModuleWriteLumi);
407  iRegistry.watchPostModuleWriteLumi(this, &Tracer::postModuleWriteLumi);
408 
409  iRegistry.watchPreSourceConstruction(this, &Tracer::preSourceConstruction);
410  iRegistry.watchPostSourceConstruction(this, &Tracer::postSourceConstruction);
411 
412  iRegistry.watchPreESModulePrefetching(this, &Tracer::preESModulePrefetching);
413  iRegistry.watchPostESModulePrefetching(this, &Tracer::postESModulePrefetching);
414  iRegistry.watchPreESModule(this, &Tracer::preESModule);
415  iRegistry.watchPostESModule(this, &Tracer::postESModule);
416 
417  iRegistry.preSourceEarlyTerminationSignal_.connect([this](edm::TerminationOrigin iOrigin) {
418  LogAbsolute out("Tracer");
419  out << TimeStamper(printTimestamps_);
420  out << indention_ << indention_ << " early termination before processing transition";
421  });
422  iRegistry.preStreamEarlyTerminationSignal_.connect(
423  [this](edm::StreamContext const& iContext, edm::TerminationOrigin iOrigin) {
424  LogAbsolute out("Tracer");
425  out << TimeStamper(printTimestamps_);
426  if (iContext.eventID().luminosityBlock() == 0) {
427  out << indention_ << indention_ << " early termination of run: stream = " << iContext.streamID()
428  << " run = " << iContext.eventID().run();
429  } else {
430  if (iContext.eventID().event() == 0) {
431  out << indention_ << indention_ << " early termination of stream lumi: stream = " << iContext.streamID()
432  << " run = " << iContext.eventID().run() << " lumi = " << iContext.eventID().luminosityBlock();
433  } else {
434  out << indention_ << indention_ << " early termination of event: stream = " << iContext.streamID()
435  << " run = " << iContext.eventID().run() << " lumi = " << iContext.eventID().luminosityBlock()
436  << " event = " << iContext.eventID().event();
437  }
438  }
439  out << " : time = " << iContext.timestamp().value();
440  });
441  iRegistry.preGlobalEarlyTerminationSignal_.connect(
442  [this](edm::GlobalContext const& iContext, edm::TerminationOrigin iOrigin) {
443  LogAbsolute out("Tracer");
444  out << TimeStamper(printTimestamps_);
445  if (iContext.luminosityBlockID().value() == 0) {
446  out << indention_ << indention_ << " early termination of global run " << iContext.luminosityBlockID().run();
447  } else {
449  << " early termination of global lumi run = " << iContext.luminosityBlockID().run()
450  << " lumi = " << iContext.luminosityBlockID().luminosityBlock();
451  }
452  out << " : time = " << iContext.timestamp().value();
453  });
454 
455  iRegistry.esSyncIOVQueuingSignal_.connect([this](edm::IOVSyncValue const& iSync) {
456  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
457  << " queuing: EventSetup synchronization " << iSync.eventID();
458  });
459  iRegistry.preESSyncIOVSignal_.connect([this](edm::IOVSyncValue const& iSync) {
460  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
461  << " pre: EventSetup synchronizing " << iSync.eventID();
462  });
463  iRegistry.postESSyncIOVSignal_.connect([this](edm::IOVSyncValue const& iSync) {
464  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
465  << " post: EventSetup synchronizing " << iSync.eventID();
466  });
467 }
void postEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1218
void preModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1643
void postSourceRun(RunIndex)
Definition: Tracer.cc:618
LuminosityBlockNumber_t luminosityBlock() const
void postModuleDestruction(ModuleDescription const &md)
Definition: Tracer.cc:1045
void postModuleGlobalPrefetching(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1396
void preModuleDestruction(ModuleDescription const &md)
Definition: Tracer.cc:1035
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1510
void postSourceProcessBlock(std::string const &)
Definition: Tracer.cc:627
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1570
void postESModulePrefetching(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1734
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1366
void postModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1166
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1555
void postModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1025
Timestamp const & timestamp() const
Definition: StreamContext.h:63
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:691
void preSourceRun(RunIndex)
Definition: Tracer.cc:614
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1600
void postModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1688
void postModuleWriteProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1629
void preBeginProcessBlock(GlobalContext const &)
Definition: Tracer.cc:703
void preallocate(service::SystemBounds const &)
Definition: Tracer.cc:492
void postStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:938
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1585
void preGlobalWriteRun(GlobalContext const &)
Definition: Tracer.cc:807
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1321
void preGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:887
void preModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:1075
void preCloseFile(std::string const &lfn)
Definition: Tracer.cc:644
void postCloseFile(std::string const &)
Definition: Tracer.cc:649
void preModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1015
void preBeginJob(PathsAndConsumesOfModulesBase const &, ProcessContext const &)
Definition: Tracer.cc:499
void postStreamEndRun(StreamContext const &)
Definition: Tracer.cc:857
void postGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:897
void postSourceLumi(LuminosityBlockIndex)
Definition: Tracer.cc:610
void postModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:1065
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1306
bool dumpEventSetupInfo_
Definition: Tracer.cc:231
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
void preStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:949
void preEndProcessBlock(GlobalContext const &)
Definition: Tracer.cc:735
void preSourceProcessBlock()
Definition: Tracer.cc:622
char const * label
void preAccessInputProcessBlock(GlobalContext const &)
Definition: Tracer.cc:719
void preESModule(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1745
void postModuleStreamPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1245
void preGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:767
void postModuleBeginProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1425
void preSourceEvent(StreamID)
Definition: Tracer.cc:598
void preGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:787
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1351
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1261
void preESModulePrefetching(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1723
void prePathEvent(StreamContext const &, PathContext const &)
Definition: Tracer.cc:993
void postAccessInputProcessBlock(GlobalContext const &)
Definition: Tracer.cc:727
StreamID const & streamID() const
Definition: StreamContext.h:55
void postModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1110
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1336
void postESModule(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1756
bool dumpPathsAndConsumes_
Definition: Tracer.cc:229
void postGlobalWriteLumi(GlobalContext const &)
Definition: Tracer.cc:917
void preModuleBeginProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1411
void preModuleEndProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1467
void postEndProcessBlock(GlobalContext const &)
Definition: Tracer.cc:743
void postGlobalWriteRun(GlobalContext const &)
Definition: Tracer.cc:817
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1525
void postStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:837
void preStreamEndRun(StreamContext const &)
Definition: Tracer.cc:847
void postOpenFile(std::string const &)
Definition: Tracer.cc:638
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:62
void preOpenFile(std::string const &)
Definition: Tracer.cc:632
void preEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1207
Timestamp const & timestamp() const
Definition: GlobalContext.h:65
void postModuleAccessInputProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1453
RunNumber_t run() const
void preModuleStreamPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1229
void postPathEvent(StreamContext const &, PathContext const &, HLTPathStatus const &)
Definition: Tracer.cc:1004
RunNumber_t run() const
Definition: EventID.h:38
void preModuleAccessInputProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1439
void postModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1192
void preSourceLumi(LuminosityBlockIndex)
Definition: Tracer.cc:606
void postModuleEndProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1481
void postSourceEvent(StreamID)
Definition: Tracer.cc:602
TimeValue_t value() const
Definition: Timestamp.h:38
std::string indention_
Definition: Tracer.cc:226
void postBeginProcessBlock(GlobalContext const &)
Definition: Tracer.cc:711
void preSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1703
void preModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1095
void postModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1658
const EventID & eventID() const
Definition: IOVSyncValue.h:40
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1125
void preModuleWriteProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1615
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:655
void postGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:777
void postGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:797
void postGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:877
void preGlobalWriteLumi(GlobalContext const &)
Definition: Tracer.cc:907
void preModuleGlobalPrefetching(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1381
void preWriteProcessBlock(GlobalContext const &)
Definition: Tracer.cc:751
EventID const & eventID() const
Definition: StreamContext.h:60
void preEvent(StreamContext const &)
Definition: Tracer.cc:971
void preModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1673
void preStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:927
void postModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:1085
Log< level::System, true > LogAbsolute
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:679
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1140
void preModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1177
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:667
void preModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1155
bool dumpNonModuleContext_
Definition: Tracer.cc:228
void postWriteProcessBlock(GlobalContext const &)
Definition: Tracer.cc:759
void preModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:1055
void postStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:960
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1291
void postEvent(StreamContext const &)
Definition: Tracer.cc:982
void preStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:827
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1276
def move(src, dest)
Definition: eostools.py:511
EventNumber_t event() const
Definition: EventID.h:40
void preGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:867
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1540
void postSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1713
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1495

Member Function Documentation

◆ fillDescriptions()

void Tracer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 469 of file Tracer.cc.

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, edm::ConfigurationDescriptions::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.

469  {
471  desc.addUntracked<std::string>("indention", "++")
472  ->setComment("Prefix characters for output. The characters are repeated to form the indentation.");
473  desc.addUntracked<std::vector<std::string>>("dumpContextForLabels", std::vector<std::string>{})
474  ->setComment(
475  "Prints context information to cout for the module transitions associated with these modules' labels");
476  desc.addUntracked<bool>("dumpNonModuleContext", false)
477  ->setComment("Prints context information to cout for the transitions not associated with any module label");
478  desc.addUntracked<bool>("dumpPathsAndConsumes", false)
479  ->setComment(
480  "Prints information to cout about paths, endpaths, products consumed by modules and the dependencies between "
481  "modules created by the products they consume");
482  desc.addUntracked<bool>("printTimestamps", false)->setComment("Prints a time stamp for every transition");
483  desc.addUntracked<bool>("dumpEventSetupInfo", false)
484  ->setComment(
485  "Prints info 3 times when an event setup cache is filled, before the lock, after the lock, and after "
486  "filling");
487  descriptions.add("Tracer", desc);
488  descriptions.setComment(
489  "This service prints each phase the framework is processing, e.g. constructing a module,running a module, etc.");
490 }
void setComment(std::string const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)

◆ postAccessInputProcessBlock()

void Tracer::postAccessInputProcessBlock ( GlobalContext const &  gc)

Definition at line 727 of file Tracer.cc.

References dumpNonModuleContext_, indention_, and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

727  {
728  LogAbsolute out("Tracer");
729  out << indention_ << indention_ << " finished: access input process block";
730  if (dumpNonModuleContext_) {
731  out << "\n" << gc;
732  }
733 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postBeginJob()

void Tracer::postBeginJob ( )

Definition at line 590 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

590  {
591  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: begin job";
592 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ postBeginProcessBlock()

void Tracer::postBeginProcessBlock ( GlobalContext const &  gc)

Definition at line 711 of file Tracer.cc.

References dumpNonModuleContext_, indention_, and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

711  {
712  LogAbsolute out("Tracer");
713  out << indention_ << indention_ << " finished: begin process block";
714  if (dumpNonModuleContext_) {
715  out << "\n" << gc;
716  }
717 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postCloseFile()

void Tracer::postCloseFile ( std::string const &  lfn)

Definition at line 649 of file Tracer.cc.

References indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

649  {
650  LogAbsolute out("Tracer");
651  out << TimeStamper(printTimestamps_);
652  out << indention_ << indention_ << " finished: close input file: lfn = " << lfn;
653 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ postEndJob()

void Tracer::postEndJob ( )

Definition at line 594 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

594  {
595  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: end job";
596 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ postEndProcessBlock()

void Tracer::postEndProcessBlock ( GlobalContext const &  gc)

Definition at line 743 of file Tracer.cc.

References dumpNonModuleContext_, indention_, and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

743  {
744  LogAbsolute out("Tracer");
745  out << indention_ << indention_ << " finished: end process block";
746  if (dumpNonModuleContext_) {
747  out << "\n" << gc;
748  }
749 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postESModule()

void Tracer::postESModule ( eventsetup::EventSetupRecordKey const &  iKey,
ESModuleCallingContext const &  mcc 
)

Definition at line 1756 of file Tracer.cc.

References edm::ESModuleCallingContext::componentDescription(), edm::ESModuleCallingContext::depth(), mps_fire::i, indention_, edm::eventsetup::ComponentDescription::label_, edm::eventsetup::EventSetupRecordKey::name(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::eventsetup::ComponentDescription::type_.

Referenced by Tracer().

1756  {
1757  LogAbsolute out("Tracer");
1758  out << TimeStamper(printTimestamps_);
1759  unsigned int nIndents = mcc.depth() + 4;
1760  for (unsigned int i = 0; i < nIndents; ++i) {
1761  out << indention_;
1762  }
1763  out << " finished: processing esmodule: label = '" << mcc.componentDescription()->label_
1764  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1765 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ postESModulePrefetching()

void Tracer::postESModulePrefetching ( eventsetup::EventSetupRecordKey const &  iKey,
ESModuleCallingContext const &  mcc 
)

Definition at line 1734 of file Tracer.cc.

References edm::ESModuleCallingContext::componentDescription(), edm::ESModuleCallingContext::depth(), mps_fire::i, indention_, edm::eventsetup::ComponentDescription::label_, edm::eventsetup::EventSetupRecordKey::name(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::eventsetup::ComponentDescription::type_.

Referenced by Tracer().

1734  {
1735  LogAbsolute out("Tracer");
1736  out << TimeStamper(printTimestamps_);
1737  unsigned int nIndents = mcc.depth() + 4;
1738  for (unsigned int i = 0; i < nIndents; ++i) {
1739  out << indention_;
1740  }
1741  out << " finished: prefetching for esmodule: label = '" << mcc.componentDescription()->label_
1742  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1743 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ postEvent()

void Tracer::postEvent ( StreamContext const &  sc)

Definition at line 982 of file Tracer.cc.

References dumpNonModuleContext_, edm::EventID::event(), edm::StreamContext::eventID(), indention_, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

982  {
983  LogAbsolute out("Tracer");
984  out << TimeStamper(printTimestamps_);
985  out << indention_ << indention_ << " finished: processing event : stream = " << sc.streamID()
986  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
987  << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
988  if (dumpNonModuleContext_) {
989  out << "\n" << sc;
990  }
991 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postEventReadFromSource()

void Tracer::postEventReadFromSource ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1218 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1218  {
1219  LogAbsolute out("Tracer");
1220  out << TimeStamper(printTimestamps_);
1221  unsigned int nIndents = mcc.depth() + 5;
1222  for (unsigned int i = 0; i < nIndents; ++i) {
1223  out << indention_;
1224  }
1225  out << " finished: event delayed read from source: stream = " << sc.streamID() << " label = '"
1226  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1227 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ postGlobalBeginLumi()

void Tracer::postGlobalBeginLumi ( GlobalContext const &  gc)

Definition at line 877 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

877  {
878  LogAbsolute out("Tracer");
879  out << TimeStamper(printTimestamps_);
880  out << indention_ << indention_ << " finished: global begin lumi: run = " << gc.luminosityBlockID().run()
881  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
882  if (dumpNonModuleContext_) {
883  out << "\n" << gc;
884  }
885 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postGlobalBeginRun()

void Tracer::postGlobalBeginRun ( GlobalContext const &  gc)

Definition at line 777 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

777  {
778  LogAbsolute out("Tracer");
779  out << TimeStamper(printTimestamps_);
780  out << indention_ << indention_ << " finished: global begin run " << gc.luminosityBlockID().run()
781  << " : time = " << gc.timestamp().value();
782  if (dumpNonModuleContext_) {
783  out << "\n" << gc;
784  }
785 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postGlobalEndLumi()

void Tracer::postGlobalEndLumi ( GlobalContext const &  gc)

Definition at line 897 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

897  {
898  LogAbsolute out("Tracer");
899  out << TimeStamper(printTimestamps_);
900  out << indention_ << indention_ << " finished: global end lumi: run = " << gc.luminosityBlockID().run()
901  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
902  if (dumpNonModuleContext_) {
903  out << "\n" << gc;
904  }
905 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postGlobalEndRun()

void Tracer::postGlobalEndRun ( GlobalContext const &  gc)

Definition at line 797 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

797  {
798  LogAbsolute out("Tracer");
799  out << TimeStamper(printTimestamps_);
800  out << indention_ << indention_ << " finished: global end run " << gc.luminosityBlockID().run()
801  << " : time = " << gc.timestamp().value();
802  if (dumpNonModuleContext_) {
803  out << "\n" << gc;
804  }
805 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postGlobalWriteLumi()

void Tracer::postGlobalWriteLumi ( GlobalContext const &  gc)

Definition at line 917 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

917  {
918  LogAbsolute out("Tracer");
919  out << TimeStamper(printTimestamps_);
920  out << indention_ << indention_ << " finished: global write lumi: run = " << gc.luminosityBlockID().run()
921  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
922  if (dumpNonModuleContext_) {
923  out << "\n" << gc;
924  }
925 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postGlobalWriteRun()

void Tracer::postGlobalWriteRun ( GlobalContext const &  gc)

Definition at line 817 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

817  {
818  LogAbsolute out("Tracer");
819  out << TimeStamper(printTimestamps_);
820  out << indention_ << indention_ << " finished: global write run " << gc.luminosityBlockID().run()
821  << " : time = " << gc.timestamp().value();
822  if (dumpNonModuleContext_) {
823  out << "\n" << gc;
824  }
825 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postModuleAccessInputProcessBlock()

void Tracer::postModuleAccessInputProcessBlock ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1453 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

1453  {
1454  LogAbsolute out("Tracer");
1455  unsigned int nIndents = mcc.depth() + 3;
1456  for (unsigned int i = 0; i < nIndents; ++i) {
1457  out << indention_;
1458  }
1459  out << " finished: access input process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1460  << "' id = " << mcc.moduleDescription()->id();
1461  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1462  out << "\n" << gc;
1463  out << mcc;
1464  }
1465 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleBeginJob()

void Tracer::postModuleBeginJob ( ModuleDescription const &  md)

Definition at line 1065 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpContextForLabels_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1065  {
1066  LogAbsolute out("Tracer");
1067  out << TimeStamper(printTimestamps_);
1068  out << indention_ << indention_;
1069  out << " finished: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
1070  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1071  out << "\n" << desc;
1072  }
1073 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleBeginProcessBlock()

void Tracer::postModuleBeginProcessBlock ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1425 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

1425  {
1426  LogAbsolute out("Tracer");
1427  unsigned int nIndents = mcc.depth() + 3;
1428  for (unsigned int i = 0; i < nIndents; ++i) {
1429  out << indention_;
1430  }
1431  out << " finished: begin process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1432  << "' id = " << mcc.moduleDescription()->id();
1433  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1434  out << "\n" << gc;
1435  out << mcc;
1436  }
1437 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleBeginStream()

void Tracer::postModuleBeginStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 667 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpContextForLabels_, indention_, edm::ModuleCallingContext::moduleDescription(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

667  {
668  ModuleDescription const& desc = *mcc.moduleDescription();
669  LogAbsolute out("Tracer");
670  out << TimeStamper(printTimestamps_);
671  out << indention_ << indention_ << " finished: begin stream for module: stream = " << sc.streamID() << " label = '"
672  << desc.moduleLabel() << "' id = " << desc.id();
673  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
674  out << "\n" << sc;
675  out << mcc;
676  }
677 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleConstruction()

void Tracer::postModuleConstruction ( ModuleDescription const &  md)

Definition at line 1025 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpContextForLabels_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1025  {
1026  LogAbsolute out("Tracer");
1027  out << TimeStamper(printTimestamps_);
1028  out << indention_ << indention_ << " finished: constructing module with label '" << desc.moduleLabel()
1029  << "' id = " << desc.id();
1030  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1031  out << "\n" << desc;
1032  }
1033 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleDestruction()

void Tracer::postModuleDestruction ( ModuleDescription const &  md)

Definition at line 1045 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpContextForLabels_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1045  {
1046  LogAbsolute out("Tracer");
1047  out << TimeStamper(printTimestamps_);
1048  out << indention_ << indention_ << " finished: destructing module with label '" << desc.moduleLabel()
1049  << "' id = " << desc.id();
1050  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1051  out << "\n" << desc;
1052  }
1053 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleEndJob()

void Tracer::postModuleEndJob ( ModuleDescription const &  md)

Definition at line 1085 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpContextForLabels_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1085  {
1086  LogAbsolute out("Tracer");
1087  out << TimeStamper(printTimestamps_);
1088  out << indention_ << indention_;
1089  out << " finished: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
1090  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1091  out << "\n" << desc;
1092  }
1093 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleEndProcessBlock()

void Tracer::postModuleEndProcessBlock ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1481 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

1481  {
1482  LogAbsolute out("Tracer");
1483  unsigned int nIndents = mcc.depth() + 3;
1484  for (unsigned int i = 0; i < nIndents; ++i) {
1485  out << indention_;
1486  }
1487  out << " finished: end process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1488  << "' id = " << mcc.moduleDescription()->id();
1489  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1490  out << "\n" << gc;
1491  out << mcc;
1492  }
1493 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleEndStream()

void Tracer::postModuleEndStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 691 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpContextForLabels_, indention_, edm::ModuleCallingContext::moduleDescription(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

691  {
692  ModuleDescription const& desc = *mcc.moduleDescription();
693  LogAbsolute out("Tracer");
694  out << TimeStamper(printTimestamps_);
695  out << indention_ << indention_ << " finished: end stream for module: stream = " << sc.streamID() << " label = '"
696  << desc.moduleLabel() << "' id = " << desc.id();
697  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
698  out << "\n" << sc;
699  out << mcc;
700  }
701 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleEvent()

void Tracer::postModuleEvent ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1140 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1140  {
1141  LogAbsolute out("Tracer");
1142  out << TimeStamper(printTimestamps_);
1143  unsigned int nIndents = mcc.depth() + 4;
1144  for (unsigned int i = 0; i < nIndents; ++i) {
1145  out << indention_;
1146  }
1147  out << " finished: processing event for module: stream = " << sc.streamID() << " label = '"
1148  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1149  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1150  out << "\n" << sc;
1151  out << mcc;
1152  }
1153 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleEventAcquire()

void Tracer::postModuleEventAcquire ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1166 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1166  {
1167  LogAbsolute out("Tracer");
1168  out << TimeStamper(printTimestamps_);
1169  unsigned int nIndents = mcc.depth() + 4;
1170  for (unsigned int i = 0; i < nIndents; ++i) {
1171  out << indention_;
1172  }
1173  out << " finished: processing event acquire for module: stream = " << sc.streamID() << " label = '"
1174  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1175 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ postModuleEventDelayedGet()

void Tracer::postModuleEventDelayedGet ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1192 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1192  {
1193  LogAbsolute out("Tracer");
1194  out << TimeStamper(printTimestamps_);
1195  unsigned int nIndents = mcc.depth() + 4;
1196  for (unsigned int i = 0; i < nIndents; ++i) {
1197  out << indention_;
1198  }
1199  out << " finished: delayed processing event for module: stream = " << sc.streamID() << " label = '"
1200  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1201  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1202  out << "\n" << sc;
1203  out << mcc;
1204  }
1205 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleEventPrefetching()

void Tracer::postModuleEventPrefetching ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1110 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1110  {
1111  LogAbsolute out("Tracer");
1112  out << TimeStamper(printTimestamps_);
1113  unsigned int nIndents = mcc.depth() + 4;
1114  for (unsigned int i = 0; i < nIndents; ++i) {
1115  out << indention_;
1116  }
1117  out << " finished: prefetching before processing event for module: stream = " << sc.streamID() << " label = '"
1118  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1119  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1120  out << "\n" << sc;
1121  out << mcc;
1122  }
1123 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleGlobalBeginLumi()

void Tracer::postModuleGlobalBeginLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1570 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1570  {
1571  LogAbsolute out("Tracer");
1572  out << TimeStamper(printTimestamps_);
1573  unsigned int nIndents = mcc.depth() + 3;
1574  for (unsigned int i = 0; i < nIndents; ++i) {
1575  out << indention_;
1576  }
1577  out << " finished: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1578  << "' id = " << mcc.moduleDescription()->id();
1579  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1580  out << "\n" << gc;
1581  out << mcc;
1582  }
1583 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleGlobalBeginRun()

void Tracer::postModuleGlobalBeginRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1510 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1510  {
1511  LogAbsolute out("Tracer");
1512  out << TimeStamper(printTimestamps_);
1513  unsigned int nIndents = mcc.depth() + 3;
1514  for (unsigned int i = 0; i < nIndents; ++i) {
1515  out << indention_;
1516  }
1517  out << " finished: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1518  << "' id = " << mcc.moduleDescription()->id();
1519  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1520  out << "\n" << gc;
1521  out << mcc;
1522  }
1523 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleGlobalEndLumi()

void Tracer::postModuleGlobalEndLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1600 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1600  {
1601  LogAbsolute out("Tracer");
1602  out << TimeStamper(printTimestamps_);
1603  unsigned int nIndents = mcc.depth() + 3;
1604  for (unsigned int i = 0; i < nIndents; ++i) {
1605  out << indention_;
1606  }
1607  out << " finished: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1608  << "' id = " << mcc.moduleDescription()->id();
1609  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1610  out << "\n" << gc;
1611  out << mcc;
1612  }
1613 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleGlobalEndRun()

void Tracer::postModuleGlobalEndRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1540 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1540  {
1541  LogAbsolute out("Tracer");
1542  out << TimeStamper(printTimestamps_);
1543  unsigned int nIndents = mcc.depth() + 3;
1544  for (unsigned int i = 0; i < nIndents; ++i) {
1545  out << indention_;
1546  }
1547  out << " finished: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1548  << "' id = " << mcc.moduleDescription()->id();
1549  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1550  out << "\n" << gc;
1551  out << mcc;
1552  }
1553 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleGlobalPrefetching()

void Tracer::postModuleGlobalPrefetching ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1396 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::GlobalContext::transition(), and edm::transitionName().

Referenced by Tracer().

1396  {
1397  LogAbsolute out("Tracer");
1398  out << TimeStamper(printTimestamps_);
1399  unsigned int nIndents = mcc.depth() + 4;
1400  for (unsigned int i = 0; i < nIndents; ++i) {
1401  out << indention_;
1402  }
1403  out << " finished: prefetching before processing " << transitionName(gc.transition()) << " for module: label = '"
1404  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1405  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1406  out << "\n" << gc;
1407  out << mcc;
1408  }
1409 }
std::string_view transitionName(GlobalContext::Transition)
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleStreamBeginLumi()

void Tracer::postModuleStreamBeginLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1336 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1336  {
1337  LogAbsolute out("Tracer");
1338  out << TimeStamper(printTimestamps_);
1339  unsigned int nIndents = mcc.depth() + 3;
1340  for (unsigned int i = 0; i < nIndents; ++i) {
1341  out << indention_;
1342  }
1343  out << " finished: begin lumi for module: stream = " << sc.streamID() << " label = '"
1344  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1345  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1346  out << "\n" << sc;
1347  out << mcc;
1348  }
1349 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleStreamBeginRun()

void Tracer::postModuleStreamBeginRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1276 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1276  {
1277  LogAbsolute out("Tracer");
1278  out << TimeStamper(printTimestamps_);
1279  unsigned int nIndents = mcc.depth() + 3;
1280  for (unsigned int i = 0; i < nIndents; ++i) {
1281  out << indention_;
1282  }
1283  out << " finished: begin run for module: stream = " << sc.streamID() << " label = '"
1284  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1285  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1286  out << "\n" << sc;
1287  out << mcc;
1288  }
1289 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleStreamEndLumi()

void Tracer::postModuleStreamEndLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1366 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1366  {
1367  LogAbsolute out("Tracer");
1368  out << TimeStamper(printTimestamps_);
1369  unsigned int nIndents = mcc.depth() + 3;
1370  for (unsigned int i = 0; i < nIndents; ++i) {
1371  out << indention_;
1372  }
1373  out << " finished: end lumi for module: stream = " << sc.streamID() << " label = '"
1374  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1375  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1376  out << "\n" << sc;
1377  out << mcc;
1378  }
1379 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleStreamEndRun()

void Tracer::postModuleStreamEndRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1306 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1306  {
1307  LogAbsolute out("Tracer");
1308  out << TimeStamper(printTimestamps_);
1309  unsigned int nIndents = mcc.depth() + 3;
1310  for (unsigned int i = 0; i < nIndents; ++i) {
1311  out << indention_;
1312  }
1313  out << " finished: end run for module: stream = " << sc.streamID() << " label = '"
1314  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1315  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1316  out << "\n" << sc;
1317  out << mcc;
1318  }
1319 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleStreamPrefetching()

void Tracer::postModuleStreamPrefetching ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1245 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::StreamContext::streamID(), edm::StreamContext::transition(), and edm::transitionName().

Referenced by Tracer().

1245  {
1246  LogAbsolute out("Tracer");
1247  out << TimeStamper(printTimestamps_);
1248  unsigned int nIndents = mcc.depth() + 4;
1249  for (unsigned int i = 0; i < nIndents; ++i) {
1250  out << indention_;
1251  }
1252  out << " finished: prefetching before processing " << transitionName(sc.transition())
1253  << " for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel()
1254  << "' id = " << mcc.moduleDescription()->id();
1255  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1256  out << "\n" << sc;
1257  out << mcc;
1258  }
1259 }
std::string_view transitionName(GlobalContext::Transition)
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleWriteLumi()

void Tracer::postModuleWriteLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1688 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1688  {
1689  LogAbsolute out("Tracer");
1690  out << TimeStamper(printTimestamps_);
1691  unsigned int nIndents = mcc.depth() + 3;
1692  for (unsigned int i = 0; i < nIndents; ++i) {
1693  out << indention_;
1694  }
1695  out << " finished: write lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1696  << "' id = " << mcc.moduleDescription()->id();
1697  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1698  out << "\n" << gc;
1699  out << mcc;
1700  }
1701 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleWriteProcessBlock()

void Tracer::postModuleWriteProcessBlock ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1629 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

1629  {
1630  LogAbsolute out("Tracer");
1631  unsigned int nIndents = mcc.depth() + 3;
1632  for (unsigned int i = 0; i < nIndents; ++i) {
1633  out << indention_;
1634  }
1635  out << " finished: write process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1636  << "' id = " << mcc.moduleDescription()->id();
1637  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1638  out << "\n" << gc;
1639  out << mcc;
1640  }
1641 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postModuleWriteRun()

void Tracer::postModuleWriteRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1658 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1658  {
1659  LogAbsolute out("Tracer");
1660  out << TimeStamper(printTimestamps_);
1661  unsigned int nIndents = mcc.depth() + 3;
1662  for (unsigned int i = 0; i < nIndents; ++i) {
1663  out << indention_;
1664  }
1665  out << " finished: write run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1666  << "' id = " << mcc.moduleDescription()->id();
1667  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1668  out << "\n" << gc;
1669  out << mcc;
1670  }
1671 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ postOpenFile()

void Tracer::postOpenFile ( std::string const &  lfn)

Definition at line 638 of file Tracer.cc.

References indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

638  {
639  LogAbsolute out("Tracer");
640  out << TimeStamper(printTimestamps_);
641  out << indention_ << indention_ << " finished: open input file: lfn = " << lfn;
642 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ postPathEvent()

void Tracer::postPathEvent ( StreamContext const &  sc,
PathContext const &  pc,
HLTPathStatus const &  hlts 
)

Definition at line 1004 of file Tracer.cc.

References dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, edm::PathContext::pathName(), printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1004  {
1005  LogAbsolute out("Tracer");
1006  out << TimeStamper(printTimestamps_);
1007  out << indention_ << indention_ << indention_ << " finished: processing path '" << pc.pathName()
1008  << "' : stream = " << sc.streamID();
1009  if (dumpNonModuleContext_) {
1010  out << "\n" << sc;
1011  out << pc;
1012  }
1013 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postSourceConstruction()

void Tracer::postSourceConstruction ( ModuleDescription const &  md)

Definition at line 1713 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1713  {
1714  LogAbsolute out("Tracer");
1715  out << TimeStamper(printTimestamps_);
1716  out << indention_;
1717  out << " finished: constructing source: " << desc.moduleName();
1718  if (dumpNonModuleContext_) {
1719  out << "\n" << desc;
1720  }
1721 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postSourceEvent()

void Tracer::postSourceEvent ( StreamID  sid)

Definition at line 602 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

602  {
603  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source event";
604 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ postSourceLumi()

void Tracer::postSourceLumi ( LuminosityBlockIndex  index)

Definition at line 610 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

610  {
611  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source lumi";
612 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ postSourceProcessBlock()

void Tracer::postSourceProcessBlock ( std::string const &  processName)

Definition at line 627 of file Tracer.cc.

References indention_, printTimestamps_, and SimL1EmulatorRepack_CalouGT_cff::processName.

Referenced by Tracer().

627  {
628  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
629  << " finished: source process block " << processName;
630 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ postSourceRun()

void Tracer::postSourceRun ( RunIndex  index)

Definition at line 618 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

618  {
619  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source run";
620 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ postStreamBeginLumi()

void Tracer::postStreamBeginLumi ( StreamContext const &  sc)

Definition at line 938 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

938  {
939  LogAbsolute out("Tracer");
940  out << TimeStamper(printTimestamps_);
941  out << indention_ << indention_ << " finished: begin lumi: stream = " << sc.streamID()
942  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
943  << " time = " << sc.timestamp().value();
944  if (dumpNonModuleContext_) {
945  out << "\n" << sc;
946  }
947 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postStreamBeginRun()

void Tracer::postStreamBeginRun ( StreamContext const &  sc)

Definition at line 837 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

837  {
838  LogAbsolute out("Tracer");
839  out << TimeStamper(printTimestamps_);
840  out << indention_ << indention_ << " finished: begin run: stream = " << sc.streamID()
841  << " run = " << sc.eventID().run() << " time = " << sc.timestamp().value();
842  if (dumpNonModuleContext_) {
843  out << "\n" << sc;
844  }
845 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postStreamEndLumi()

void Tracer::postStreamEndLumi ( StreamContext const &  sc)

Definition at line 960 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

960  {
961  LogAbsolute out("Tracer");
962  out << TimeStamper(printTimestamps_);
963  out << indention_ << indention_ << " finished: end lumi: stream = " << sc.streamID()
964  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
965  << " time = " << sc.timestamp().value();
966  if (dumpNonModuleContext_) {
967  out << "\n" << sc;
968  }
969 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postStreamEndRun()

void Tracer::postStreamEndRun ( StreamContext const &  sc)

Definition at line 857 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

857  {
858  LogAbsolute out("Tracer");
859  out << TimeStamper(printTimestamps_);
860  out << indention_ << indention_ << " finished: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
861  << " time = " << sc.timestamp().value();
862  if (dumpNonModuleContext_) {
863  out << "\n" << sc;
864  }
865 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ postWriteProcessBlock()

void Tracer::postWriteProcessBlock ( GlobalContext const &  gc)

Definition at line 759 of file Tracer.cc.

References dumpNonModuleContext_, indention_, and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

759  {
760  LogAbsolute out("Tracer");
761  out << indention_ << indention_ << " finished: write process block";
762  if (dumpNonModuleContext_) {
763  out << "\n" << gc;
764  }
765 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preAccessInputProcessBlock()

void Tracer::preAccessInputProcessBlock ( GlobalContext const &  gc)

Definition at line 719 of file Tracer.cc.

References dumpNonModuleContext_, indention_, and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

719  {
720  LogAbsolute out("Tracer");
721  out << indention_ << indention_ << " starting: access input process block";
722  if (dumpNonModuleContext_) {
723  out << "\n" << gc;
724  }
725 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preallocate()

void Tracer::preallocate ( service::SystemBounds const &  bounds)

Definition at line 492 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

492  {
493  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_
494  << " preallocate: " << bounds.maxNumberOfConcurrentRuns() << " concurrent runs, "
495  << bounds.maxNumberOfConcurrentLuminosityBlocks() << " concurrent luminosity sections, "
496  << bounds.maxNumberOfStreams() << " streams";
497 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ preBeginJob()

void Tracer::preBeginJob ( PathsAndConsumesOfModulesBase const &  pathsAndConsumes,
ProcessContext const &  pc 
)

Definition at line 499 of file Tracer.cc.

References edm::PathsAndConsumesOfModulesBase::allModules(), edmTracerLogToSimpleConfig::allModules, edm::PathsAndConsumesOfModulesBase::consumesInfo(), submitPVResolutionJobs::desc, dumpPathsAndConsumes_, edm::ELEMENT_TYPE, convertToRaw::endpath, edm::PathsAndConsumesOfModulesBase::endPaths(), Exception, indention_, info(), edm::InLumi, edm::InProcess, edm::InRun, dqmiolumiharvest::j, callgraph::module, edm::PathsAndConsumesOfModulesBase::moduleDescription(), edm::PathsAndConsumesOfModulesBase::modulesOnEndPath(), edm::PathsAndConsumesOfModulesBase::modulesOnPath(), edm::PathsAndConsumesOfModulesBase::modulesWhoseProductsAreConsumedBy(), MillePedeFileConverter_cfg::out, castor_dqm_sourceclient_file_cfg::path, Skims_PA_cff::paths, edm::PathsAndConsumesOfModulesBase::paths(), printTimestamps_, and edm::ProcessContext::processName().

Referenced by Tracer().

499  {
500  LogAbsolute out("Tracer");
501  out << TimeStamper(printTimestamps_) << indention_ << " starting: begin job";
502  if (dumpPathsAndConsumes_) {
503  out << "\n"
504  << "Process name = " << pc.processName() << "\n";
505  out << "paths:\n";
506  std::vector<std::string> const& paths = pathsAndConsumes.paths();
507  for (auto const& path : paths) {
508  out << " " << path << "\n";
509  }
510  out << "end paths:\n";
511  std::vector<std::string> const& endpaths = pathsAndConsumes.endPaths();
512  for (auto const& endpath : endpaths) {
513  out << " " << endpath << "\n";
514  }
515  for (unsigned int j = 0; j < paths.size(); ++j) {
516  std::vector<ModuleDescription const*> const& modulesOnPath = pathsAndConsumes.modulesOnPath(j);
517  out << "modules on path " << paths.at(j) << ":\n";
518  for (auto const& desc : modulesOnPath) {
519  out << " " << desc->moduleLabel() << "\n";
520  }
521  }
522  for (unsigned int j = 0; j < endpaths.size(); ++j) {
523  std::vector<ModuleDescription const*> const& modulesOnEndPath = pathsAndConsumes.modulesOnEndPath(j);
524  out << "modules on end path " << endpaths.at(j) << ":\n";
525  for (auto const& desc : modulesOnEndPath) {
526  out << " " << desc->moduleLabel() << "\n";
527  }
528  }
529  std::vector<ModuleDescription const*> const& allModules = pathsAndConsumes.allModules();
530  out << "All modules and modules in the current process whose products they consume:\n";
531  out << "(This does not include modules from previous processes or the source)\n";
532  out << "(Exclusively considers Event products, not Run, Lumi, or ProcessBlock products)\n";
533  for (auto const& module : allModules) {
534  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
535  unsigned int moduleID = module->id();
536  if (pathsAndConsumes.moduleDescription(moduleID) != module) {
537  throw cms::Exception("TestFailure") << "Tracer::preBeginJob, moduleDescription returns incorrect value";
538  }
539  std::vector<ModuleDescription const*> const& modulesWhoseProductsAreConsumedBy =
540  pathsAndConsumes.modulesWhoseProductsAreConsumedBy(moduleID);
541  if (!modulesWhoseProductsAreConsumedBy.empty()) {
542  out << " consumes products from these modules:\n";
543  for (auto const& producingModule : modulesWhoseProductsAreConsumedBy) {
544  out << " " << producingModule->moduleName() << "/\'" << producingModule->moduleLabel() << "\'\n";
545  }
546  } else {
547  out << "\n";
548  }
549  }
550  out << "All modules (listed by class and label) and all their consumed products.\n";
551  out << "Consumed products are listed by type, label, instance, process.\n";
552  out << "For products not in the event, \'processBlock\', \'run\' or \'lumi\' is added to indicate the TTree they "
553  "are from.\n";
554  out << "For products that are declared with mayConsume, \'may consume\' is added.\n";
555  out << "For products consumed for Views, \'element type\' is added\n";
556  out << "For products only read from previous processes, \'skip current process\' is added\n";
557  for (auto const* module : allModules) {
558  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
559  std::vector<ConsumesInfo> consumesInfo = pathsAndConsumes.consumesInfo(module->id());
560  if (!consumesInfo.empty()) {
561  out << " consumes:\n";
562  for (auto const& info : consumesInfo) {
563  out << " " << info.type() << " \'" << info.label() << "\' \'" << info.instance();
564  out << "\' \'" << info.process() << "\'";
565  if (info.branchType() == InLumi) {
566  out << ", lumi";
567  } else if (info.branchType() == InRun) {
568  out << ", run";
569  } else if (info.branchType() == InProcess) {
570  out << ", processBlock";
571  }
572  if (!info.alwaysGets()) {
573  out << ", may consume";
574  }
575  if (info.kindOfType() == ELEMENT_TYPE) {
576  out << ", element type";
577  }
578  if (info.skipCurrentProcess()) {
579  out << ", skip current process";
580  }
581  out << "\n";
582  }
583  } else {
584  out << "\n";
585  }
586  }
587  }
588 }
static const TGPicture * info(bool iBackgroundIsBlack)
bool dumpPathsAndConsumes_
Definition: Tracer.cc:229
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ preBeginProcessBlock()

void Tracer::preBeginProcessBlock ( GlobalContext const &  gc)

Definition at line 703 of file Tracer.cc.

References dumpNonModuleContext_, indention_, and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

703  {
704  LogAbsolute out("Tracer");
705  out << indention_ << indention_ << " starting: begin process block";
706  if (dumpNonModuleContext_) {
707  out << "\n" << gc;
708  }
709 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preCloseFile()

void Tracer::preCloseFile ( std::string const &  lfn)

Definition at line 644 of file Tracer.cc.

References indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

644  {
645  LogAbsolute out("Tracer");
646  out << TimeStamper(printTimestamps_);
647  out << indention_ << indention_ << " starting: close input file: lfn = " << lfn;
648 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ preEndProcessBlock()

void Tracer::preEndProcessBlock ( GlobalContext const &  gc)

Definition at line 735 of file Tracer.cc.

References dumpNonModuleContext_, indention_, and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

735  {
736  LogAbsolute out("Tracer");
737  out << indention_ << indention_ << " starting: end process block";
738  if (dumpNonModuleContext_) {
739  out << "\n" << gc;
740  }
741 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preESModule()

void Tracer::preESModule ( eventsetup::EventSetupRecordKey const &  iKey,
ESModuleCallingContext const &  mcc 
)

Definition at line 1745 of file Tracer.cc.

References edm::ESModuleCallingContext::componentDescription(), edm::ESModuleCallingContext::depth(), mps_fire::i, indention_, edm::eventsetup::ComponentDescription::label_, edm::eventsetup::EventSetupRecordKey::name(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::eventsetup::ComponentDescription::type_.

Referenced by Tracer().

1745  {
1746  LogAbsolute out("Tracer");
1747  out << TimeStamper(printTimestamps_);
1748  unsigned int nIndents = mcc.depth() + 4;
1749  for (unsigned int i = 0; i < nIndents; ++i) {
1750  out << indention_;
1751  }
1752  out << " starting: processing esmodule: label = '" << mcc.componentDescription()->label_
1753  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1754 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ preESModulePrefetching()

void Tracer::preESModulePrefetching ( eventsetup::EventSetupRecordKey const &  iKey,
ESModuleCallingContext const &  mcc 
)

Definition at line 1723 of file Tracer.cc.

References edm::ESModuleCallingContext::componentDescription(), edm::ESModuleCallingContext::depth(), mps_fire::i, indention_, edm::eventsetup::ComponentDescription::label_, edm::eventsetup::EventSetupRecordKey::name(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::eventsetup::ComponentDescription::type_.

Referenced by Tracer().

1723  {
1724  LogAbsolute out("Tracer");
1725  out << TimeStamper(printTimestamps_);
1726  unsigned int nIndents = mcc.depth() + 4;
1727  for (unsigned int i = 0; i < nIndents; ++i) {
1728  out << indention_;
1729  }
1730  out << " starting: prefetching for esmodule: label = '" << mcc.componentDescription()->label_
1731  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1732 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ preEvent()

void Tracer::preEvent ( StreamContext const &  sc)

Definition at line 971 of file Tracer.cc.

References dumpNonModuleContext_, edm::EventID::event(), edm::StreamContext::eventID(), indention_, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

971  {
972  LogAbsolute out("Tracer");
973  out << TimeStamper(printTimestamps_);
974  out << indention_ << indention_ << " starting: processing event : stream = " << sc.streamID()
975  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
976  << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
977  if (dumpNonModuleContext_) {
978  out << "\n" << sc;
979  }
980 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preEventReadFromSource()

void Tracer::preEventReadFromSource ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1207 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1207  {
1208  LogAbsolute out("Tracer");
1209  out << TimeStamper(printTimestamps_);
1210  unsigned int nIndents = mcc.depth() + 5;
1211  for (unsigned int i = 0; i < nIndents; ++i) {
1212  out << indention_;
1213  }
1214  out << " starting: event delayed read from source: stream = " << sc.streamID() << " label = '"
1215  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1216 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ preGlobalBeginLumi()

void Tracer::preGlobalBeginLumi ( GlobalContext const &  gc)

Definition at line 867 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

867  {
868  LogAbsolute out("Tracer");
869  out << TimeStamper(printTimestamps_);
870  out << indention_ << indention_ << " starting: global begin lumi: run = " << gc.luminosityBlockID().run()
871  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
872  if (dumpNonModuleContext_) {
873  out << "\n" << gc;
874  }
875 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preGlobalBeginRun()

void Tracer::preGlobalBeginRun ( GlobalContext const &  gc)

Definition at line 767 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

767  {
768  LogAbsolute out("Tracer");
769  out << TimeStamper(printTimestamps_);
770  out << indention_ << indention_ << " starting: global begin run " << gc.luminosityBlockID().run()
771  << " : time = " << gc.timestamp().value();
772  if (dumpNonModuleContext_) {
773  out << "\n" << gc;
774  }
775 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preGlobalEndLumi()

void Tracer::preGlobalEndLumi ( GlobalContext const &  gc)

Definition at line 887 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

887  {
888  LogAbsolute out("Tracer");
889  out << TimeStamper(printTimestamps_);
890  out << indention_ << indention_ << " starting: global end lumi: run = " << gc.luminosityBlockID().run()
891  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
892  if (dumpNonModuleContext_) {
893  out << "\n" << gc;
894  }
895 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preGlobalEndRun()

void Tracer::preGlobalEndRun ( GlobalContext const &  gc)

Definition at line 787 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

787  {
788  LogAbsolute out("Tracer");
789  out << TimeStamper(printTimestamps_);
790  out << indention_ << indention_ << " starting: global end run " << gc.luminosityBlockID().run()
791  << " : time = " << gc.timestamp().value();
792  if (dumpNonModuleContext_) {
793  out << "\n" << gc;
794  }
795 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preGlobalWriteLumi()

void Tracer::preGlobalWriteLumi ( GlobalContext const &  gc)

Definition at line 907 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

907  {
908  LogAbsolute out("Tracer");
909  out << TimeStamper(printTimestamps_);
910  out << indention_ << indention_ << " starting: global write lumi: run = " << gc.luminosityBlockID().run()
911  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
912  if (dumpNonModuleContext_) {
913  out << "\n" << gc;
914  }
915 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preGlobalWriteRun()

void Tracer::preGlobalWriteRun ( GlobalContext const &  gc)

Definition at line 807 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

807  {
808  LogAbsolute out("Tracer");
809  out << TimeStamper(printTimestamps_);
810  out << indention_ << indention_ << " starting: global write run " << gc.luminosityBlockID().run()
811  << " : time = " << gc.timestamp().value();
812  if (dumpNonModuleContext_) {
813  out << "\n" << gc;
814  }
815 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preModuleAccessInputProcessBlock()

void Tracer::preModuleAccessInputProcessBlock ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1439 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

1439  {
1440  LogAbsolute out("Tracer");
1441  unsigned int nIndents = mcc.depth() + 3;
1442  for (unsigned int i = 0; i < nIndents; ++i) {
1443  out << indention_;
1444  }
1445  out << " starting: access input process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1446  << "' id = " << mcc.moduleDescription()->id();
1447  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1448  out << "\n" << gc;
1449  out << mcc;
1450  }
1451 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleBeginJob()

void Tracer::preModuleBeginJob ( ModuleDescription const &  md)

Definition at line 1055 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpContextForLabels_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1055  {
1056  LogAbsolute out("Tracer");
1057  out << TimeStamper(printTimestamps_);
1058  out << indention_ << indention_;
1059  out << " starting: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
1060  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1061  out << "\n" << desc;
1062  }
1063 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleBeginProcessBlock()

void Tracer::preModuleBeginProcessBlock ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1411 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

1411  {
1412  LogAbsolute out("Tracer");
1413  unsigned int nIndents = mcc.depth() + 3;
1414  for (unsigned int i = 0; i < nIndents; ++i) {
1415  out << indention_;
1416  }
1417  out << " starting: begin process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1418  << "' id = " << mcc.moduleDescription()->id();
1419  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1420  out << "\n" << gc;
1421  out << mcc;
1422  }
1423 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleBeginStream()

void Tracer::preModuleBeginStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 655 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpContextForLabels_, indention_, edm::ModuleCallingContext::moduleDescription(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

655  {
656  ModuleDescription const& desc = *mcc.moduleDescription();
657  LogAbsolute out("Tracer");
658  out << TimeStamper(printTimestamps_);
659  out << indention_ << indention_ << " starting: begin stream for module: stream = " << sc.streamID() << " label = '"
660  << desc.moduleLabel() << "' id = " << desc.id();
661  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
662  out << "\n" << sc;
663  out << mcc;
664  }
665 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleConstruction()

void Tracer::preModuleConstruction ( ModuleDescription const &  md)

Definition at line 1015 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpContextForLabels_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1015  {
1016  LogAbsolute out("Tracer");
1017  out << TimeStamper(printTimestamps_);
1018  out << indention_ << indention_ << " starting: constructing module with label '" << desc.moduleLabel()
1019  << "' id = " << desc.id();
1020  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1021  out << "\n" << desc;
1022  }
1023 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleDestruction()

void Tracer::preModuleDestruction ( ModuleDescription const &  md)

Definition at line 1035 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpContextForLabels_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1035  {
1036  LogAbsolute out("Tracer");
1037  out << TimeStamper(printTimestamps_);
1038  out << indention_ << indention_ << " starting: destructing module with label '" << desc.moduleLabel()
1039  << "' id = " << desc.id();
1040  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1041  out << "\n" << desc;
1042  }
1043 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleEndJob()

void Tracer::preModuleEndJob ( ModuleDescription const &  md)

Definition at line 1075 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpContextForLabels_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1075  {
1076  LogAbsolute out("Tracer");
1077  out << TimeStamper(printTimestamps_);
1078  out << indention_ << indention_;
1079  out << " starting: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
1080  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1081  out << "\n" << desc;
1082  }
1083 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleEndProcessBlock()

void Tracer::preModuleEndProcessBlock ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1467 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

1467  {
1468  LogAbsolute out("Tracer");
1469  unsigned int nIndents = mcc.depth() + 3;
1470  for (unsigned int i = 0; i < nIndents; ++i) {
1471  out << indention_;
1472  }
1473  out << " starting: end process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1474  << "' id = " << mcc.moduleDescription()->id();
1475  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1476  out << "\n" << gc;
1477  out << mcc;
1478  }
1479 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleEndStream()

void Tracer::preModuleEndStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 679 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpContextForLabels_, indention_, edm::ModuleCallingContext::moduleDescription(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

679  {
680  ModuleDescription const& desc = *mcc.moduleDescription();
681  LogAbsolute out("Tracer");
682  out << TimeStamper(printTimestamps_);
683  out << indention_ << indention_ << " starting: end stream for module: stream = " << sc.streamID() << " label = '"
684  << desc.moduleLabel() << "' id = " << desc.id();
685  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
686  out << "\n" << sc;
687  out << mcc;
688  }
689 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleEvent()

void Tracer::preModuleEvent ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1125 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1125  {
1126  LogAbsolute out("Tracer");
1127  out << TimeStamper(printTimestamps_);
1128  unsigned int nIndents = mcc.depth() + 4;
1129  for (unsigned int i = 0; i < nIndents; ++i) {
1130  out << indention_;
1131  }
1132  out << " starting: processing event for module: stream = " << sc.streamID() << " label = '"
1133  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1134  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1135  out << "\n" << sc;
1136  out << mcc;
1137  }
1138 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleEventAcquire()

void Tracer::preModuleEventAcquire ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1155 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1155  {
1156  LogAbsolute out("Tracer");
1157  out << TimeStamper(printTimestamps_);
1158  unsigned int nIndents = mcc.depth() + 4;
1159  for (unsigned int i = 0; i < nIndents; ++i) {
1160  out << indention_;
1161  }
1162  out << " starting: processing event acquire for module: stream = " << sc.streamID() << " label = '"
1163  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1164 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ preModuleEventDelayedGet()

void Tracer::preModuleEventDelayedGet ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1177 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1177  {
1178  LogAbsolute out("Tracer");
1179  out << TimeStamper(printTimestamps_);
1180  unsigned int nIndents = mcc.depth() + 4;
1181  for (unsigned int i = 0; i < nIndents; ++i) {
1182  out << indention_;
1183  }
1184  out << " starting: delayed processing event for module: stream = " << sc.streamID() << " label = '"
1185  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1186  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1187  out << "\n" << sc;
1188  out << mcc;
1189  }
1190 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleEventPrefetching()

void Tracer::preModuleEventPrefetching ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1095 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1095  {
1096  LogAbsolute out("Tracer");
1097  out << TimeStamper(printTimestamps_);
1098  unsigned int nIndents = mcc.depth() + 4;
1099  for (unsigned int i = 0; i < nIndents; ++i) {
1100  out << indention_;
1101  }
1102  out << " starting: prefetching before processing event for module: stream = " << sc.streamID() << " label = '"
1103  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1104  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1105  out << "\n" << sc;
1106  out << mcc;
1107  }
1108 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleGlobalBeginLumi()

void Tracer::preModuleGlobalBeginLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1555 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1555  {
1556  LogAbsolute out("Tracer");
1557  out << TimeStamper(printTimestamps_);
1558  unsigned int nIndents = mcc.depth() + 3;
1559  for (unsigned int i = 0; i < nIndents; ++i) {
1560  out << indention_;
1561  }
1562  out << " starting: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1563  << "' id = " << mcc.moduleDescription()->id();
1564  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1565  out << "\n" << gc;
1566  out << mcc;
1567  }
1568 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleGlobalBeginRun()

void Tracer::preModuleGlobalBeginRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1495 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1495  {
1496  LogAbsolute out("Tracer");
1497  out << TimeStamper(printTimestamps_);
1498  unsigned int nIndents = mcc.depth() + 3;
1499  for (unsigned int i = 0; i < nIndents; ++i) {
1500  out << indention_;
1501  }
1502  out << " starting: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1503  << "' id = " << mcc.moduleDescription()->id();
1504  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1505  out << "\n" << gc;
1506  out << mcc;
1507  }
1508 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleGlobalEndLumi()

void Tracer::preModuleGlobalEndLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1585 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1585  {
1586  LogAbsolute out("Tracer");
1587  out << TimeStamper(printTimestamps_);
1588  unsigned int nIndents = mcc.depth() + 3;
1589  for (unsigned int i = 0; i < nIndents; ++i) {
1590  out << indention_;
1591  }
1592  out << " starting: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1593  << "' id = " << mcc.moduleDescription()->id();
1594  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1595  out << "\n" << gc;
1596  out << mcc;
1597  }
1598 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleGlobalEndRun()

void Tracer::preModuleGlobalEndRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1525 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1525  {
1526  LogAbsolute out("Tracer");
1527  out << TimeStamper(printTimestamps_);
1528  unsigned int nIndents = mcc.depth() + 3;
1529  for (unsigned int i = 0; i < nIndents; ++i) {
1530  out << indention_;
1531  }
1532  out << " starting: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1533  << "' id = " << mcc.moduleDescription()->id();
1534  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1535  out << "\n" << gc;
1536  out << mcc;
1537  }
1538 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleGlobalPrefetching()

void Tracer::preModuleGlobalPrefetching ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1381 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::GlobalContext::transition(), and edm::transitionName().

Referenced by Tracer().

1381  {
1382  LogAbsolute out("Tracer");
1383  out << TimeStamper(printTimestamps_);
1384  unsigned int nIndents = mcc.depth() + 4;
1385  for (unsigned int i = 0; i < nIndents; ++i) {
1386  out << indention_;
1387  }
1388  out << " starting: prefetching before processing " << transitionName(gc.transition()) << " for module: label = '"
1389  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1390  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1391  out << "\n" << gc;
1392  out << mcc;
1393  }
1394 }
std::string_view transitionName(GlobalContext::Transition)
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleStreamBeginLumi()

void Tracer::preModuleStreamBeginLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1321 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1321  {
1322  LogAbsolute out("Tracer");
1323  out << TimeStamper(printTimestamps_);
1324  unsigned int nIndents = mcc.depth() + 3;
1325  for (unsigned int i = 0; i < nIndents; ++i) {
1326  out << indention_;
1327  }
1328  out << " starting: begin lumi for module: stream = " << sc.streamID() << " label = '"
1329  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1330  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1331  out << "\n" << sc;
1332  out << mcc;
1333  }
1334 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleStreamBeginRun()

void Tracer::preModuleStreamBeginRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1261 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1261  {
1262  LogAbsolute out("Tracer");
1263  out << TimeStamper(printTimestamps_);
1264  unsigned int nIndents = mcc.depth() + 3;
1265  for (unsigned int i = 0; i < nIndents; ++i) {
1266  out << indention_;
1267  }
1268  out << " starting: begin run for module: stream = " << sc.streamID() << " label = '"
1269  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1270  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1271  out << "\n" << sc;
1272  out << mcc;
1273  }
1274 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleStreamEndLumi()

void Tracer::preModuleStreamEndLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1351 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1351  {
1352  LogAbsolute out("Tracer");
1353  out << TimeStamper(printTimestamps_);
1354  unsigned int nIndents = mcc.depth() + 3;
1355  for (unsigned int i = 0; i < nIndents; ++i) {
1356  out << indention_;
1357  }
1358  out << " starting: end lumi for module: stream = " << sc.streamID() << " label = '"
1359  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1360  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1361  out << "\n" << sc;
1362  out << mcc;
1363  }
1364 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleStreamEndRun()

void Tracer::preModuleStreamEndRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1291 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

1291  {
1292  LogAbsolute out("Tracer");
1293  out << TimeStamper(printTimestamps_);
1294  unsigned int nIndents = mcc.depth() + 3;
1295  for (unsigned int i = 0; i < nIndents; ++i) {
1296  out << indention_;
1297  }
1298  out << " starting: end run for module: stream = " << sc.streamID() << " label = '"
1299  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1300  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1301  out << "\n" << sc;
1302  out << mcc;
1303  }
1304 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleStreamPrefetching()

void Tracer::preModuleStreamPrefetching ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1229 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::StreamContext::streamID(), edm::StreamContext::transition(), and edm::transitionName().

Referenced by Tracer().

1229  {
1230  LogAbsolute out("Tracer");
1231  out << TimeStamper(printTimestamps_);
1232  unsigned int nIndents = mcc.depth() + 4;
1233  for (unsigned int i = 0; i < nIndents; ++i) {
1234  out << indention_;
1235  }
1236  out << " starting: prefetching before processing " << transitionName(sc.transition())
1237  << " for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel()
1238  << "' id = " << mcc.moduleDescription()->id();
1239  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1240  out << "\n" << sc;
1241  out << mcc;
1242  }
1243 }
std::string_view transitionName(GlobalContext::Transition)
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleWriteLumi()

void Tracer::preModuleWriteLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1673 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1673  {
1674  LogAbsolute out("Tracer");
1675  out << TimeStamper(printTimestamps_);
1676  unsigned int nIndents = mcc.depth() + 3;
1677  for (unsigned int i = 0; i < nIndents; ++i) {
1678  out << indention_;
1679  }
1680  out << " starting: write lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1681  << "' id = " << mcc.moduleDescription()->id();
1682  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1683  out << "\n" << gc;
1684  out << mcc;
1685  }
1686 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleWriteProcessBlock()

void Tracer::preModuleWriteProcessBlock ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1615 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

1615  {
1616  LogAbsolute out("Tracer");
1617  unsigned int nIndents = mcc.depth() + 3;
1618  for (unsigned int i = 0; i < nIndents; ++i) {
1619  out << indention_;
1620  }
1621  out << " starting: write process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1622  << "' id = " << mcc.moduleDescription()->id();
1623  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1624  out << "\n" << gc;
1625  out << mcc;
1626  }
1627 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preModuleWriteRun()

void Tracer::preModuleWriteRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1643 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1643  {
1644  LogAbsolute out("Tracer");
1645  out << TimeStamper(printTimestamps_);
1646  unsigned int nIndents = mcc.depth() + 3;
1647  for (unsigned int i = 0; i < nIndents; ++i) {
1648  out << indention_;
1649  }
1650  out << " starting: write run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1651  << "' id = " << mcc.moduleDescription()->id();
1652  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1653  out << "\n" << gc;
1654  out << mcc;
1655  }
1656 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:227

◆ preOpenFile()

void Tracer::preOpenFile ( std::string const &  lfn)

Definition at line 632 of file Tracer.cc.

References indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

632  {
633  LogAbsolute out("Tracer");
634  out << TimeStamper(printTimestamps_);
635  out << indention_ << indention_ << " starting: open input file: lfn = " << lfn;
636 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ prePathEvent()

void Tracer::prePathEvent ( StreamContext const &  sc,
PathContext const &  pc 
)

Definition at line 993 of file Tracer.cc.

References dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, edm::PathContext::pathName(), printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

993  {
994  LogAbsolute out("Tracer");
995  out << TimeStamper(printTimestamps_);
996  out << indention_ << indention_ << indention_ << " starting: processing path '" << pc.pathName()
997  << "' : stream = " << sc.streamID();
998  if (dumpNonModuleContext_) {
999  out << "\n" << sc;
1000  out << pc;
1001  }
1002 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preSourceConstruction()

void Tracer::preSourceConstruction ( ModuleDescription const &  md)

Definition at line 1703 of file Tracer.cc.

References submitPVResolutionJobs::desc, dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1703  {
1704  LogAbsolute out("Tracer");
1705  out << TimeStamper(printTimestamps_);
1706  out << indention_;
1707  out << " starting: constructing source: " << desc.moduleName();
1708  if (dumpNonModuleContext_) {
1709  out << "\n" << desc;
1710  }
1711 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preSourceEvent()

void Tracer::preSourceEvent ( StreamID  sid)

Definition at line 598 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

598  {
599  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source event";
600 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ preSourceLumi()

void Tracer::preSourceLumi ( LuminosityBlockIndex  index)

Definition at line 606 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

606  {
607  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source lumi";
608 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ preSourceProcessBlock()

void Tracer::preSourceProcessBlock ( )

Definition at line 622 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

622  {
623  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
624  << " starting: source process block";
625 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ preSourceRun()

void Tracer::preSourceRun ( RunIndex  index)

Definition at line 614 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

614  {
615  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source run";
616 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute

◆ preStreamBeginLumi()

void Tracer::preStreamBeginLumi ( StreamContext const &  sc)

Definition at line 927 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

927  {
928  LogAbsolute out("Tracer");
929  out << TimeStamper(printTimestamps_);
930  out << indention_ << indention_ << " starting: begin lumi: stream = " << sc.streamID()
931  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
932  << " time = " << sc.timestamp().value();
933  if (dumpNonModuleContext_) {
934  out << "\n" << sc;
935  }
936 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preStreamBeginRun()

void Tracer::preStreamBeginRun ( StreamContext const &  sc)

Definition at line 827 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

827  {
828  LogAbsolute out("Tracer");
829  out << TimeStamper(printTimestamps_);
830  out << indention_ << indention_ << " starting: begin run: stream = " << sc.streamID()
831  << " run = " << sc.eventID().run() << " time = " << sc.timestamp().value();
832  if (dumpNonModuleContext_) {
833  out << "\n" << sc;
834  }
835 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preStreamEndLumi()

void Tracer::preStreamEndLumi ( StreamContext const &  sc)

Definition at line 949 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

949  {
950  LogAbsolute out("Tracer");
951  out << TimeStamper(printTimestamps_);
952  out << indention_ << indention_ << " starting: end lumi: stream = " << sc.streamID()
953  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
954  << " time = " << sc.timestamp().value();
955  if (dumpNonModuleContext_) {
956  out << "\n" << sc;
957  }
958 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preStreamEndRun()

void Tracer::preStreamEndRun ( StreamContext const &  sc)

Definition at line 847 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

847  {
848  LogAbsolute out("Tracer");
849  out << TimeStamper(printTimestamps_);
850  out << indention_ << indention_ << " starting: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
851  << " time = " << sc.timestamp().value();
852  if (dumpNonModuleContext_) {
853  out << "\n" << sc;
854  }
855 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

◆ preWriteProcessBlock()

void Tracer::preWriteProcessBlock ( GlobalContext const &  gc)

Definition at line 751 of file Tracer.cc.

References dumpNonModuleContext_, indention_, and MillePedeFileConverter_cfg::out.

Referenced by Tracer().

751  {
752  LogAbsolute out("Tracer");
753  out << indention_ << indention_ << " starting: write process block";
754  if (dumpNonModuleContext_) {
755  out << "\n" << gc;
756  }
757 }
std::string indention_
Definition: Tracer.cc:226
Log< level::System, true > LogAbsolute
bool dumpNonModuleContext_
Definition: Tracer.cc:228

Member Data Documentation

◆ dumpContextForLabels_

std::set<std::string> edm::service::Tracer::dumpContextForLabels_
private

◆ dumpEventSetupInfo_

bool edm::service::Tracer::dumpEventSetupInfo_
private

Definition at line 231 of file Tracer.cc.

◆ dumpNonModuleContext_

bool edm::service::Tracer::dumpNonModuleContext_
private

◆ dumpPathsAndConsumes_

bool edm::service::Tracer::dumpPathsAndConsumes_
private

Definition at line 229 of file Tracer.cc.

Referenced by preBeginJob().

◆ indention_

std::string edm::service::Tracer::indention_
private

Definition at line 226 of file Tracer.cc.

Referenced by postAccessInputProcessBlock(), postBeginJob(), postBeginProcessBlock(), postCloseFile(), postEndJob(), postEndProcessBlock(), postESModule(), postESModulePrefetching(), postEvent(), postEventReadFromSource(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postGlobalWriteLumi(), postGlobalWriteRun(), postModuleAccessInputProcessBlock(), postModuleBeginJob(), postModuleBeginProcessBlock(), postModuleBeginStream(), postModuleConstruction(), postModuleDestruction(), postModuleEndJob(), postModuleEndProcessBlock(), postModuleEndStream(), postModuleEvent(), postModuleEventAcquire(), postModuleEventDelayedGet(), postModuleEventPrefetching(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleGlobalPrefetching(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postModuleStreamPrefetching(), postModuleWriteLumi(), postModuleWriteProcessBlock(), postModuleWriteRun(), postOpenFile(), postPathEvent(), postSourceConstruction(), postSourceEvent(), postSourceLumi(), postSourceProcessBlock(), postSourceRun(), postStreamBeginLumi(), postStreamBeginRun(), postStreamEndLumi(), postStreamEndRun(), postWriteProcessBlock(), preAccessInputProcessBlock(), preallocate(), preBeginJob(), preBeginProcessBlock(), preCloseFile(), preEndProcessBlock(), preESModule(), preESModulePrefetching(), preEvent(), preEventReadFromSource(), preGlobalBeginLumi(), preGlobalBeginRun(), preGlobalEndLumi(), preGlobalEndRun(), preGlobalWriteLumi(), preGlobalWriteRun(), preModuleAccessInputProcessBlock(), preModuleBeginJob(), preModuleBeginProcessBlock(), preModuleBeginStream(), preModuleConstruction(), preModuleDestruction(), preModuleEndJob(), preModuleEndProcessBlock(), preModuleEndStream(), preModuleEvent(), preModuleEventAcquire(), preModuleEventDelayedGet(), preModuleEventPrefetching(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleGlobalPrefetching(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), preModuleStreamPrefetching(), preModuleWriteLumi(), preModuleWriteProcessBlock(), preModuleWriteRun(), preOpenFile(), prePathEvent(), preSourceConstruction(), preSourceEvent(), preSourceLumi(), preSourceProcessBlock(), preSourceRun(), preStreamBeginLumi(), preStreamBeginRun(), preStreamEndLumi(), preStreamEndRun(), preWriteProcessBlock(), and Tracer().

◆ printTimestamps_

bool edm::service::Tracer::printTimestamps_
private

Definition at line 230 of file Tracer.cc.

Referenced by postBeginJob(), postCloseFile(), postEndJob(), postESModule(), postESModulePrefetching(), postEvent(), postEventReadFromSource(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postGlobalWriteLumi(), postGlobalWriteRun(), postModuleBeginJob(), postModuleBeginStream(), postModuleConstruction(), postModuleDestruction(), postModuleEndJob(), postModuleEndStream(), postModuleEvent(), postModuleEventAcquire(), postModuleEventDelayedGet(), postModuleEventPrefetching(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleGlobalPrefetching(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postModuleStreamPrefetching(), postModuleWriteLumi(), postModuleWriteRun(), postOpenFile(), postPathEvent(), postSourceConstruction(), postSourceEvent(), postSourceLumi(), postSourceProcessBlock(), postSourceRun(), postStreamBeginLumi(), postStreamBeginRun(), postStreamEndLumi(), postStreamEndRun(), preallocate(), preBeginJob(), preCloseFile(), preESModule(), preESModulePrefetching(), preEvent(), preEventReadFromSource(), preGlobalBeginLumi(), preGlobalBeginRun(), preGlobalEndLumi(), preGlobalEndRun(), preGlobalWriteLumi(), preGlobalWriteRun(), preModuleBeginJob(), preModuleBeginStream(), preModuleConstruction(), preModuleDestruction(), preModuleEndJob(), preModuleEndStream(), preModuleEvent(), preModuleEventAcquire(), preModuleEventDelayedGet(), preModuleEventPrefetching(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleGlobalPrefetching(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), preModuleStreamPrefetching(), preModuleWriteLumi(), preModuleWriteRun(), preOpenFile(), prePathEvent(), preSourceConstruction(), preSourceEvent(), preSourceLumi(), preSourceProcessBlock(), preSourceRun(), preStreamBeginLumi(), preStreamBeginRun(), preStreamEndLumi(), preStreamEndRun(), and Tracer().