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 postBeginJob ()
 
void postCloseFile (std::string const &, bool)
 
void postEndJob ()
 
void postEvent (StreamContext const &)
 
void postEventReadFromSource (StreamContext const &, ModuleCallingContext const &)
 
void postEventSetupGet (eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)
 
void postGlobalBeginLumi (GlobalContext const &)
 
void postGlobalBeginRun (GlobalContext const &)
 
void postGlobalEndLumi (GlobalContext const &)
 
void postGlobalEndRun (GlobalContext const &)
 
void postLockEventSetupGet (eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)
 
void postModuleBeginJob (ModuleDescription const &md)
 
void postModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleConstruction (ModuleDescription const &md)
 
void postModuleEndJob (ModuleDescription const &md)
 
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 postModuleStreamBeginLumi (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamBeginRun (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamEndLumi (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamEndRun (StreamContext const &, ModuleCallingContext const &)
 
void postModuleWriteLumi (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleWriteRun (GlobalContext const &, ModuleCallingContext const &)
 
void postOpenFile (std::string const &, bool)
 
void postPathEvent (StreamContext const &, PathContext const &, HLTPathStatus const &)
 
void postSourceConstruction (ModuleDescription const &md)
 
void postSourceEvent (StreamID)
 
void postSourceLumi (LuminosityBlockIndex)
 
void postSourceRun (RunIndex)
 
void postStreamBeginLumi (StreamContext const &)
 
void postStreamBeginRun (StreamContext const &)
 
void postStreamEndLumi (StreamContext const &)
 
void postStreamEndRun (StreamContext const &)
 
void preallocate (service::SystemBounds const &)
 
void preBeginJob (PathsAndConsumesOfModulesBase const &, ProcessContext const &)
 
void preCloseFile (std::string const &lfn, bool primary)
 
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 preLockEventSetupGet (eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)
 
void preModuleBeginJob (ModuleDescription const &md)
 
void preModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleConstruction (ModuleDescription const &md)
 
void preModuleEndJob (ModuleDescription const &md)
 
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 preModuleStreamBeginLumi (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamBeginRun (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamEndLumi (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamEndRun (StreamContext const &, ModuleCallingContext const &)
 
void preModuleWriteLumi (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleWriteRun (GlobalContext const &, ModuleCallingContext const &)
 
void preOpenFile (std::string const &, bool)
 
void prePathEvent (StreamContext const &, PathContext const &)
 
void preSourceConstruction (ModuleDescription const &md)
 
void preSourceEvent (StreamID)
 
void preSourceLumi (LuminosityBlockIndex)
 
void preSourceRun (RunIndex)
 
void preStreamBeginLumi (StreamContext const &)
 
void preStreamBeginRun (StreamContext const &)
 
void preStreamEndLumi (StreamContext const &)
 
void preStreamEndRun (StreamContext 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 66 of file Tracer.cc.

Constructor & Destructor Documentation

Tracer::Tracer ( const ParameterSet ,
ActivityRegistry  
)

Definition at line 221 of file Tracer.cc.

References edm::signalslot::Signal< T >::connect(), dumpContextForLabels_, dumpEventSetupInfo_, edm::EventID::event(), edm::StreamContext::eventID(), edm::ParameterSet::getUntrackedParameter(), indention_, label, edm::EventID::luminosityBlock(), edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), eostools::move(), MillePedeFileConverter_cfg::out, postBeginJob(), postCloseFile(), postEndJob(), postEvent(), postEventReadFromSource(), postEventSetupGet(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postLockEventSetupGet(), postModuleBeginJob(), postModuleBeginStream(), postModuleConstruction(), postModuleEndJob(), postModuleEndStream(), postModuleEvent(), postModuleEventAcquire(), postModuleEventDelayedGet(), postModuleEventPrefetching(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postModuleWriteLumi(), postModuleWriteRun(), postOpenFile(), postPathEvent(), postSourceConstruction(), postSourceEvent(), postSourceLumi(), postSourceRun(), postStreamBeginLumi(), postStreamBeginRun(), postStreamEndLumi(), postStreamEndRun(), preallocate(), preBeginJob(), preCloseFile(), preEvent(), preEventReadFromSource(), preGlobalBeginLumi(), preGlobalBeginRun(), edm::ActivityRegistry::preGlobalEarlyTerminationSignal_, preGlobalEndLumi(), preGlobalEndRun(), preLockEventSetupGet(), preModuleBeginJob(), preModuleBeginStream(), preModuleConstruction(), preModuleEndJob(), preModuleEndStream(), preModuleEvent(), preModuleEventAcquire(), preModuleEventDelayedGet(), preModuleEventPrefetching(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), preModuleWriteLumi(), preModuleWriteRun(), preOpenFile(), prePathEvent(), preSourceConstruction(), edm::ActivityRegistry::preSourceEarlyTerminationSignal_, preSourceEvent(), preSourceLumi(), preSourceRun(), preStreamBeginLumi(), preStreamBeginRun(), edm::ActivityRegistry::preStreamEarlyTerminationSignal_, preStreamEndLumi(), preStreamEndRun(), printTimestamps_, edm::EventID::run(), edm::LuminosityBlockID::run(), edm::StreamContext::streamID(), AlCaHLTBitMon_QueryRunRegistry::string, edm::GlobalContext::timestamp(), edm::StreamContext::timestamp(), edm::LuminosityBlockID::value(), edm::Timestamp::value(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostEventReadFromSource(), edm::ActivityRegistry::watchPostEventSetupGet(), edm::ActivityRegistry::watchPostGlobalBeginLumi(), edm::ActivityRegistry::watchPostGlobalBeginRun(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPostLockEventSetupGet(), edm::ActivityRegistry::watchPostModuleBeginJob(), edm::ActivityRegistry::watchPostModuleBeginStream(), edm::ActivityRegistry::watchPostModuleConstruction(), edm::ActivityRegistry::watchPostModuleEndJob(), 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::watchPostModuleStreamBeginLumi(), edm::ActivityRegistry::watchPostModuleStreamBeginRun(), edm::ActivityRegistry::watchPostModuleStreamEndLumi(), edm::ActivityRegistry::watchPostModuleStreamEndRun(), edm::ActivityRegistry::watchPostModuleWriteLumi(), edm::ActivityRegistry::watchPostModuleWriteRun(), edm::ActivityRegistry::watchPostOpenFile(), edm::ActivityRegistry::watchPostPathEvent(), edm::ActivityRegistry::watchPostSourceConstruction(), edm::ActivityRegistry::watchPostSourceEvent(), edm::ActivityRegistry::watchPostSourceLumi(), edm::ActivityRegistry::watchPostSourceRun(), edm::ActivityRegistry::watchPostStreamBeginLumi(), edm::ActivityRegistry::watchPostStreamBeginRun(), edm::ActivityRegistry::watchPostStreamEndLumi(), edm::ActivityRegistry::watchPostStreamEndRun(), edm::ActivityRegistry::watchPreallocate(), edm::ActivityRegistry::watchPreBeginJob(), edm::ActivityRegistry::watchPreCloseFile(), edm::ActivityRegistry::watchPreEvent(), edm::ActivityRegistry::watchPreEventReadFromSource(), edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreGlobalBeginRun(), edm::ActivityRegistry::watchPreGlobalEndLumi(), edm::ActivityRegistry::watchPreGlobalEndRun(), edm::ActivityRegistry::watchPreLockEventSetupGet(), edm::ActivityRegistry::watchPreModuleBeginJob(), edm::ActivityRegistry::watchPreModuleBeginStream(), edm::ActivityRegistry::watchPreModuleConstruction(), edm::ActivityRegistry::watchPreModuleEndJob(), 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::watchPreModuleStreamBeginLumi(), edm::ActivityRegistry::watchPreModuleStreamBeginRun(), edm::ActivityRegistry::watchPreModuleStreamEndLumi(), edm::ActivityRegistry::watchPreModuleStreamEndRun(), edm::ActivityRegistry::watchPreModuleWriteLumi(), edm::ActivityRegistry::watchPreModuleWriteRun(), edm::ActivityRegistry::watchPreOpenFile(), edm::ActivityRegistry::watchPrePathEvent(), edm::ActivityRegistry::watchPreSourceConstruction(), edm::ActivityRegistry::watchPreSourceEvent(), edm::ActivityRegistry::watchPreSourceLumi(), edm::ActivityRegistry::watchPreSourceRun(), edm::ActivityRegistry::watchPreStreamBeginLumi(), edm::ActivityRegistry::watchPreStreamBeginRun(), edm::ActivityRegistry::watchPreStreamEndLumi(), and edm::ActivityRegistry::watchPreStreamEndRun().

222  : indention_(iPS.getUntrackedParameter<std::string>("indention")),
224  dumpNonModuleContext_(iPS.getUntrackedParameter<bool>("dumpNonModuleContext")),
225  dumpPathsAndConsumes_(iPS.getUntrackedParameter<bool>("dumpPathsAndConsumes")),
226  printTimestamps_(iPS.getUntrackedParameter<bool>("printTimestamps")),
227  dumpEventSetupInfo_(iPS.getUntrackedParameter<bool>("dumpEventSetupInfo")) {
228  for (std::string& label : iPS.getUntrackedParameter<std::vector<std::string>>("dumpContextForLabels"))
230 
231  iRegistry.watchPreallocate(this, &Tracer::preallocate);
232 
233  iRegistry.watchPreBeginJob(this, &Tracer::preBeginJob);
234  iRegistry.watchPostBeginJob(this, &Tracer::postBeginJob);
235  iRegistry.watchPostEndJob(this, &Tracer::postEndJob);
236 
237  iRegistry.watchPreSourceEvent(this, &Tracer::preSourceEvent);
238  iRegistry.watchPostSourceEvent(this, &Tracer::postSourceEvent);
239 
240  iRegistry.watchPreSourceLumi(this, &Tracer::preSourceLumi);
241  iRegistry.watchPostSourceLumi(this, &Tracer::postSourceLumi);
242 
243  iRegistry.watchPreSourceRun(this, &Tracer::preSourceRun);
244  iRegistry.watchPostSourceRun(this, &Tracer::postSourceRun);
245 
246  iRegistry.watchPreOpenFile(this, &Tracer::preOpenFile);
247  iRegistry.watchPostOpenFile(this, &Tracer::postOpenFile);
248 
249  iRegistry.watchPreCloseFile(this, &Tracer::preCloseFile);
250  iRegistry.watchPostCloseFile(this, &Tracer::postCloseFile);
251 
252  iRegistry.watchPreModuleBeginStream(this, &Tracer::preModuleBeginStream);
253  iRegistry.watchPostModuleBeginStream(this, &Tracer::postModuleBeginStream);
254 
255  iRegistry.watchPreModuleEndStream(this, &Tracer::preModuleEndStream);
256  iRegistry.watchPostModuleEndStream(this, &Tracer::postModuleEndStream);
257 
258  iRegistry.watchPreGlobalBeginRun(this, &Tracer::preGlobalBeginRun);
259  iRegistry.watchPostGlobalBeginRun(this, &Tracer::postGlobalBeginRun);
260 
261  iRegistry.watchPreGlobalEndRun(this, &Tracer::preGlobalEndRun);
262  iRegistry.watchPostGlobalEndRun(this, &Tracer::postGlobalEndRun);
263 
264  iRegistry.watchPreStreamBeginRun(this, &Tracer::preStreamBeginRun);
265  iRegistry.watchPostStreamBeginRun(this, &Tracer::postStreamBeginRun);
266 
267  iRegistry.watchPreStreamEndRun(this, &Tracer::preStreamEndRun);
268  iRegistry.watchPostStreamEndRun(this, &Tracer::postStreamEndRun);
269 
270  iRegistry.watchPreGlobalBeginLumi(this, &Tracer::preGlobalBeginLumi);
271  iRegistry.watchPostGlobalBeginLumi(this, &Tracer::postGlobalBeginLumi);
272 
273  iRegistry.watchPreGlobalEndLumi(this, &Tracer::preGlobalEndLumi);
274  iRegistry.watchPostGlobalEndLumi(this, &Tracer::postGlobalEndLumi);
275 
276  iRegistry.watchPreStreamBeginLumi(this, &Tracer::preStreamBeginLumi);
277  iRegistry.watchPostStreamBeginLumi(this, &Tracer::postStreamBeginLumi);
278 
279  iRegistry.watchPreStreamEndLumi(this, &Tracer::preStreamEndLumi);
280  iRegistry.watchPostStreamEndLumi(this, &Tracer::postStreamEndLumi);
281 
282  iRegistry.watchPreEvent(this, &Tracer::preEvent);
283  iRegistry.watchPostEvent(this, &Tracer::postEvent);
284 
285  iRegistry.watchPrePathEvent(this, &Tracer::prePathEvent);
286  iRegistry.watchPostPathEvent(this, &Tracer::postPathEvent);
287 
288  iRegistry.watchPreModuleConstruction(this, &Tracer::preModuleConstruction);
289  iRegistry.watchPostModuleConstruction(this, &Tracer::postModuleConstruction);
290 
291  iRegistry.watchPreModuleBeginJob(this, &Tracer::preModuleBeginJob);
292  iRegistry.watchPostModuleBeginJob(this, &Tracer::postModuleBeginJob);
293 
294  iRegistry.watchPreModuleEndJob(this, &Tracer::preModuleEndJob);
295  iRegistry.watchPostModuleEndJob(this, &Tracer::postModuleEndJob);
296 
297  iRegistry.watchPreModuleEventPrefetching(this, &Tracer::preModuleEventPrefetching);
298  iRegistry.watchPostModuleEventPrefetching(this, &Tracer::postModuleEventPrefetching);
299  iRegistry.watchPreModuleEvent(this, &Tracer::preModuleEvent);
300  iRegistry.watchPostModuleEvent(this, &Tracer::postModuleEvent);
301  iRegistry.watchPreModuleEventAcquire(this, &Tracer::preModuleEventAcquire);
302  iRegistry.watchPostModuleEventAcquire(this, &Tracer::postModuleEventAcquire);
303  iRegistry.watchPreModuleEventDelayedGet(this, &Tracer::preModuleEventDelayedGet);
304  iRegistry.watchPostModuleEventDelayedGet(this, &Tracer::postModuleEventDelayedGet);
305  iRegistry.watchPreEventReadFromSource(this, &Tracer::preEventReadFromSource);
306  iRegistry.watchPostEventReadFromSource(this, &Tracer::postEventReadFromSource);
307 
308  iRegistry.watchPreModuleStreamBeginRun(this, &Tracer::preModuleStreamBeginRun);
309  iRegistry.watchPostModuleStreamBeginRun(this, &Tracer::postModuleStreamBeginRun);
310  iRegistry.watchPreModuleStreamEndRun(this, &Tracer::preModuleStreamEndRun);
311  iRegistry.watchPostModuleStreamEndRun(this, &Tracer::postModuleStreamEndRun);
312 
313  iRegistry.watchPreModuleStreamBeginLumi(this, &Tracer::preModuleStreamBeginLumi);
314  iRegistry.watchPostModuleStreamBeginLumi(this, &Tracer::postModuleStreamBeginLumi);
315  iRegistry.watchPreModuleStreamEndLumi(this, &Tracer::preModuleStreamEndLumi);
316  iRegistry.watchPostModuleStreamEndLumi(this, &Tracer::postModuleStreamEndLumi);
317 
318  iRegistry.watchPreModuleGlobalBeginRun(this, &Tracer::preModuleGlobalBeginRun);
319  iRegistry.watchPostModuleGlobalBeginRun(this, &Tracer::postModuleGlobalBeginRun);
320  iRegistry.watchPreModuleGlobalEndRun(this, &Tracer::preModuleGlobalEndRun);
321  iRegistry.watchPostModuleGlobalEndRun(this, &Tracer::postModuleGlobalEndRun);
322 
323  iRegistry.watchPreModuleGlobalBeginLumi(this, &Tracer::preModuleGlobalBeginLumi);
324  iRegistry.watchPostModuleGlobalBeginLumi(this, &Tracer::postModuleGlobalBeginLumi);
325  iRegistry.watchPreModuleGlobalEndLumi(this, &Tracer::preModuleGlobalEndLumi);
326  iRegistry.watchPostModuleGlobalEndLumi(this, &Tracer::postModuleGlobalEndLumi);
327 
328  iRegistry.watchPreModuleWriteRun(this, &Tracer::preModuleWriteRun);
329  iRegistry.watchPostModuleWriteRun(this, &Tracer::postModuleWriteRun);
330 
331  iRegistry.watchPreModuleWriteLumi(this, &Tracer::preModuleWriteLumi);
332  iRegistry.watchPostModuleWriteLumi(this, &Tracer::postModuleWriteLumi);
333 
334  iRegistry.watchPreSourceConstruction(this, &Tracer::preSourceConstruction);
335  iRegistry.watchPostSourceConstruction(this, &Tracer::postSourceConstruction);
336 
337  if (dumpEventSetupInfo_) {
338  iRegistry.watchPreLockEventSetupGet(this, &Tracer::preLockEventSetupGet);
339  iRegistry.watchPostLockEventSetupGet(this, &Tracer::postLockEventSetupGet);
340  iRegistry.watchPostEventSetupGet(this, &Tracer::postEventSetupGet);
341  }
342 
343  iRegistry.preSourceEarlyTerminationSignal_.connect([this](edm::TerminationOrigin iOrigin) {
344  LogAbsolute out("Tracer");
345  out << TimeStamper(printTimestamps_);
346  out << indention_ << indention_ << " early termination before processing transition";
347  });
348  iRegistry.preStreamEarlyTerminationSignal_.connect(
349  [this](edm::StreamContext const& iContext, edm::TerminationOrigin iOrigin) {
350  LogAbsolute out("Tracer");
351  out << TimeStamper(printTimestamps_);
352  if (iContext.eventID().luminosityBlock() == 0) {
353  out << indention_ << indention_ << " early termination of run: stream = " << iContext.streamID()
354  << " run = " << iContext.eventID().run();
355  } else {
356  if (iContext.eventID().event() == 0) {
357  out << indention_ << indention_ << " early termination of stream lumi: stream = " << iContext.streamID()
358  << " run = " << iContext.eventID().run() << " lumi = " << iContext.eventID().luminosityBlock();
359  } else {
360  out << indention_ << indention_ << " early termination of event: stream = " << iContext.streamID()
361  << " run = " << iContext.eventID().run() << " lumi = " << iContext.eventID().luminosityBlock()
362  << " event = " << iContext.eventID().event();
363  }
364  }
365  out << " : time = " << iContext.timestamp().value();
366  });
367  iRegistry.preGlobalEarlyTerminationSignal_.connect(
368  [this](edm::GlobalContext const& iContext, edm::TerminationOrigin iOrigin) {
369  LogAbsolute out("Tracer");
370  out << TimeStamper(printTimestamps_);
371  if (iContext.luminosityBlockID().value() == 0) {
372  out << indention_ << indention_ << " early termination of global run " << iContext.luminosityBlockID().run();
373  } else {
375  << " early termination of global lumi run = " << iContext.luminosityBlockID().run()
376  << " lumi = " << iContext.luminosityBlockID().luminosityBlock();
377  }
378  out << " : time = " << iContext.timestamp().value();
379  });
380 }
void preCloseFile(std::string const &lfn, bool primary)
Definition: Tracer.cc:547
RunNumber_t run() const
Definition: EventID.h:38
EventNumber_t event() const
Definition: EventID.h:40
void postEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1001
void preModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1252
void postLockEventSetupGet(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)
Definition: Tracer.cc:1343
void postSourceRun(RunIndex)
Definition: Tracer.cc:527
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1147
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1207
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1117
void postModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:949
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1192
void postModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:828
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:598
void preSourceRun(RunIndex)
Definition: Tracer.cc:523
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1237
void postModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1297
void preallocate(service::SystemBounds const &)
Definition: Tracer.cc:405
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:55
void postStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:741
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1222
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1072
void preGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:710
void preModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:858
void preLockEventSetupGet(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)
Definition: Tracer.cc:1332
void preModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:818
void preBeginJob(PathsAndConsumesOfModulesBase const &, ProcessContext const &)
Definition: Tracer.cc:412
void postStreamEndRun(StreamContext const &)
Definition: Tracer.cc:680
void postGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:720
void postSourceLumi(LuminosityBlockIndex)
Definition: Tracer.cc:519
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
void postModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:848
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1057
void postCloseFile(std::string const &, bool)
Definition: Tracer.cc:554
bool dumpEventSetupInfo_
Definition: Tracer.cc:196
Timestamp const & timestamp() const
Definition: GlobalContext.h:58
void preStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:752
void preOpenFile(std::string const &, bool)
Definition: Tracer.cc:531
char const * label
void preGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:610
void preSourceEvent(StreamID)
Definition: Tracer.cc:507
void preGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:630
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1102
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1012
void prePathEvent(StreamContext const &, PathContext const &)
Definition: Tracer.cc:796
void postModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:893
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1087
RunNumber_t run() const
uint64_t value() const
bool dumpPathsAndConsumes_
Definition: Tracer.cc:194
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1162
void postStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:660
void preStreamEndRun(StreamContext const &)
Definition: Tracer.cc:670
void postOpenFile(std::string const &, bool)
Definition: Tracer.cc:539
void preEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:990
void postPathEvent(StreamContext const &, PathContext const &, HLTPathStatus const &)
Definition: Tracer.cc:807
StreamID const & streamID() const
Definition: StreamContext.h:54
void postModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:975
void preSourceLumi(LuminosityBlockIndex)
Definition: Tracer.cc:515
void postSourceEvent(StreamID)
Definition: Tracer.cc:511
std::string indention_
Definition: Tracer.cc:191
LuminosityBlockNumber_t luminosityBlock() const
void preSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1312
void preModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:878
void postModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1267
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:908
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:562
void postGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:620
void postGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:640
void postGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:700
void preEvent(StreamContext const &)
Definition: Tracer.cc:774
void preModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1282
void preStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:730
void postModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:868
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:586
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:923
EventID const & eventID() const
Definition: StreamContext.h:59
void preModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:960
void postEventSetupGet(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)
Definition: Tracer.cc:1354
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:574
void preModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:938
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void preModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:838
void postStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:763
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1042
void postEvent(StreamContext const &)
Definition: Tracer.cc:785
void preStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:650
TimeValue_t value() const
Definition: Timestamp.h:45
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1027
def move(src, dest)
Definition: eostools.py:511
void preGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:690
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1177
void postSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1322
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1132
Timestamp const & timestamp() const
Definition: StreamContext.h:62

Member Function Documentation

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

Definition at line 382 of file Tracer.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), edm::ConfigurationDescriptions::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.

382  {
384  desc.addUntracked<std::string>("indention", "++")
385  ->setComment("Prefix characters for output. The characters are repeated to form the indentation.");
386  desc.addUntracked<std::vector<std::string>>("dumpContextForLabels", std::vector<std::string>{})
387  ->setComment(
388  "Prints context information to cout for the module transitions associated with these modules' labels");
389  desc.addUntracked<bool>("dumpNonModuleContext", false)
390  ->setComment("Prints context information to cout for the transitions not associated with any module label");
391  desc.addUntracked<bool>("dumpPathsAndConsumes", false)
392  ->setComment(
393  "Prints information to cout about paths, endpaths, products consumed by modules and the dependencies between "
394  "modules created by the products they consume");
395  desc.addUntracked<bool>("printTimestamps", false)->setComment("Prints a time stamp for every transition");
396  desc.addUntracked<bool>("dumpEventSetupInfo", false)
397  ->setComment(
398  "Prints info 3 times when an event setup cache is filled, before the lock, after the lock, and after "
399  "filling");
400  descriptions.add("Tracer", desc);
401  descriptions.setComment(
402  "This service prints each phase the framework is processing, e.g. constructing a module,running a module, etc.");
403 }
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void setComment(std::string const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void Tracer::postBeginJob ( )

Definition at line 499 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

499  {
500  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: begin job";
501 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::postCloseFile ( std::string const &  lfn,
bool  b 
)

Definition at line 554 of file Tracer.cc.

References b, dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

554  {
555  LogAbsolute out("Tracer");
556  out << TimeStamper(printTimestamps_);
557  out << indention_ << indention_ << " finished: close input file: lfn = " << lfn;
559  out << " usedFallBack = " << b;
560 }
std::string indention_
Definition: Tracer.cc:191
double b
Definition: hdecay.h:118
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postEndJob ( )

Definition at line 503 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

503  {
504  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: end job";
505 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::postEvent ( StreamContext const &  sc)

Definition at line 785 of file Tracer.cc.

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

Referenced by Tracer().

785  {
786  LogAbsolute out("Tracer");
787  out << TimeStamper(printTimestamps_);
788  out << indention_ << indention_ << " finished: processing event : stream = " << sc.streamID()
789  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
790  << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
791  if (dumpNonModuleContext_) {
792  out << "\n" << sc;
793  }
794 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postEventReadFromSource ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1001 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().

1001  {
1002  LogAbsolute out("Tracer");
1003  out << TimeStamper(printTimestamps_);
1004  unsigned int nIndents = mcc.depth() + 5;
1005  for (unsigned int i = 0; i < nIndents; ++i) {
1006  out << indention_;
1007  }
1008  out << " finished: event delayed read from source: stream = " << sc.streamID() << " label = '"
1009  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1010 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::postEventSetupGet ( eventsetup::ComponentDescription const *  desc,
eventsetup::EventSetupRecordKey const &  recordKey,
eventsetup::DataKey const &  dataKey 
)

Definition at line 1354 of file Tracer.cc.

References DEFINE_FWK_SERVICE, edm::eventsetup::ComponentDescription::label_, edm::eventsetup::heterocontainer::HCTypeTag::name(), edm::eventsetup::EventSetupRecordKey::name(), edm::eventsetup::DataKey::name(), MillePedeFileConverter_cfg::out, edm::eventsetup::DataKey::type(), and edm::eventsetup::SimpleStringTag::value().

Referenced by Tracer().

1356  {
1357  LogAbsolute out("Tracer");
1358  out << "postEventSetupGet ";
1359  out << desc->label_ << " ";
1360  out << recordKey.name() << " ";
1361  out << dataKey.type().name() << " ";
1362  out << dataKey.name().value();
1363 }
void Tracer::postGlobalBeginLumi ( GlobalContext const &  gc)

Definition at line 700 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().

700  {
701  LogAbsolute out("Tracer");
702  out << TimeStamper(printTimestamps_);
703  out << indention_ << indention_ << " finished: global begin lumi: run = " << gc.luminosityBlockID().run()
704  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
705  if (dumpNonModuleContext_) {
706  out << "\n" << gc;
707  }
708 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postGlobalBeginRun ( GlobalContext const &  gc)

Definition at line 620 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().

620  {
621  LogAbsolute out("Tracer");
622  out << TimeStamper(printTimestamps_);
623  out << indention_ << indention_ << " finished: global begin run " << gc.luminosityBlockID().run()
624  << " : time = " << gc.timestamp().value();
625  if (dumpNonModuleContext_) {
626  out << "\n" << gc;
627  }
628 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postGlobalEndLumi ( GlobalContext const &  gc)

Definition at line 720 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().

720  {
721  LogAbsolute out("Tracer");
722  out << TimeStamper(printTimestamps_);
723  out << indention_ << indention_ << " finished: global end lumi: run = " << gc.luminosityBlockID().run()
724  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
725  if (dumpNonModuleContext_) {
726  out << "\n" << gc;
727  }
728 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postGlobalEndRun ( GlobalContext const &  gc)

Definition at line 640 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().

640  {
641  LogAbsolute out("Tracer");
642  out << TimeStamper(printTimestamps_);
643  out << indention_ << indention_ << " finished: global end run " << gc.luminosityBlockID().run()
644  << " : time = " << gc.timestamp().value();
645  if (dumpNonModuleContext_) {
646  out << "\n" << gc;
647  }
648 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postLockEventSetupGet ( eventsetup::ComponentDescription const *  desc,
eventsetup::EventSetupRecordKey const &  recordKey,
eventsetup::DataKey const &  dataKey 
)

Definition at line 1343 of file Tracer.cc.

References edm::eventsetup::ComponentDescription::label_, edm::eventsetup::heterocontainer::HCTypeTag::name(), edm::eventsetup::EventSetupRecordKey::name(), edm::eventsetup::DataKey::name(), MillePedeFileConverter_cfg::out, edm::eventsetup::DataKey::type(), and edm::eventsetup::SimpleStringTag::value().

Referenced by Tracer().

1345  {
1346  LogAbsolute out("Tracer");
1347  out << "postLockEventSetupGet ";
1348  out << desc->label_ << " ";
1349  out << recordKey.name() << " ";
1350  out << dataKey.type().name() << " ";
1351  out << dataKey.name().value();
1352 }
void Tracer::postModuleBeginJob ( ModuleDescription const &  md)

Definition at line 848 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

848  {
849  LogAbsolute out("Tracer");
850  out << TimeStamper(printTimestamps_);
851  out << indention_ << indention_;
852  out << " finished: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
853  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
854  out << "\n" << desc;
855  }
856 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleBeginStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 574 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

574  {
575  ModuleDescription const& desc = *mcc.moduleDescription();
576  LogAbsolute out("Tracer");
577  out << TimeStamper(printTimestamps_);
578  out << indention_ << indention_ << " finished: begin stream for module: stream = " << sc.streamID() << " label = '"
579  << desc.moduleLabel() << "' id = " << desc.id();
580  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
581  out << "\n" << sc;
582  out << mcc;
583  }
584 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleConstruction ( ModuleDescription const &  md)

Definition at line 828 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

828  {
829  LogAbsolute out("Tracer");
830  out << TimeStamper(printTimestamps_);
831  out << indention_ << indention_ << " finished: constructing module with label '" << desc.moduleLabel()
832  << "' id = " << desc.id();
833  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
834  out << "\n" << desc;
835  }
836 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleEndJob ( ModuleDescription const &  md)

Definition at line 868 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

868  {
869  LogAbsolute out("Tracer");
870  out << TimeStamper(printTimestamps_);
871  out << indention_ << indention_;
872  out << " finished: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
873  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
874  out << "\n" << desc;
875  }
876 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleEndStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 598 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

598  {
599  ModuleDescription const& desc = *mcc.moduleDescription();
600  LogAbsolute out("Tracer");
601  out << TimeStamper(printTimestamps_);
602  out << indention_ << indention_ << " finished: end stream for module: stream = " << sc.streamID() << " label = '"
603  << desc.moduleLabel() << "' id = " << desc.id();
604  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
605  out << "\n" << sc;
606  out << mcc;
607  }
608 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleEvent ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 923 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

923  {
924  LogAbsolute out("Tracer");
925  out << TimeStamper(printTimestamps_);
926  unsigned int nIndents = mcc.depth() + 4;
927  for (unsigned int i = 0; i < nIndents; ++i) {
928  out << indention_;
929  }
930  out << " finished: processing event for module: stream = " << sc.streamID() << " label = '"
931  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
932  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
933  out << "\n" << sc;
934  out << mcc;
935  }
936 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleEventAcquire ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 949 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().

949  {
950  LogAbsolute out("Tracer");
951  out << TimeStamper(printTimestamps_);
952  unsigned int nIndents = mcc.depth() + 4;
953  for (unsigned int i = 0; i < nIndents; ++i) {
954  out << indention_;
955  }
956  out << " finished: processing event acquire for module: stream = " << sc.streamID() << " label = '"
957  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
958 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::postModuleEventDelayedGet ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 975 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

975  {
976  LogAbsolute out("Tracer");
977  out << TimeStamper(printTimestamps_);
978  unsigned int nIndents = mcc.depth() + 4;
979  for (unsigned int i = 0; i < nIndents; ++i) {
980  out << indention_;
981  }
982  out << " finished: delayed processing event for module: stream = " << sc.streamID() << " label = '"
983  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
984  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
985  out << "\n" << sc;
986  out << mcc;
987  }
988 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleEventPrefetching ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 893 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

893  {
894  LogAbsolute out("Tracer");
895  out << TimeStamper(printTimestamps_);
896  unsigned int nIndents = mcc.depth() + 4;
897  for (unsigned int i = 0; i < nIndents; ++i) {
898  out << indention_;
899  }
900  out << " finished: prefetching before processing event for module: stream = " << sc.streamID() << " label = '"
901  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
902  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
903  out << "\n" << sc;
904  out << mcc;
905  }
906 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleGlobalBeginLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1207 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().

1207  {
1208  LogAbsolute out("Tracer");
1209  out << TimeStamper(printTimestamps_);
1210  unsigned int nIndents = mcc.depth() + 3;
1211  for (unsigned int i = 0; i < nIndents; ++i) {
1212  out << indention_;
1213  }
1214  out << " finished: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1215  << "' id = " << mcc.moduleDescription()->id();
1216  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1217  out << "\n" << gc;
1218  out << mcc;
1219  }
1220 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleGlobalBeginRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1147 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().

1147  {
1148  LogAbsolute out("Tracer");
1149  out << TimeStamper(printTimestamps_);
1150  unsigned int nIndents = mcc.depth() + 3;
1151  for (unsigned int i = 0; i < nIndents; ++i) {
1152  out << indention_;
1153  }
1154  out << " finished: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1155  << "' id = " << mcc.moduleDescription()->id();
1156  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1157  out << "\n" << gc;
1158  out << mcc;
1159  }
1160 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleGlobalEndLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1237 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().

1237  {
1238  LogAbsolute out("Tracer");
1239  out << TimeStamper(printTimestamps_);
1240  unsigned int nIndents = mcc.depth() + 3;
1241  for (unsigned int i = 0; i < nIndents; ++i) {
1242  out << indention_;
1243  }
1244  out << " finished: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1245  << "' id = " << mcc.moduleDescription()->id();
1246  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1247  out << "\n" << gc;
1248  out << mcc;
1249  }
1250 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleGlobalEndRun ( GlobalContext const &  gc,
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, and printTimestamps_.

Referenced by Tracer().

1177  {
1178  LogAbsolute out("Tracer");
1179  out << TimeStamper(printTimestamps_);
1180  unsigned int nIndents = mcc.depth() + 3;
1181  for (unsigned int i = 0; i < nIndents; ++i) {
1182  out << indention_;
1183  }
1184  out << " finished: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1185  << "' id = " << mcc.moduleDescription()->id();
1186  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1187  out << "\n" << gc;
1188  out << mcc;
1189  }
1190 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleStreamBeginLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1087 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1087  {
1088  LogAbsolute out("Tracer");
1089  out << TimeStamper(printTimestamps_);
1090  unsigned int nIndents = mcc.depth() + 3;
1091  for (unsigned int i = 0; i < nIndents; ++i) {
1092  out << indention_;
1093  }
1094  out << " finished: begin lumi for module: stream = " << sc.streamID() << " label = '"
1095  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1096  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1097  out << "\n" << sc;
1098  out << mcc;
1099  }
1100 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleStreamBeginRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1027 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1027  {
1028  LogAbsolute out("Tracer");
1029  out << TimeStamper(printTimestamps_);
1030  unsigned int nIndents = mcc.depth() + 3;
1031  for (unsigned int i = 0; i < nIndents; ++i) {
1032  out << indention_;
1033  }
1034  out << " finished: begin run for module: stream = " << sc.streamID() << " label = '"
1035  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1036  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1037  out << "\n" << sc;
1038  out << mcc;
1039  }
1040 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleStreamEndLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1117 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1117  {
1118  LogAbsolute out("Tracer");
1119  out << TimeStamper(printTimestamps_);
1120  unsigned int nIndents = mcc.depth() + 3;
1121  for (unsigned int i = 0; i < nIndents; ++i) {
1122  out << indention_;
1123  }
1124  out << " finished: end lumi for module: stream = " << sc.streamID() << " label = '"
1125  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1126  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1127  out << "\n" << sc;
1128  out << mcc;
1129  }
1130 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleStreamEndRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1057 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1057  {
1058  LogAbsolute out("Tracer");
1059  out << TimeStamper(printTimestamps_);
1060  unsigned int nIndents = mcc.depth() + 3;
1061  for (unsigned int i = 0; i < nIndents; ++i) {
1062  out << indention_;
1063  }
1064  out << " finished: end run for module: stream = " << sc.streamID() << " label = '"
1065  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1066  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1067  out << "\n" << sc;
1068  out << mcc;
1069  }
1070 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleWriteLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1297 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().

1297  {
1298  LogAbsolute out("Tracer");
1299  out << TimeStamper(printTimestamps_);
1300  unsigned int nIndents = mcc.depth() + 3;
1301  for (unsigned int i = 0; i < nIndents; ++i) {
1302  out << indention_;
1303  }
1304  out << " finished: write lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1305  << "' id = " << mcc.moduleDescription()->id();
1306  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1307  out << "\n" << gc;
1308  out << mcc;
1309  }
1310 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postModuleWriteRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1267 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().

1267  {
1268  LogAbsolute out("Tracer");
1269  out << TimeStamper(printTimestamps_);
1270  unsigned int nIndents = mcc.depth() + 3;
1271  for (unsigned int i = 0; i < nIndents; ++i) {
1272  out << indention_;
1273  }
1274  out << " finished: write run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1275  << "' id = " << mcc.moduleDescription()->id();
1276  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1277  out << "\n" << gc;
1278  out << mcc;
1279  }
1280 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::postOpenFile ( std::string const &  lfn,
bool  b 
)

Definition at line 539 of file Tracer.cc.

References b, dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

539  {
540  LogAbsolute out("Tracer");
541  out << TimeStamper(printTimestamps_);
542  out << indention_ << indention_ << " finished: open input file: lfn = " << lfn;
544  out << " usedFallBack = " << b;
545 }
std::string indention_
Definition: Tracer.cc:191
double b
Definition: hdecay.h:118
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postPathEvent ( StreamContext const &  sc,
PathContext const &  pc,
HLTPathStatus const &  hlts 
)

Definition at line 807 of file Tracer.cc.

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

Referenced by Tracer().

807  {
808  LogAbsolute out("Tracer");
809  out << TimeStamper(printTimestamps_);
810  out << indention_ << indention_ << indention_ << " finished: processing path '" << pc.pathName()
811  << "' : stream = " << sc.streamID();
812  if (dumpNonModuleContext_) {
813  out << "\n" << sc;
814  out << pc;
815  }
816 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postSourceConstruction ( ModuleDescription const &  md)

Definition at line 1322 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::ModuleDescription::moduleName(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1322  {
1323  LogAbsolute out("Tracer");
1324  out << TimeStamper(printTimestamps_);
1325  out << indention_;
1326  out << " finished: constructing source: " << desc.moduleName();
1327  if (dumpNonModuleContext_) {
1328  out << "\n" << desc;
1329  }
1330 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postSourceEvent ( StreamID  sid)

Definition at line 511 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

511  {
512  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source event";
513 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::postSourceLumi ( LuminosityBlockIndex  index)

Definition at line 519 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

519  {
520  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source lumi";
521 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::postSourceRun ( RunIndex  index)

Definition at line 527 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

527  {
528  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source run";
529 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::postStreamBeginLumi ( StreamContext const &  sc)

Definition at line 741 of file Tracer.cc.

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

Referenced by Tracer().

741  {
742  LogAbsolute out("Tracer");
743  out << TimeStamper(printTimestamps_);
744  out << indention_ << indention_ << " finished: begin lumi: stream = " << sc.streamID()
745  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
746  << " time = " << sc.timestamp().value();
747  if (dumpNonModuleContext_) {
748  out << "\n" << sc;
749  }
750 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postStreamBeginRun ( StreamContext const &  sc)

Definition at line 660 of file Tracer.cc.

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

Referenced by Tracer().

660  {
661  LogAbsolute out("Tracer");
662  out << TimeStamper(printTimestamps_);
663  out << indention_ << indention_ << " finished: begin run: stream = " << sc.streamID()
664  << " run = " << sc.eventID().run() << " time = " << sc.timestamp().value();
665  if (dumpNonModuleContext_) {
666  out << "\n" << sc;
667  }
668 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postStreamEndLumi ( StreamContext const &  sc)

Definition at line 763 of file Tracer.cc.

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

Referenced by Tracer().

763  {
764  LogAbsolute out("Tracer");
765  out << TimeStamper(printTimestamps_);
766  out << indention_ << indention_ << " finished: end lumi: stream = " << sc.streamID()
767  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
768  << " time = " << sc.timestamp().value();
769  if (dumpNonModuleContext_) {
770  out << "\n" << sc;
771  }
772 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postStreamEndRun ( StreamContext const &  sc)

Definition at line 680 of file Tracer.cc.

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

Referenced by Tracer().

680  {
681  LogAbsolute out("Tracer");
682  out << TimeStamper(printTimestamps_);
683  out << indention_ << indention_ << " finished: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
684  << " time = " << sc.timestamp().value();
685  if (dumpNonModuleContext_) {
686  out << "\n" << sc;
687  }
688 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preallocate ( service::SystemBounds const &  bounds)

Definition at line 405 of file Tracer.cc.

References indention_, edm::service::SystemBounds::maxNumberOfConcurrentLuminosityBlocks(), edm::service::SystemBounds::maxNumberOfConcurrentRuns(), edm::service::SystemBounds::maxNumberOfStreams(), and printTimestamps_.

Referenced by Tracer().

405  {
406  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_
407  << " preallocate: " << bounds.maxNumberOfConcurrentRuns() << " concurrent runs, "
408  << bounds.maxNumberOfConcurrentLuminosityBlocks() << " concurrent luminosity sections, "
409  << bounds.maxNumberOfStreams() << " streams";
410 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::preBeginJob ( PathsAndConsumesOfModulesBase const &  pathsAndConsumes,
ProcessContext const &  pc 
)

Definition at line 412 of file Tracer.cc.

References edm::PathsAndConsumesOfModulesBase::allModules(), edmTracerLogToSimpleConfig::allModules, edm::PathsAndConsumesOfModulesBase::consumesInfo(), dumpPathsAndConsumes_, edm::ELEMENT_TYPE, edm::PathsAndConsumesOfModulesBase::endPaths(), Exception, indention_, info(), edm::InLumi, edm::InRun, dqmiolumiharvest::j, 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().

412  {
413  LogAbsolute out("Tracer");
414  out << TimeStamper(printTimestamps_) << indention_ << " starting: begin job";
415  if (dumpPathsAndConsumes_) {
416  out << "\n"
417  << "Process name = " << pc.processName() << "\n";
418  out << "paths:\n";
419  std::vector<std::string> const& paths = pathsAndConsumes.paths();
420  for (auto const& path : paths) {
421  out << " " << path << "\n";
422  }
423  out << "end paths:\n";
424  std::vector<std::string> const& endpaths = pathsAndConsumes.endPaths();
425  for (auto const& endpath : endpaths) {
426  out << " " << endpath << "\n";
427  }
428  for (unsigned int j = 0; j < paths.size(); ++j) {
429  std::vector<ModuleDescription const*> const& modulesOnPath = pathsAndConsumes.modulesOnPath(j);
430  out << "modules on path " << paths.at(j) << ":\n";
431  for (auto const& desc : modulesOnPath) {
432  out << " " << desc->moduleLabel() << "\n";
433  }
434  }
435  for (unsigned int j = 0; j < endpaths.size(); ++j) {
436  std::vector<ModuleDescription const*> const& modulesOnEndPath = pathsAndConsumes.modulesOnEndPath(j);
437  out << "modules on end path " << endpaths.at(j) << ":\n";
438  for (auto const& desc : modulesOnEndPath) {
439  out << " " << desc->moduleLabel() << "\n";
440  }
441  }
442  std::vector<ModuleDescription const*> const& allModules = pathsAndConsumes.allModules();
443  out << "All modules and modules in the current process whose products they consume:\n";
444  out << "(This does not include modules from previous processes or the source)\n";
445  for (auto const& module : allModules) {
446  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
447  unsigned int moduleID = module->id();
448  if (pathsAndConsumes.moduleDescription(moduleID) != module) {
449  throw cms::Exception("TestFailure") << "Tracer::preBeginJob, moduleDescription returns incorrect value";
450  }
451  std::vector<ModuleDescription const*> const& modulesWhoseProductsAreConsumedBy =
452  pathsAndConsumes.modulesWhoseProductsAreConsumedBy(moduleID);
453  if (!modulesWhoseProductsAreConsumedBy.empty()) {
454  out << " consumes products from these modules:\n";
455  for (auto const& producingModule : modulesWhoseProductsAreConsumedBy) {
456  out << " " << producingModule->moduleName() << "/\'" << producingModule->moduleLabel() << "\'\n";
457  }
458  } else {
459  out << "\n";
460  }
461  }
462  out << "All modules (listed by class and label) and all their consumed products.\n";
463  out << "Consumed products are listed by type, label, instance, process.\n";
464  out << "For products not in the event, \'run\' or \'lumi\' is added to indicate the TTree they are from.\n";
465  out << "For products that are declared with mayConsume, \'may consume\' is added.\n";
466  out << "For products consumed for Views, \'element type\' is added\n";
467  out << "For products only read from previous processes, \'skip current process\' is added\n";
468  for (auto const* module : allModules) {
469  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
470  std::vector<ConsumesInfo> consumesInfo = pathsAndConsumes.consumesInfo(module->id());
471  if (!consumesInfo.empty()) {
472  out << " consumes:\n";
473  for (auto const& info : consumesInfo) {
474  out << " " << info.type() << " \'" << info.label() << "\' \'" << info.instance();
475  out << "\' \'" << info.process() << "\'";
476  if (info.branchType() == InLumi) {
477  out << ", lumi";
478  } else if (info.branchType() == InRun) {
479  out << ", run";
480  }
481  if (!info.alwaysGets()) {
482  out << ", may consume";
483  }
484  if (info.kindOfType() == ELEMENT_TYPE) {
485  out << ", element type";
486  }
487  if (info.skipCurrentProcess()) {
488  out << ", skip current process";
489  }
490  out << "\n";
491  }
492  } else {
493  out << "\n";
494  }
495  }
496  }
497 }
static const TGPicture * info(bool iBackgroundIsBlack)
bool dumpPathsAndConsumes_
Definition: Tracer.cc:194
std::string indention_
Definition: Tracer.cc:191
Definition: vlib.h:198
void Tracer::preCloseFile ( std::string const &  lfn,
bool  primary 
)

Definition at line 547 of file Tracer.cc.

References b, dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

547  {
548  LogAbsolute out("Tracer");
549  out << TimeStamper(printTimestamps_);
550  out << indention_ << indention_ << " starting: close input file: lfn = " << lfn;
552  out << " usedFallBack = " << b;
553 }
std::string indention_
Definition: Tracer.cc:191
double b
Definition: hdecay.h:118
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preEvent ( StreamContext const &  sc)

Definition at line 774 of file Tracer.cc.

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

Referenced by Tracer().

774  {
775  LogAbsolute out("Tracer");
776  out << TimeStamper(printTimestamps_);
777  out << indention_ << indention_ << " starting: processing event : stream = " << sc.streamID()
778  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
779  << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
780  if (dumpNonModuleContext_) {
781  out << "\n" << sc;
782  }
783 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preEventReadFromSource ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 990 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().

990  {
991  LogAbsolute out("Tracer");
992  out << TimeStamper(printTimestamps_);
993  unsigned int nIndents = mcc.depth() + 5;
994  for (unsigned int i = 0; i < nIndents; ++i) {
995  out << indention_;
996  }
997  out << " starting: event delayed read from source: stream = " << sc.streamID() << " label = '"
998  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
999 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::preGlobalBeginLumi ( GlobalContext const &  gc)

Definition at line 690 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().

690  {
691  LogAbsolute out("Tracer");
692  out << TimeStamper(printTimestamps_);
693  out << indention_ << indention_ << " starting: global begin lumi: run = " << gc.luminosityBlockID().run()
694  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
695  if (dumpNonModuleContext_) {
696  out << "\n" << gc;
697  }
698 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preGlobalBeginRun ( GlobalContext const &  gc)

Definition at line 610 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().

610  {
611  LogAbsolute out("Tracer");
612  out << TimeStamper(printTimestamps_);
613  out << indention_ << indention_ << " starting: global begin run " << gc.luminosityBlockID().run()
614  << " : time = " << gc.timestamp().value();
615  if (dumpNonModuleContext_) {
616  out << "\n" << gc;
617  }
618 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preGlobalEndLumi ( GlobalContext const &  gc)

Definition at line 710 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().

710  {
711  LogAbsolute out("Tracer");
712  out << TimeStamper(printTimestamps_);
713  out << indention_ << indention_ << " starting: global end lumi: run = " << gc.luminosityBlockID().run()
714  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
715  if (dumpNonModuleContext_) {
716  out << "\n" << gc;
717  }
718 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preGlobalEndRun ( GlobalContext const &  gc)

Definition at line 630 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().

630  {
631  LogAbsolute out("Tracer");
632  out << TimeStamper(printTimestamps_);
633  out << indention_ << indention_ << " starting: global end run " << gc.luminosityBlockID().run()
634  << " : time = " << gc.timestamp().value();
635  if (dumpNonModuleContext_) {
636  out << "\n" << gc;
637  }
638 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preLockEventSetupGet ( eventsetup::ComponentDescription const *  desc,
eventsetup::EventSetupRecordKey const &  recordKey,
eventsetup::DataKey const &  dataKey 
)

Definition at line 1332 of file Tracer.cc.

References edm::eventsetup::ComponentDescription::label_, edm::eventsetup::heterocontainer::HCTypeTag::name(), edm::eventsetup::EventSetupRecordKey::name(), edm::eventsetup::DataKey::name(), MillePedeFileConverter_cfg::out, edm::eventsetup::DataKey::type(), and edm::eventsetup::SimpleStringTag::value().

Referenced by Tracer().

1334  {
1335  LogAbsolute out("Tracer");
1336  out << "preLockEventSetupGet ";
1337  out << desc->label_ << " ";
1338  out << recordKey.name() << " ";
1339  out << dataKey.type().name() << " ";
1340  out << dataKey.name().value();
1341 }
void Tracer::preModuleBeginJob ( ModuleDescription const &  md)

Definition at line 838 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

838  {
839  LogAbsolute out("Tracer");
840  out << TimeStamper(printTimestamps_);
841  out << indention_ << indention_;
842  out << " starting: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
843  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
844  out << "\n" << desc;
845  }
846 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleBeginStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 562 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

562  {
563  ModuleDescription const& desc = *mcc.moduleDescription();
564  LogAbsolute out("Tracer");
565  out << TimeStamper(printTimestamps_);
566  out << indention_ << indention_ << " starting: begin stream for module: stream = " << sc.streamID() << " label = '"
567  << desc.moduleLabel() << "' id = " << desc.id();
568  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
569  out << "\n" << sc;
570  out << mcc;
571  }
572 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleConstruction ( ModuleDescription const &  md)

Definition at line 818 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

818  {
819  LogAbsolute out("Tracer");
820  out << TimeStamper(printTimestamps_);
821  out << indention_ << indention_ << " starting: constructing module with label '" << desc.moduleLabel()
822  << "' id = " << desc.id();
823  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
824  out << "\n" << desc;
825  }
826 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleEndJob ( ModuleDescription const &  md)

Definition at line 858 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

858  {
859  LogAbsolute out("Tracer");
860  out << TimeStamper(printTimestamps_);
861  out << indention_ << indention_;
862  out << " starting: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
863  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
864  out << "\n" << desc;
865  }
866 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleEndStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 586 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

586  {
587  ModuleDescription const& desc = *mcc.moduleDescription();
588  LogAbsolute out("Tracer");
589  out << TimeStamper(printTimestamps_);
590  out << indention_ << indention_ << " starting: end stream for module: stream = " << sc.streamID() << " label = '"
591  << desc.moduleLabel() << "' id = " << desc.id();
592  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
593  out << "\n" << sc;
594  out << mcc;
595  }
596 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleEvent ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 908 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

908  {
909  LogAbsolute out("Tracer");
910  out << TimeStamper(printTimestamps_);
911  unsigned int nIndents = mcc.depth() + 4;
912  for (unsigned int i = 0; i < nIndents; ++i) {
913  out << indention_;
914  }
915  out << " starting: processing event for module: stream = " << sc.streamID() << " label = '"
916  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
917  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
918  out << "\n" << sc;
919  out << mcc;
920  }
921 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleEventAcquire ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 938 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().

938  {
939  LogAbsolute out("Tracer");
940  out << TimeStamper(printTimestamps_);
941  unsigned int nIndents = mcc.depth() + 4;
942  for (unsigned int i = 0; i < nIndents; ++i) {
943  out << indention_;
944  }
945  out << " starting: processing event acquire for module: stream = " << sc.streamID() << " label = '"
946  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
947 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::preModuleEventDelayedGet ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 960 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

960  {
961  LogAbsolute out("Tracer");
962  out << TimeStamper(printTimestamps_);
963  unsigned int nIndents = mcc.depth() + 4;
964  for (unsigned int i = 0; i < nIndents; ++i) {
965  out << indention_;
966  }
967  out << " starting: delayed processing event for module: stream = " << sc.streamID() << " label = '"
968  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
969  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
970  out << "\n" << sc;
971  out << mcc;
972  }
973 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleEventPrefetching ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 878 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

878  {
879  LogAbsolute out("Tracer");
880  out << TimeStamper(printTimestamps_);
881  unsigned int nIndents = mcc.depth() + 4;
882  for (unsigned int i = 0; i < nIndents; ++i) {
883  out << indention_;
884  }
885  out << " starting: prefetching before processing event for module: stream = " << sc.streamID() << " label = '"
886  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
887  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
888  out << "\n" << sc;
889  out << mcc;
890  }
891 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleGlobalBeginLumi ( GlobalContext const &  gc,
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, and printTimestamps_.

Referenced by Tracer().

1192  {
1193  LogAbsolute out("Tracer");
1194  out << TimeStamper(printTimestamps_);
1195  unsigned int nIndents = mcc.depth() + 3;
1196  for (unsigned int i = 0; i < nIndents; ++i) {
1197  out << indention_;
1198  }
1199  out << " starting: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1200  << "' id = " << mcc.moduleDescription()->id();
1201  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1202  out << "\n" << gc;
1203  out << mcc;
1204  }
1205 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleGlobalBeginRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1132 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().

1132  {
1133  LogAbsolute out("Tracer");
1134  out << TimeStamper(printTimestamps_);
1135  unsigned int nIndents = mcc.depth() + 3;
1136  for (unsigned int i = 0; i < nIndents; ++i) {
1137  out << indention_;
1138  }
1139  out << " starting: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1140  << "' id = " << mcc.moduleDescription()->id();
1141  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1142  out << "\n" << gc;
1143  out << mcc;
1144  }
1145 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleGlobalEndLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1222 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().

1222  {
1223  LogAbsolute out("Tracer");
1224  out << TimeStamper(printTimestamps_);
1225  unsigned int nIndents = mcc.depth() + 3;
1226  for (unsigned int i = 0; i < nIndents; ++i) {
1227  out << indention_;
1228  }
1229  out << " starting: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1230  << "' id = " << mcc.moduleDescription()->id();
1231  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1232  out << "\n" << gc;
1233  out << mcc;
1234  }
1235 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleGlobalEndRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1162 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().

1162  {
1163  LogAbsolute out("Tracer");
1164  out << TimeStamper(printTimestamps_);
1165  unsigned int nIndents = mcc.depth() + 3;
1166  for (unsigned int i = 0; i < nIndents; ++i) {
1167  out << indention_;
1168  }
1169  out << " starting: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1170  << "' id = " << mcc.moduleDescription()->id();
1171  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1172  out << "\n" << gc;
1173  out << mcc;
1174  }
1175 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleStreamBeginLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1072 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1072  {
1073  LogAbsolute out("Tracer");
1074  out << TimeStamper(printTimestamps_);
1075  unsigned int nIndents = mcc.depth() + 3;
1076  for (unsigned int i = 0; i < nIndents; ++i) {
1077  out << indention_;
1078  }
1079  out << " starting: begin lumi for module: stream = " << sc.streamID() << " label = '"
1080  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1081  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1082  out << "\n" << sc;
1083  out << mcc;
1084  }
1085 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleStreamBeginRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1012 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1012  {
1013  LogAbsolute out("Tracer");
1014  out << TimeStamper(printTimestamps_);
1015  unsigned int nIndents = mcc.depth() + 3;
1016  for (unsigned int i = 0; i < nIndents; ++i) {
1017  out << indention_;
1018  }
1019  out << " starting: begin run for module: stream = " << sc.streamID() << " label = '"
1020  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1021  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1022  out << "\n" << sc;
1023  out << mcc;
1024  }
1025 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleStreamEndLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1102 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1102  {
1103  LogAbsolute out("Tracer");
1104  out << TimeStamper(printTimestamps_);
1105  unsigned int nIndents = mcc.depth() + 3;
1106  for (unsigned int i = 0; i < nIndents; ++i) {
1107  out << indention_;
1108  }
1109  out << " starting: end lumi for module: stream = " << sc.streamID() << " label = '"
1110  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1111  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1112  out << "\n" << sc;
1113  out << mcc;
1114  }
1115 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleStreamEndRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1042 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_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1042  {
1043  LogAbsolute out("Tracer");
1044  out << TimeStamper(printTimestamps_);
1045  unsigned int nIndents = mcc.depth() + 3;
1046  for (unsigned int i = 0; i < nIndents; ++i) {
1047  out << indention_;
1048  }
1049  out << " starting: end run for module: stream = " << sc.streamID() << " label = '"
1050  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1051  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1052  out << "\n" << sc;
1053  out << mcc;
1054  }
1055 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleWriteLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1282 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().

1282  {
1283  LogAbsolute out("Tracer");
1284  out << TimeStamper(printTimestamps_);
1285  unsigned int nIndents = mcc.depth() + 3;
1286  for (unsigned int i = 0; i < nIndents; ++i) {
1287  out << indention_;
1288  }
1289  out << " starting: write lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1290  << "' id = " << mcc.moduleDescription()->id();
1291  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1292  out << "\n" << gc;
1293  out << mcc;
1294  }
1295 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preModuleWriteRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1252 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().

1252  {
1253  LogAbsolute out("Tracer");
1254  out << TimeStamper(printTimestamps_);
1255  unsigned int nIndents = mcc.depth() + 3;
1256  for (unsigned int i = 0; i < nIndents; ++i) {
1257  out << indention_;
1258  }
1259  out << " starting: write run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1260  << "' id = " << mcc.moduleDescription()->id();
1261  if (dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1262  out << "\n" << gc;
1263  out << mcc;
1264  }
1265 }
std::string indention_
Definition: Tracer.cc:191
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void Tracer::preOpenFile ( std::string const &  lfn,
bool  b 
)

Definition at line 531 of file Tracer.cc.

References b, dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

531  {
532  LogAbsolute out("Tracer");
533  out << TimeStamper(printTimestamps_);
534  out << indention_ << indention_ << " starting: open input file: lfn = " << lfn;
536  out << " usedFallBack = " << b;
537 }
std::string indention_
Definition: Tracer.cc:191
double b
Definition: hdecay.h:118
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::prePathEvent ( StreamContext const &  sc,
PathContext const &  pc 
)

Definition at line 796 of file Tracer.cc.

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

Referenced by Tracer().

796  {
797  LogAbsolute out("Tracer");
798  out << TimeStamper(printTimestamps_);
799  out << indention_ << indention_ << indention_ << " starting: processing path '" << pc.pathName()
800  << "' : stream = " << sc.streamID();
801  if (dumpNonModuleContext_) {
802  out << "\n" << sc;
803  out << pc;
804  }
805 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preSourceConstruction ( ModuleDescription const &  md)

Definition at line 1312 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::ModuleDescription::moduleName(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1312  {
1313  LogAbsolute out("Tracer");
1314  out << TimeStamper(printTimestamps_);
1315  out << indention_;
1316  out << " starting: constructing source: " << desc.moduleName();
1317  if (dumpNonModuleContext_) {
1318  out << "\n" << desc;
1319  }
1320 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preSourceEvent ( StreamID  sid)

Definition at line 507 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

507  {
508  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source event";
509 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::preSourceLumi ( LuminosityBlockIndex  index)

Definition at line 515 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

515  {
516  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source lumi";
517 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::preSourceRun ( RunIndex  index)

Definition at line 523 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

523  {
524  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source run";
525 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::preStreamBeginLumi ( StreamContext const &  sc)

Definition at line 730 of file Tracer.cc.

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

Referenced by Tracer().

730  {
731  LogAbsolute out("Tracer");
732  out << TimeStamper(printTimestamps_);
733  out << indention_ << indention_ << " starting: begin lumi: stream = " << sc.streamID()
734  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
735  << " time = " << sc.timestamp().value();
736  if (dumpNonModuleContext_) {
737  out << "\n" << sc;
738  }
739 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preStreamBeginRun ( StreamContext const &  sc)

Definition at line 650 of file Tracer.cc.

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

Referenced by Tracer().

650  {
651  LogAbsolute out("Tracer");
652  out << TimeStamper(printTimestamps_);
653  out << indention_ << indention_ << " starting: begin run: stream = " << sc.streamID()
654  << " run = " << sc.eventID().run() << " time = " << sc.timestamp().value();
655  if (dumpNonModuleContext_) {
656  out << "\n" << sc;
657  }
658 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preStreamEndLumi ( StreamContext const &  sc)

Definition at line 752 of file Tracer.cc.

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

Referenced by Tracer().

752  {
753  LogAbsolute out("Tracer");
754  out << TimeStamper(printTimestamps_);
755  out << indention_ << indention_ << " starting: end lumi: stream = " << sc.streamID()
756  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
757  << " time = " << sc.timestamp().value();
758  if (dumpNonModuleContext_) {
759  out << "\n" << sc;
760  }
761 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preStreamEndRun ( StreamContext const &  sc)

Definition at line 670 of file Tracer.cc.

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

Referenced by Tracer().

670  {
671  LogAbsolute out("Tracer");
672  out << TimeStamper(printTimestamps_);
673  out << indention_ << indention_ << " starting: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
674  << " time = " << sc.timestamp().value();
675  if (dumpNonModuleContext_) {
676  out << "\n" << sc;
677  }
678 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193

Member Data Documentation

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

Definition at line 196 of file Tracer.cc.

Referenced by Tracer().

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

Definition at line 194 of file Tracer.cc.

Referenced by preBeginJob().

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

Definition at line 191 of file Tracer.cc.

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

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

Definition at line 195 of file Tracer.cc.

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