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 224 of file Tracer.cc.

References edm::signalslot::Signal< T >::connect(), dumpContextForLabels_, dumpEventSetupInfo_, edm::EventID::event(), edm::StreamContext::eventID(), edm::ParameterSet::getUntrackedParameter(), indention_, diffTwoXMLs::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().

224  :
225  indention_(iPS.getUntrackedParameter<std::string>("indention")),
227  dumpNonModuleContext_(iPS.getUntrackedParameter<bool>("dumpNonModuleContext")),
228  dumpPathsAndConsumes_(iPS.getUntrackedParameter<bool>("dumpPathsAndConsumes")),
229  printTimestamps_(iPS.getUntrackedParameter<bool>("printTimestamps")),
230  dumpEventSetupInfo_(iPS.getUntrackedParameter<bool>("dumpEventSetupInfo"))
231 {
232  for (std::string & label: iPS.getUntrackedParameter<std::vector<std::string>>("dumpContextForLabels"))
234 
235  iRegistry.watchPreallocate(this, &Tracer::preallocate);
236 
237  iRegistry.watchPreBeginJob(this, &Tracer::preBeginJob);
238  iRegistry.watchPostBeginJob(this, &Tracer::postBeginJob);
239  iRegistry.watchPostEndJob(this, &Tracer::postEndJob);
240 
241  iRegistry.watchPreSourceEvent(this, &Tracer::preSourceEvent);
242  iRegistry.watchPostSourceEvent(this, &Tracer::postSourceEvent);
243 
244  iRegistry.watchPreSourceLumi(this, &Tracer::preSourceLumi);
245  iRegistry.watchPostSourceLumi(this, &Tracer::postSourceLumi);
246 
247  iRegistry.watchPreSourceRun(this, &Tracer::preSourceRun);
248  iRegistry.watchPostSourceRun(this, &Tracer::postSourceRun);
249 
250  iRegistry.watchPreOpenFile(this, &Tracer::preOpenFile);
251  iRegistry.watchPostOpenFile(this, &Tracer::postOpenFile);
252 
253  iRegistry.watchPreCloseFile(this, &Tracer::preCloseFile);
254  iRegistry.watchPostCloseFile(this, &Tracer::postCloseFile);
255 
256  iRegistry.watchPreModuleBeginStream(this, &Tracer::preModuleBeginStream);
257  iRegistry.watchPostModuleBeginStream(this, &Tracer::postModuleBeginStream);
258 
259  iRegistry.watchPreModuleEndStream(this, &Tracer::preModuleEndStream);
260  iRegistry.watchPostModuleEndStream(this, &Tracer::postModuleEndStream);
261 
262  iRegistry.watchPreGlobalBeginRun(this, &Tracer::preGlobalBeginRun);
263  iRegistry.watchPostGlobalBeginRun(this, &Tracer::postGlobalBeginRun);
264 
265  iRegistry.watchPreGlobalEndRun(this, &Tracer::preGlobalEndRun);
266  iRegistry.watchPostGlobalEndRun(this, &Tracer::postGlobalEndRun);
267 
268  iRegistry.watchPreStreamBeginRun(this, &Tracer::preStreamBeginRun);
269  iRegistry.watchPostStreamBeginRun(this, &Tracer::postStreamBeginRun);
270 
271  iRegistry.watchPreStreamEndRun(this, &Tracer::preStreamEndRun);
272  iRegistry.watchPostStreamEndRun(this, &Tracer::postStreamEndRun);
273 
274  iRegistry.watchPreGlobalBeginLumi(this, &Tracer::preGlobalBeginLumi);
275  iRegistry.watchPostGlobalBeginLumi(this, &Tracer::postGlobalBeginLumi);
276 
277  iRegistry.watchPreGlobalEndLumi(this, &Tracer::preGlobalEndLumi);
278  iRegistry.watchPostGlobalEndLumi(this, &Tracer::postGlobalEndLumi);
279 
280  iRegistry.watchPreStreamBeginLumi(this, &Tracer::preStreamBeginLumi);
281  iRegistry.watchPostStreamBeginLumi(this, &Tracer::postStreamBeginLumi);
282 
283  iRegistry.watchPreStreamEndLumi(this, &Tracer::preStreamEndLumi);
284  iRegistry.watchPostStreamEndLumi(this, &Tracer::postStreamEndLumi);
285 
286  iRegistry.watchPreEvent(this, &Tracer::preEvent);
287  iRegistry.watchPostEvent(this, &Tracer::postEvent);
288 
289  iRegistry.watchPrePathEvent(this, &Tracer::prePathEvent);
290  iRegistry.watchPostPathEvent(this, &Tracer::postPathEvent);
291 
292  iRegistry.watchPreModuleConstruction(this, &Tracer::preModuleConstruction);
293  iRegistry.watchPostModuleConstruction(this, &Tracer::postModuleConstruction);
294 
295  iRegistry.watchPreModuleBeginJob(this, &Tracer::preModuleBeginJob);
296  iRegistry.watchPostModuleBeginJob(this, &Tracer::postModuleBeginJob);
297 
298  iRegistry.watchPreModuleEndJob(this, &Tracer::preModuleEndJob);
299  iRegistry.watchPostModuleEndJob(this, &Tracer::postModuleEndJob);
300 
301  iRegistry.watchPreModuleEventPrefetching(this, &Tracer::preModuleEventPrefetching);
302  iRegistry.watchPostModuleEventPrefetching(this, &Tracer::postModuleEventPrefetching);
303  iRegistry.watchPreModuleEvent(this, &Tracer::preModuleEvent);
304  iRegistry.watchPostModuleEvent(this, &Tracer::postModuleEvent);
305  iRegistry.watchPreModuleEventAcquire(this, &Tracer::preModuleEventAcquire);
306  iRegistry.watchPostModuleEventAcquire(this, &Tracer::postModuleEventAcquire);
307  iRegistry.watchPreModuleEventDelayedGet(this, &Tracer::preModuleEventDelayedGet);
308  iRegistry.watchPostModuleEventDelayedGet(this, &Tracer::postModuleEventDelayedGet);
309  iRegistry.watchPreEventReadFromSource(this, &Tracer::preEventReadFromSource);
310  iRegistry.watchPostEventReadFromSource(this, &Tracer::postEventReadFromSource);
311 
312  iRegistry.watchPreModuleStreamBeginRun(this, &Tracer::preModuleStreamBeginRun);
313  iRegistry.watchPostModuleStreamBeginRun(this, &Tracer::postModuleStreamBeginRun);
314  iRegistry.watchPreModuleStreamEndRun(this, &Tracer::preModuleStreamEndRun);
315  iRegistry.watchPostModuleStreamEndRun(this, &Tracer::postModuleStreamEndRun);
316 
317  iRegistry.watchPreModuleStreamBeginLumi(this, &Tracer::preModuleStreamBeginLumi);
318  iRegistry.watchPostModuleStreamBeginLumi(this, &Tracer::postModuleStreamBeginLumi);
319  iRegistry.watchPreModuleStreamEndLumi(this, &Tracer::preModuleStreamEndLumi);
320  iRegistry.watchPostModuleStreamEndLumi(this, &Tracer::postModuleStreamEndLumi);
321 
322  iRegistry.watchPreModuleGlobalBeginRun(this, &Tracer::preModuleGlobalBeginRun);
323  iRegistry.watchPostModuleGlobalBeginRun(this, &Tracer::postModuleGlobalBeginRun);
324  iRegistry.watchPreModuleGlobalEndRun(this, &Tracer::preModuleGlobalEndRun);
325  iRegistry.watchPostModuleGlobalEndRun(this, &Tracer::postModuleGlobalEndRun);
326 
327  iRegistry.watchPreModuleGlobalBeginLumi(this, &Tracer::preModuleGlobalBeginLumi);
328  iRegistry.watchPostModuleGlobalBeginLumi(this, &Tracer::postModuleGlobalBeginLumi);
329  iRegistry.watchPreModuleGlobalEndLumi(this, &Tracer::preModuleGlobalEndLumi);
330  iRegistry.watchPostModuleGlobalEndLumi(this, &Tracer::postModuleGlobalEndLumi);
331 
332  iRegistry.watchPreModuleWriteRun(this, &Tracer::preModuleWriteRun);
333  iRegistry.watchPostModuleWriteRun(this, &Tracer::postModuleWriteRun);
334 
335  iRegistry.watchPreModuleWriteLumi(this, &Tracer::preModuleWriteLumi);
336  iRegistry.watchPostModuleWriteLumi(this, &Tracer::postModuleWriteLumi);
337 
338  iRegistry.watchPreSourceConstruction(this, &Tracer::preSourceConstruction);
339  iRegistry.watchPostSourceConstruction(this, &Tracer::postSourceConstruction);
340 
341  if (dumpEventSetupInfo_) {
342  iRegistry.watchPreLockEventSetupGet(this, &Tracer::preLockEventSetupGet);
343  iRegistry.watchPostLockEventSetupGet(this, &Tracer::postLockEventSetupGet);
344  iRegistry.watchPostEventSetupGet(this, &Tracer::postEventSetupGet);
345  }
346 
347  iRegistry.preSourceEarlyTerminationSignal_.connect([this](edm::TerminationOrigin iOrigin) {
348  LogAbsolute out("Tracer");
349  out << TimeStamper(printTimestamps_);
350  out << indention_ << indention_ << " early termination before processing transition";
351  });
352  iRegistry.preStreamEarlyTerminationSignal_.connect([this](edm::StreamContext const& iContext, edm::TerminationOrigin iOrigin) {
353  LogAbsolute out("Tracer");
354  out << TimeStamper(printTimestamps_);
355  if(iContext.eventID().luminosityBlock() ==0) {
356  out << indention_ << indention_ << " early termination of run: stream = " << iContext.streamID()
357  <<" run = " << iContext.eventID().run();
358  }else {
359  if(iContext.eventID().event() == 0) {
360  out << indention_ << indention_ << " early termination of stream lumi: stream = " << iContext.streamID()
361  <<" run = " << iContext.eventID().run()
362  << " lumi = " << iContext.eventID().luminosityBlock() ;
363  } else {
364  out << indention_ << indention_ << " early termination of event: stream = " << iContext.streamID()
365  <<" run = " << iContext.eventID().run()
366  << " lumi = " << iContext.eventID().luminosityBlock()
367  << " event = "<< iContext.eventID().event();
368 
369  }
370  }
371  out<< " : time = " << iContext.timestamp().value();
372 
373  });
374  iRegistry.preGlobalEarlyTerminationSignal_.connect([this](edm::GlobalContext const& iContext, edm::TerminationOrigin iOrigin) {
375  LogAbsolute out("Tracer");
376  out << TimeStamper(printTimestamps_);
377  if(iContext.luminosityBlockID().value() ==0) {
378  out << indention_ << indention_ << " early termination of global run " << iContext.luminosityBlockID().run();
379  }else {
380  out << indention_ << indention_ << " early termination of global lumi run = " << iContext.luminosityBlockID().run()
381  << " lumi = " << iContext.luminosityBlockID().luminosityBlock() ;
382 
383  }
384  out<< " : time = " << iContext.timestamp().value();
385  });
386 }
void preCloseFile(std::string const &lfn, bool primary)
Definition: Tracer.cc:552
RunNumber_t run() const
Definition: EventID.h:39
EventNumber_t event() const
Definition: EventID.h:41
void postEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1023
void preModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1275
void postLockEventSetupGet(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)
Definition: Tracer.cc:1369
void postSourceRun(RunIndex)
Definition: Tracer.cc:531
boost::uint64_t value() const
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1170
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1230
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1140
void postModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:971
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1215
void postModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:845
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:603
void preSourceRun(RunIndex)
Definition: Tracer.cc:526
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1260
void postModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1320
void preallocate(service::SystemBounds const &)
Definition: Tracer.cc:402
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:57
void postStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:758
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1245
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1095
void preGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:725
void preModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:877
void preLockEventSetupGet(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)
Definition: Tracer.cc:1357
void preModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:835
void preBeginJob(PathsAndConsumesOfModulesBase const &, ProcessContext const &)
Definition: Tracer.cc:409
void postStreamEndRun(StreamContext const &)
Definition: Tracer.cc:692
void postGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:736
void postSourceLumi(LuminosityBlockIndex)
Definition: Tracer.cc:521
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:40
void postModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:866
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1080
void postCloseFile(std::string const &, bool)
Definition: Tracer.cc:559
bool dumpEventSetupInfo_
Definition: Tracer.cc:196
Timestamp const & timestamp() const
Definition: GlobalContext.h:60
void preStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:769
void preOpenFile(std::string const &, bool)
Definition: Tracer.cc:536
void preGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:615
void preSourceEvent(StreamID)
Definition: Tracer.cc:506
void preGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:637
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1125
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1035
void prePathEvent(StreamContext const &, PathContext const &)
Definition: Tracer.cc:813
void postModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:914
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1110
RunNumber_t run() const
bool dumpPathsAndConsumes_
Definition: Tracer.cc:194
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1185
void postStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:670
void preStreamEndRun(StreamContext const &)
Definition: Tracer.cc:681
void postOpenFile(std::string const &, bool)
Definition: Tracer.cc:544
void preEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1012
void postPathEvent(StreamContext const &, PathContext const &, HLTPathStatus const &)
Definition: Tracer.cc:824
StreamID const & streamID() const
Definition: StreamContext.h:57
void postModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:997
void preSourceLumi(LuminosityBlockIndex)
Definition: Tracer.cc:516
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:1335
void preModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:899
void postModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1290
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:930
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:567
void postGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:626
void postGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:648
void postGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:714
void preEvent(StreamContext const &)
Definition: Tracer.cc:791
void preModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1305
void preStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:747
void postModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:888
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:591
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:945
EventID const & eventID() const
Definition: StreamContext.h:63
void preModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:982
void postEventSetupGet(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)
Definition: Tracer.cc:1381
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:579
void preModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:960
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void preModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:855
void postStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:780
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1065
void postEvent(StreamContext const &)
Definition: Tracer.cc:802
void preStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:659
TimeValue_t value() const
Definition: Timestamp.h:56
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1050
def move(src, dest)
Definition: eostools.py:510
void preGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:703
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1200
void postSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1346
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1155
Timestamp const & timestamp() const
Definition: StreamContext.h:66

Member Function Documentation

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

Definition at line 389 of file Tracer.cc.

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

389  {
391  desc.addUntracked<std::string>("indention", "++")->setComment("Prefix characters for output. The characters are repeated to form the indentation.");
392  desc.addUntracked<std::vector<std::string>>("dumpContextForLabels", std::vector<std::string>{})->setComment("Prints context information to cout for the module transitions associated with these modules' labels");
393  desc.addUntracked<bool>("dumpNonModuleContext", false)->setComment("Prints context information to cout for the transitions not associated with any module label");
394  desc.addUntracked<bool>("dumpPathsAndConsumes", false)->setComment("Prints information to cout about paths, endpaths, products consumed by modules and the dependencies between 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)->setComment("Prints info 3 times when an event setup cache is filled, before the lock, after the lock, and after filling");
397  descriptions.add("Tracer", desc);
398  descriptions.setComment("This service prints each phase the framework is processing, e.g. constructing a module,running a module, etc.");
399 }
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 496 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

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

Definition at line 559 of file Tracer.cc.

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

Referenced by Tracer().

559  {
560  LogAbsolute out("Tracer");
561  out << TimeStamper(printTimestamps_);
562  out << indention_ << indention_ << " finished: close input file: lfn = " << lfn;
563  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
564 }
std::string indention_
Definition: Tracer.cc:191
double b
Definition: hdecay.h:120
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postEndJob ( )

Definition at line 501 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

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

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

802  {
803  LogAbsolute out("Tracer");
804  out << TimeStamper(printTimestamps_);
805  out << indention_ << indention_ << " finished: processing event : stream = " << sc.streamID() << " run = " << sc.eventID().run()
806  << " lumi = " << sc.eventID().luminosityBlock() << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
808  out << "\n" << sc;
809  }
810 }
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 1023 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().

1023  {
1024  LogAbsolute out("Tracer");
1025  out << TimeStamper(printTimestamps_);
1026  unsigned int nIndents = mcc.depth() + 5;
1027  for(unsigned int i = 0; i < nIndents; ++i) {
1028  out << indention_;
1029  }
1030  out << " finished: event delayed read from source: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1031 }
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 1381 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().

1383  {
1384  LogAbsolute out("Tracer");
1385  out << "postEventSetupGet ";
1386  out << desc->label_ << " ";
1387  out << recordKey.name() << " ";
1388  out << dataKey.type().name() << " ";
1389  out << dataKey.name().value();
1390 }
void Tracer::postGlobalBeginLumi ( GlobalContext const &  gc)

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

714  {
715  LogAbsolute out("Tracer");
716  out << TimeStamper(printTimestamps_);
717  out << indention_ << indention_ << " finished: global begin lumi: run = " << gc.luminosityBlockID().run()
718  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
720  out << "\n" << gc;
721  }
722 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postGlobalBeginRun ( GlobalContext const &  gc)

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

626  {
627  LogAbsolute out("Tracer");
628  out << TimeStamper(printTimestamps_);
629  out << indention_ << indention_ << " finished: global begin run " << gc.luminosityBlockID().run()
630  << " : time = " << gc.timestamp().value();
632  out << "\n" << gc;
633  }
634 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postGlobalEndLumi ( GlobalContext const &  gc)

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

736  {
737  LogAbsolute out("Tracer");
738  out << TimeStamper(printTimestamps_);
739  out << indention_ << indention_ << " finished: global end lumi: run = " << gc.luminosityBlockID().run()
740  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
742  out << "\n" << gc;
743  }
744 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postGlobalEndRun ( GlobalContext const &  gc)

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

648  {
649  LogAbsolute out("Tracer");
650  out << TimeStamper(printTimestamps_);
651  out << indention_ << indention_ << " finished: global end run " << gc.luminosityBlockID().run()
652  << " : time = " << gc.timestamp().value();
654  out << "\n" << gc;
655  }
656 }
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 1369 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().

1371  {
1372  LogAbsolute out("Tracer");
1373  out << "postLockEventSetupGet ";
1374  out << desc->label_ << " ";
1375  out << recordKey.name() << " ";
1376  out << dataKey.type().name() << " ";
1377  out << dataKey.name().value();
1378 }
void Tracer::postModuleBeginJob ( ModuleDescription const &  md)

Definition at line 866 of file Tracer.cc.

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

Referenced by Tracer().

866  {
867  LogAbsolute out("Tracer");
868  out << TimeStamper(printTimestamps_);
869  out << indention_ << indention_;
870  out << " finished: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
871  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
872  out << "\n" << desc;
873  }
874 }
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 579 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().

579  {
580  ModuleDescription const& desc = *mcc.moduleDescription();
581  LogAbsolute out("Tracer");
582  out << TimeStamper(printTimestamps_);
583  out << indention_ << indention_ << " finished: begin stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
584  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
585  out << "\n" << sc;
586  out << mcc;
587  }
588 }
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 845 of file Tracer.cc.

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

Referenced by Tracer().

845  {
846  LogAbsolute out("Tracer");
847  out << TimeStamper(printTimestamps_);
848  out << indention_ << indention_ << " finished: constructing module with label '" << desc.moduleLabel() << "' id = " << desc.id();
849  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
850  out << "\n" << desc;
851  }
852 }
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 888 of file Tracer.cc.

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

Referenced by Tracer().

888  {
889  LogAbsolute out("Tracer");
890  out << TimeStamper(printTimestamps_);
891  out << indention_ << indention_;
892  out << " finished: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
893  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
894  out << "\n" << desc;
895  }
896 }
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 603 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().

603  {
604  ModuleDescription const& desc = *mcc.moduleDescription();
605  LogAbsolute out("Tracer");
606  out << TimeStamper(printTimestamps_);
607  out << indention_ << indention_ << " finished: end stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
608  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
609  out << "\n" << sc;
610  out << mcc;
611  }
612 }
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 945 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().

945  {
946  LogAbsolute out("Tracer");
947  out << TimeStamper(printTimestamps_);
948  unsigned int nIndents = mcc.depth() + 4;
949  for(unsigned int i = 0; i < nIndents; ++i) {
950  out << indention_;
951  }
952  out << " finished: processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
953  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
954  out << "\n" << sc;
955  out << mcc;
956  }
957 }
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 971 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().

971  {
972  LogAbsolute out("Tracer");
973  out << TimeStamper(printTimestamps_);
974  unsigned int nIndents = mcc.depth() + 4;
975  for(unsigned int i = 0; i < nIndents; ++i) {
976  out << indention_;
977  }
978  out << " finished: processing event acquire for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
979 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::postModuleEventDelayedGet ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

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

997  {
998  LogAbsolute out("Tracer");
999  out << TimeStamper(printTimestamps_);
1000  unsigned int nIndents = mcc.depth() + 4;
1001  for(unsigned int i = 0; i < nIndents; ++i) {
1002  out << indention_;
1003  }
1004  out << " finished: delayed processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1005  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1006  out << "\n" << sc;
1007  out << mcc;
1008  }
1009 }
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 914 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().

914  {
915  LogAbsolute out("Tracer");
916  out << TimeStamper(printTimestamps_);
917  unsigned int nIndents = mcc.depth() + 4;
918  for(unsigned int i = 0; i < nIndents; ++i) {
919  out << indention_;
920  }
921  out << " finished: prefetching before processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
922  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
923  out << "\n" << sc;
924  out << mcc;
925  }
926 }
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 1230 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().

1230  {
1231  LogAbsolute out("Tracer");
1232  out << TimeStamper(printTimestamps_);
1233  unsigned int nIndents = mcc.depth() + 3;
1234  for(unsigned int i = 0; i < nIndents; ++i) {
1235  out << indention_;
1236  }
1237  out << " finished: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1238  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1239  out << "\n" << gc;
1240  out << mcc;
1241  }
1242 }
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 1170 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().

1170  {
1171  LogAbsolute out("Tracer");
1172  out << TimeStamper(printTimestamps_);
1173  unsigned int nIndents = mcc.depth() + 3;
1174  for(unsigned int i = 0; i < nIndents; ++i) {
1175  out << indention_;
1176  }
1177  out << " finished: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1178  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1179  out << "\n" << gc;
1180  out << mcc;
1181  }
1182 }
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 1260 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().

1260  {
1261  LogAbsolute out("Tracer");
1262  out << TimeStamper(printTimestamps_);
1263  unsigned int nIndents = mcc.depth() + 3;
1264  for(unsigned int i = 0; i < nIndents; ++i) {
1265  out << indention_;
1266  }
1267  out << " finished: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1268  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1269  out << "\n" << gc;
1270  out << mcc;
1271  }
1272 }
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 1200 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().

1200  {
1201  LogAbsolute out("Tracer");
1202  out << TimeStamper(printTimestamps_);
1203  unsigned int nIndents = mcc.depth() + 3;
1204  for(unsigned int i = 0; i < nIndents; ++i) {
1205  out << indention_;
1206  }
1207  out << " finished: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1208  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1209  out << "\n" << gc;
1210  out << mcc;
1211  }
1212 }
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 1110 of file Tracer.cc.

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

Referenced by Tracer().

1110  {
1111  LogAbsolute out("Tracer");
1112  out << TimeStamper(printTimestamps_);
1113  unsigned int nIndents = mcc.depth() + 3;
1114  for(unsigned int i = 0; i < nIndents; ++i) {
1115  out << indention_;
1116  }
1117  out << " finished: begin lumi for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1118  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1119  out << "\n" << sc;
1120  out << mcc;
1121  }
1122 }
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 1050 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().

1050  {
1051  LogAbsolute out("Tracer");
1052  out << TimeStamper(printTimestamps_);
1053  unsigned int nIndents = mcc.depth() + 3;
1054  for(unsigned int i = 0; i < nIndents; ++i) {
1055  out << indention_;
1056  }
1057  out << " finished: begin run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1058  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1059  out << "\n" << sc;
1060  out << mcc;
1061  }
1062 }
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 1140 of file Tracer.cc.

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

Referenced by Tracer().

1140  {
1141  LogAbsolute out("Tracer");
1142  out << TimeStamper(printTimestamps_);
1143  unsigned int nIndents = mcc.depth() + 3;
1144  for(unsigned int i = 0; i < nIndents; ++i) {
1145  out << indention_;
1146  }
1147  out << " finished: end lumi for module: stream = " << sc.streamID() << " label = '"<< mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1148  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1149  out << "\n" << sc;
1150  out << mcc;
1151  }
1152 }
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 1080 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().

1080  {
1081  LogAbsolute out("Tracer");
1082  out << TimeStamper(printTimestamps_);
1083  unsigned int nIndents = mcc.depth() + 3;
1084  for(unsigned int i = 0; i < nIndents; ++i) {
1085  out << indention_;
1086  }
1087  out << " finished: end run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1088  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1089  out << "\n" << sc;
1090  out << mcc;
1091  }
1092 }
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 1320 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().

1320  {
1321  LogAbsolute out("Tracer");
1322  out << TimeStamper(printTimestamps_);
1323  unsigned int nIndents = mcc.depth() + 3;
1324  for(unsigned int i = 0; i < nIndents; ++i) {
1325  out << indention_;
1326  }
1327  out << " finished: write lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1328  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1329  out << "\n" << gc;
1330  out << mcc;
1331  }
1332 }
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 1290 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().

1290  {
1291  LogAbsolute out("Tracer");
1292  out << TimeStamper(printTimestamps_);
1293  unsigned int nIndents = mcc.depth() + 3;
1294  for(unsigned int i = 0; i < nIndents; ++i) {
1295  out << indention_;
1296  }
1297  out << " finished: write run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1298  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1299  out << "\n" << gc;
1300  out << mcc;
1301  }
1302 }
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 544 of file Tracer.cc.

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

Referenced by Tracer().

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

Definition at line 824 of file Tracer.cc.

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

Referenced by Tracer().

824  {
825  LogAbsolute out("Tracer");
826  out << TimeStamper(printTimestamps_);
827  out << indention_ << indention_ << indention_ << " finished: processing path '" << pc.pathName() << "' : stream = " << sc.streamID();
829  out << "\n" << sc;
830  out << pc;
831  }
832 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postSourceConstruction ( ModuleDescription const &  md)

Definition at line 1346 of file Tracer.cc.

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

Referenced by Tracer().

1346  {
1347  LogAbsolute out("Tracer");
1348  out << TimeStamper(printTimestamps_);
1349  out << indention_;
1350  out << " finished: constructing source: " << desc.moduleName();
1351  if(dumpNonModuleContext_) {
1352  out << "\n" << desc;
1353  }
1354 }
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 521 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

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

Definition at line 531 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

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

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

758  {
759  LogAbsolute out("Tracer");
760  out << TimeStamper(printTimestamps_);
761  out << indention_ << indention_ << " finished: begin lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
762  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
764  out << "\n" << sc;
765  }
766 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postStreamBeginRun ( 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_ << " finished: begin run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
674  << " time = " << sc.timestamp().value();
676  out << "\n" << sc;
677  }
678 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postStreamEndLumi ( StreamContext const &  sc)

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

780  {
781  LogAbsolute out("Tracer");
782  out << TimeStamper(printTimestamps_);
783  out << indention_ << indention_ << " finished: end lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
784  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
786  out << "\n" << sc;
787  }
788 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::postStreamEndRun ( StreamContext const &  sc)

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

692  {
693  LogAbsolute out("Tracer");
694  out << TimeStamper(printTimestamps_);
695  out << indention_ << indention_ << " finished: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
696  << " time = " << sc.timestamp().value();
698  out << "\n" << sc;
699  }
700 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preallocate ( service::SystemBounds const &  bounds)

Definition at line 402 of file Tracer.cc.

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

Referenced by Tracer().

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

Definition at line 409 of file Tracer.cc.

References edm::PathsAndConsumesOfModulesBase::allModules(), edm::PathsAndConsumesOfModulesBase::consumesInfo(), dumpPathsAndConsumes_, edm::ELEMENT_TYPE, edm::PathsAndConsumesOfModulesBase::endPaths(), Exception, indention_, info(), edm::InLumi, edm::InRun, python.rootplot.argparse::module, edm::PathsAndConsumesOfModulesBase::moduleDescription(), edm::PathsAndConsumesOfModulesBase::modulesOnEndPath(), edm::PathsAndConsumesOfModulesBase::modulesOnPath(), edm::PathsAndConsumesOfModulesBase::modulesWhoseProductsAreConsumedBy(), MillePedeFileConverter_cfg::out, callgraph::path, edm::PathsAndConsumesOfModulesBase::paths(), printTimestamps_, and edm::ProcessContext::processName().

Referenced by Tracer().

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

Definition at line 552 of file Tracer.cc.

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

Referenced by Tracer().

552  {
553  LogAbsolute out("Tracer");
554  out << TimeStamper(printTimestamps_);
555  out << indention_ << indention_ << " starting: close input file: lfn = " << lfn;
556  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
557 }
std::string indention_
Definition: Tracer.cc:191
double b
Definition: hdecay.h:120
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preEvent ( StreamContext const &  sc)

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

791  {
792  LogAbsolute out("Tracer");
793  out << TimeStamper(printTimestamps_);
794  out << indention_ << indention_ << " starting: processing event : stream = " << sc.streamID() << " run = " << sc.eventID().run()
795  << " lumi = " << sc.eventID().luminosityBlock() << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
797  out << "\n" << sc;
798  }
799 }
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 1012 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().

1012  {
1013  LogAbsolute out("Tracer");
1014  out << TimeStamper(printTimestamps_);
1015  unsigned int nIndents = mcc.depth() + 5;
1016  for(unsigned int i = 0; i < nIndents; ++i) {
1017  out << indention_;
1018  }
1019  out << " starting: event delayed read from source: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1020 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::preGlobalBeginLumi ( GlobalContext const &  gc)

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

703  {
704  LogAbsolute out("Tracer");
705  out << TimeStamper(printTimestamps_);
706  out << indention_ << indention_ << " starting: global begin lumi: run = " << gc.luminosityBlockID().run()
707  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
709  out << "\n" << gc;
710  }
711 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preGlobalBeginRun ( GlobalContext const &  gc)

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

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

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

725  {
726  LogAbsolute out("Tracer");
727  out << TimeStamper(printTimestamps_);
728  out << indention_ << indention_ << " starting: global end lumi: run = " << gc.luminosityBlockID().run()
729  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
731  out << "\n" << gc;
732  }
733 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preGlobalEndRun ( GlobalContext const &  gc)

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

637  {
638  LogAbsolute out("Tracer");
639  out << TimeStamper(printTimestamps_);
640  out << indention_ << indention_ << " starting: global end run " << gc.luminosityBlockID().run()
641  << " : time = " << gc.timestamp().value();
643  out << "\n" << gc;
644  }
645 }
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 1357 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().

1359  {
1360  LogAbsolute out("Tracer");
1361  out << "preLockEventSetupGet ";
1362  out << desc->label_ << " ";
1363  out << recordKey.name() << " ";
1364  out << dataKey.type().name() << " ";
1365  out << dataKey.name().value();
1366 }
void Tracer::preModuleBeginJob ( ModuleDescription const &  md)

Definition at line 855 of file Tracer.cc.

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

Referenced by Tracer().

855  {
856  LogAbsolute out("Tracer");
857  out << TimeStamper(printTimestamps_);
858  out << indention_ << indention_;
859  out << " starting: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
860  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
861  out << "\n" << desc;
862  }
863 }
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 567 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().

567  {
568  ModuleDescription const& desc = *mcc.moduleDescription();
569  LogAbsolute out("Tracer");
570  out << TimeStamper(printTimestamps_);
571  out << indention_ << indention_ << " starting: begin stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
572  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
573  out << "\n" << sc;
574  out << mcc;
575  }
576 }
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 835 of file Tracer.cc.

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

Referenced by Tracer().

835  {
836  LogAbsolute out("Tracer");
837  out << TimeStamper(printTimestamps_);
838  out << indention_ << indention_ << " starting: constructing module with label '" << desc.moduleLabel() << "' id = " << desc.id();
839  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
840  out << "\n" << desc;
841  }
842 }
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 877 of file Tracer.cc.

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

Referenced by Tracer().

877  {
878  LogAbsolute out("Tracer");
879  out << TimeStamper(printTimestamps_);
880  out << indention_ << indention_;
881  out << " starting: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
882  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
883  out << "\n" << desc;
884  }
885 }
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 591 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().

591  {
592  ModuleDescription const& desc = *mcc.moduleDescription();
593  LogAbsolute out("Tracer");
594  out << TimeStamper(printTimestamps_);
595  out << indention_ << indention_ << " starting: end stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
596  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
597  out << "\n" << sc;
598  out << mcc;
599  }
600 }
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 930 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().

930  {
931  LogAbsolute out("Tracer");
932  out << TimeStamper(printTimestamps_);
933  unsigned int nIndents = mcc.depth() + 4;
934  for(unsigned int i = 0; i < nIndents; ++i) {
935  out << indention_;
936  }
937  out << " starting: processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
938  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
939  out << "\n" << sc;
940  out << mcc;
941  }
942 }
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 960 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().

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: processing event acquire for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
968 }
std::string indention_
Definition: Tracer.cc:191
void Tracer::preModuleEventDelayedGet ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

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

982  {
983  LogAbsolute out("Tracer");
984  out << TimeStamper(printTimestamps_);
985  unsigned int nIndents = mcc.depth() + 4;
986  for(unsigned int i = 0; i < nIndents; ++i) {
987  out << indention_;
988  }
989  out << " starting: delayed processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
990  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
991  out << "\n" << sc;
992  out << mcc;
993  }
994 }
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 899 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().

899  {
900  LogAbsolute out("Tracer");
901  out << TimeStamper(printTimestamps_);
902  unsigned int nIndents = mcc.depth() + 4;
903  for(unsigned int i = 0; i < nIndents; ++i) {
904  out << indention_;
905  }
906  out << " starting: prefetching before processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
907  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
908  out << "\n" << sc;
909  out << mcc;
910  }
911 }
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 1215 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().

1215  {
1216  LogAbsolute out("Tracer");
1217  out << TimeStamper(printTimestamps_);
1218  unsigned int nIndents = mcc.depth() + 3;
1219  for(unsigned int i = 0; i < nIndents; ++i) {
1220  out << indention_;
1221  }
1222  out << " starting: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1223  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1224  out << "\n" << gc;
1225  out << mcc;
1226  }
1227 }
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 1155 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().

1155  {
1156  LogAbsolute out("Tracer");
1157  out << TimeStamper(printTimestamps_);
1158  unsigned int nIndents = mcc.depth() + 3;
1159  for(unsigned int i = 0; i < nIndents; ++i) {
1160  out << indention_;
1161  }
1162  out << " starting: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1163  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1164  out << "\n" << gc;
1165  out << mcc;
1166  }
1167 }
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 1245 of file Tracer.cc.

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

Referenced by Tracer().

1245  {
1246  LogAbsolute out("Tracer");
1247  out << TimeStamper(printTimestamps_);
1248  unsigned int nIndents = mcc.depth() + 3;
1249  for(unsigned int i = 0; i < nIndents; ++i) {
1250  out << indention_;
1251  }
1252  out << " starting: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1253  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1254  out << "\n" << gc;
1255  out << mcc;
1256  }
1257 }
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 1185 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().

1185  {
1186  LogAbsolute out("Tracer");
1187  out << TimeStamper(printTimestamps_);
1188  unsigned int nIndents = mcc.depth() + 3;
1189  for(unsigned int i = 0; i < nIndents; ++i) {
1190  out << indention_;
1191  }
1192  out << " starting: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1193  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1194  out << "\n" << gc;
1195  out << mcc;
1196  }
1197 }
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 1095 of file Tracer.cc.

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

Referenced by Tracer().

1095  {
1096  LogAbsolute out("Tracer");
1097  out << TimeStamper(printTimestamps_);
1098  unsigned int nIndents = mcc.depth() + 3;
1099  for(unsigned int i = 0; i < nIndents; ++i) {
1100  out << indention_;
1101  }
1102  out << " starting: begin lumi for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1103  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1104  out << "\n" << sc;
1105  out << mcc;
1106  }
1107 }
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 1035 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().

1035  {
1036  LogAbsolute out("Tracer");
1037  out << TimeStamper(printTimestamps_);
1038  unsigned int nIndents = mcc.depth() + 3;
1039  for(unsigned int i = 0; i < nIndents; ++i) {
1040  out << indention_;
1041  }
1042  out << " starting: begin run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1043  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1044  out << "\n" << sc;
1045  out << mcc;
1046  }
1047 }
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 1125 of file Tracer.cc.

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

Referenced by Tracer().

1125  {
1126  LogAbsolute out("Tracer");
1127  out << TimeStamper(printTimestamps_);
1128  unsigned int nIndents = mcc.depth() + 3;
1129  for(unsigned int i = 0; i < nIndents; ++i) {
1130  out << indention_;
1131  }
1132  out << " starting: end lumi for module: stream = " << sc.streamID() << " label = '"<< mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1133  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1134  out << "\n" << sc;
1135  out << mcc;
1136  }
1137 }
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 1065 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().

1065  {
1066  LogAbsolute out("Tracer");
1067  out << TimeStamper(printTimestamps_);
1068  unsigned int nIndents = mcc.depth() + 3;
1069  for(unsigned int i = 0; i < nIndents; ++i) {
1070  out << indention_;
1071  }
1072  out << " starting: end run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1073  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1074  out << "\n" << sc;
1075  out << mcc;
1076  }
1077 }
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 1305 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().

1305  {
1306  LogAbsolute out("Tracer");
1307  out << TimeStamper(printTimestamps_);
1308  unsigned int nIndents = mcc.depth() + 3;
1309  for(unsigned int i = 0; i < nIndents; ++i) {
1310  out << indention_;
1311  }
1312  out << " starting: write lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1313  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1314  out << "\n" << gc;
1315  out << mcc;
1316  }
1317 }
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 1275 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().

1275  {
1276  LogAbsolute out("Tracer");
1277  out << TimeStamper(printTimestamps_);
1278  unsigned int nIndents = mcc.depth() + 3;
1279  for(unsigned int i = 0; i < nIndents; ++i) {
1280  out << indention_;
1281  }
1282  out << " starting: write run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1283  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1284  out << "\n" << gc;
1285  out << mcc;
1286  }
1287 }
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 536 of file Tracer.cc.

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

Referenced by Tracer().

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

Definition at line 813 of file Tracer.cc.

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

Referenced by Tracer().

813  {
814  LogAbsolute out("Tracer");
815  out << TimeStamper(printTimestamps_);
816  out << indention_ << indention_ << indention_ << " starting: processing path '" << pc.pathName() << "' : stream = " << sc.streamID();
818  out << "\n" << sc;
819  out << pc;
820  }
821 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preSourceConstruction ( ModuleDescription const &  md)

Definition at line 1335 of file Tracer.cc.

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

Referenced by Tracer().

1335  {
1336  LogAbsolute out("Tracer");
1337  out << TimeStamper(printTimestamps_);
1338  out << indention_;
1339  out << " starting: constructing source: " << desc.moduleName();
1340  if(dumpNonModuleContext_) {
1341  out << "\n" << desc;
1342  }
1343 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preSourceEvent ( StreamID  sid)

Definition at line 506 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

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

Definition at line 516 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

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

Definition at line 526 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

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

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

747  {
748  LogAbsolute out("Tracer");
749  out << TimeStamper(printTimestamps_);
750  out << indention_ << indention_ << " starting: begin lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
751  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
753  out << "\n" << sc;
754  }
755 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preStreamBeginRun ( StreamContext const &  sc)

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

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

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

769  {
770  LogAbsolute out("Tracer");
771  out << TimeStamper(printTimestamps_);
772  out << indention_ << indention_ << " starting: end lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
773  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
775  out << "\n" << sc;
776  }
777 }
std::string indention_
Definition: Tracer.cc:191
bool dumpNonModuleContext_
Definition: Tracer.cc:193
void Tracer::preStreamEndRun ( StreamContext const &  sc)

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

681  {
682  LogAbsolute out("Tracer");
683  out << TimeStamper(printTimestamps_);
684  out << indention_ << indention_ << " starting: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
685  << " time = " << sc.timestamp().value();
687  out << "\n" << sc;
688  }
689 }
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().