CMS 3D CMS Logo

Tracer.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Services
4 // Class : Tracer
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author: Chris Jones
10 // Created: Thu Sep 8 14:17:58 EDT 2005
11 //
12 
16 
18 
21 
30 
36 
45 
46 #include <iostream>
47 #include <vector>
48 
49 #include <string>
50 #include <set>
51 
52 namespace edm {
54  class GlobalContext;
55  class HLTPathStatus;
56  class LuminosityBlock;
57  class ModuleCallingContext;
58  class ModuleDescription;
59  class PathContext;
60  class PathsAndConsumesOfModulesBase;
61  class ProcessContext;
62  class Run;
63  class StreamContext;
64 
65  namespace service {
66  class Tracer {
67  public:
69 
70  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
71 
73 
75  void postBeginJob();
76  void postEndJob();
77 
80 
83 
84  void preSourceRun(RunIndex);
85  void postSourceRun(RunIndex);
86 
87  void preOpenFile(std::string const&, bool);
88  void postOpenFile(std::string const&, bool);
89 
90  void preCloseFile(std::string const& lfn, bool primary);
91  void postCloseFile(std::string const&, bool);
92 
95 
98 
99  void preGlobalBeginRun(GlobalContext const&);
100  void postGlobalBeginRun(GlobalContext const&);
101 
102  void preGlobalEndRun(GlobalContext const&);
103  void postGlobalEndRun(GlobalContext const&);
104 
105  void preStreamBeginRun(StreamContext const&);
106  void postStreamBeginRun(StreamContext const&);
107 
108  void preStreamEndRun(StreamContext const&);
109  void postStreamEndRun(StreamContext const&);
110 
111  void preGlobalBeginLumi(GlobalContext const&);
112  void postGlobalBeginLumi(GlobalContext const&);
113 
114  void preGlobalEndLumi(GlobalContext const&);
115  void postGlobalEndLumi(GlobalContext const&);
116 
117  void preStreamBeginLumi(StreamContext const&);
118  void postStreamBeginLumi(StreamContext const&);
119 
120  void preStreamEndLumi(StreamContext const&);
121  void postStreamEndLumi(StreamContext const&);
122 
123  void preEvent(StreamContext const&);
124  void postEvent(StreamContext const&);
125 
126  void prePathEvent(StreamContext const&, PathContext const&);
127  void postPathEvent(StreamContext const&, PathContext const&, HLTPathStatus const&);
128 
131 
132  void preModuleBeginJob(ModuleDescription const& md);
133  void postModuleBeginJob(ModuleDescription const& md);
134 
135  void preModuleEndJob(ModuleDescription const& md);
136  void postModuleEndJob(ModuleDescription const& md);
137 
148 
153 
158 
163 
168 
171 
174 
177 
180  eventsetup::DataKey const&);
181 
184  eventsetup::DataKey const&);
185 
188  eventsetup::DataKey const&);
189 
190  private:
192  std::set<std::string> dumpContextForLabels_;
197  };
198  } // namespace service
199 } // namespace edm
200 
201 using namespace edm::service;
202 
203 namespace {
204 
205  class TimeStamper {
206  public:
207  TimeStamper(bool enable) : enabled_(enable) {}
208 
209  friend std::ostream& operator<<(std::ostream& out, TimeStamper const& timestamp) {
210  if (timestamp.enabled_)
211  out << std::setprecision(2) << edm::TimeOfDay() << " ";
212  return out;
213  }
214 
215  private:
216  bool enabled_;
217  };
218 
219 } // namespace
220 
222  : indention_(iPS.getUntrackedParameter<std::string>("indention")),
224  dumpNonModuleContext_(iPS.getUntrackedParameter<bool>("dumpNonModuleContext")),
225  dumpPathsAndConsumes_(iPS.getUntrackedParameter<bool>("dumpPathsAndConsumes")),
226  printTimestamps_(iPS.getUntrackedParameter<bool>("printTimestamps")),
227  dumpEventSetupInfo_(iPS.getUntrackedParameter<bool>("dumpEventSetupInfo")) {
228  for (std::string& label : iPS.getUntrackedParameter<std::vector<std::string>>("dumpContextForLabels"))
230 
231  iRegistry.watchPreallocate(this, &Tracer::preallocate);
232 
233  iRegistry.watchPreBeginJob(this, &Tracer::preBeginJob);
234  iRegistry.watchPostBeginJob(this, &Tracer::postBeginJob);
235  iRegistry.watchPostEndJob(this, &Tracer::postEndJob);
236 
239 
240  iRegistry.watchPreSourceLumi(this, &Tracer::preSourceLumi);
242 
243  iRegistry.watchPreSourceRun(this, &Tracer::preSourceRun);
244  iRegistry.watchPostSourceRun(this, &Tracer::postSourceRun);
245 
246  iRegistry.watchPreOpenFile(this, &Tracer::preOpenFile);
247  iRegistry.watchPostOpenFile(this, &Tracer::postOpenFile);
248 
249  iRegistry.watchPreCloseFile(this, &Tracer::preCloseFile);
250  iRegistry.watchPostCloseFile(this, &Tracer::postCloseFile);
251 
254 
257 
260 
263 
266 
269 
272 
275 
278 
281 
282  iRegistry.watchPreEvent(this, &Tracer::preEvent);
283  iRegistry.watchPostEvent(this, &Tracer::postEvent);
284 
285  iRegistry.watchPrePathEvent(this, &Tracer::prePathEvent);
286  iRegistry.watchPostPathEvent(this, &Tracer::postPathEvent);
287 
290 
293 
296 
307 
312 
317 
322 
327 
330 
333 
336 
337  if (dumpEventSetupInfo_) {
341  }
342 
344  LogAbsolute out("Tracer");
345  out << TimeStamper(printTimestamps_);
346  out << indention_ << indention_ << " early termination before processing transition";
347  });
349  [this](edm::StreamContext const& iContext, edm::TerminationOrigin iOrigin) {
350  LogAbsolute out("Tracer");
351  out << TimeStamper(printTimestamps_);
352  if (iContext.eventID().luminosityBlock() == 0) {
353  out << indention_ << indention_ << " early termination of run: stream = " << iContext.streamID()
354  << " run = " << iContext.eventID().run();
355  } else {
356  if (iContext.eventID().event() == 0) {
357  out << indention_ << indention_ << " early termination of stream lumi: stream = " << iContext.streamID()
358  << " run = " << iContext.eventID().run() << " lumi = " << iContext.eventID().luminosityBlock();
359  } else {
360  out << indention_ << indention_ << " early termination of event: stream = " << iContext.streamID()
361  << " run = " << iContext.eventID().run() << " lumi = " << iContext.eventID().luminosityBlock()
362  << " event = " << iContext.eventID().event();
363  }
364  }
365  out << " : time = " << iContext.timestamp().value();
366  });
368  [this](edm::GlobalContext const& iContext, edm::TerminationOrigin iOrigin) {
369  LogAbsolute out("Tracer");
370  out << TimeStamper(printTimestamps_);
371  if (iContext.luminosityBlockID().value() == 0) {
372  out << indention_ << indention_ << " early termination of global run " << iContext.luminosityBlockID().run();
373  } else {
374  out << indention_ << indention_
375  << " early termination of global lumi run = " << iContext.luminosityBlockID().run()
376  << " lumi = " << iContext.luminosityBlockID().luminosityBlock();
377  }
378  out << " : time = " << iContext.timestamp().value();
379  });
380 }
381 
384  desc.addUntracked<std::string>("indention", "++")
385  ->setComment("Prefix characters for output. The characters are repeated to form the indentation.");
386  desc.addUntracked<std::vector<std::string>>("dumpContextForLabels", std::vector<std::string>{})
387  ->setComment(
388  "Prints context information to cout for the module transitions associated with these modules' labels");
389  desc.addUntracked<bool>("dumpNonModuleContext", false)
390  ->setComment("Prints context information to cout for the transitions not associated with any module label");
391  desc.addUntracked<bool>("dumpPathsAndConsumes", false)
392  ->setComment(
393  "Prints information to cout about paths, endpaths, products consumed by modules and the dependencies between "
394  "modules created by the products they consume");
395  desc.addUntracked<bool>("printTimestamps", false)->setComment("Prints a time stamp for every transition");
396  desc.addUntracked<bool>("dumpEventSetupInfo", false)
397  ->setComment(
398  "Prints info 3 times when an event setup cache is filled, before the lock, after the lock, and after "
399  "filling");
400  descriptions.add("Tracer", desc);
401  descriptions.setComment(
402  "This service prints each phase the framework is processing, e.g. constructing a module,running a module, etc.");
403 }
404 
406  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_
407  << " preallocate: " << bounds.maxNumberOfConcurrentRuns() << " concurrent runs, "
408  << bounds.maxNumberOfConcurrentLuminosityBlocks() << " concurrent luminosity sections, "
409  << bounds.maxNumberOfStreams() << " streams";
410 }
411 
412 void Tracer::preBeginJob(PathsAndConsumesOfModulesBase const& pathsAndConsumes, ProcessContext const& pc) {
413  LogAbsolute out("Tracer");
414  out << TimeStamper(printTimestamps_) << indention_ << " starting: begin job";
415  if (dumpPathsAndConsumes_) {
416  out << "\n"
417  << "Process name = " << pc.processName() << "\n";
418  out << "paths:\n";
419  std::vector<std::string> const& paths = pathsAndConsumes.paths();
420  for (auto const& path : paths) {
421  out << " " << path << "\n";
422  }
423  out << "end paths:\n";
424  std::vector<std::string> const& endpaths = pathsAndConsumes.endPaths();
425  for (auto const& endpath : endpaths) {
426  out << " " << endpath << "\n";
427  }
428  for (unsigned int j = 0; j < paths.size(); ++j) {
429  std::vector<ModuleDescription const*> const& modulesOnPath = pathsAndConsumes.modulesOnPath(j);
430  out << "modules on path " << paths.at(j) << ":\n";
431  for (auto const& desc : modulesOnPath) {
432  out << " " << desc->moduleLabel() << "\n";
433  }
434  }
435  for (unsigned int j = 0; j < endpaths.size(); ++j) {
436  std::vector<ModuleDescription const*> const& modulesOnEndPath = pathsAndConsumes.modulesOnEndPath(j);
437  out << "modules on end path " << endpaths.at(j) << ":\n";
438  for (auto const& desc : modulesOnEndPath) {
439  out << " " << desc->moduleLabel() << "\n";
440  }
441  }
442  std::vector<ModuleDescription const*> const& allModules = pathsAndConsumes.allModules();
443  out << "All modules and modules in the current process whose products they consume:\n";
444  out << "(This does not include modules from previous processes or the source)\n";
445  for (auto const& module : allModules) {
446  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
447  unsigned int moduleID = module->id();
448  if (pathsAndConsumes.moduleDescription(moduleID) != module) {
449  throw cms::Exception("TestFailure") << "Tracer::preBeginJob, moduleDescription returns incorrect value";
450  }
451  std::vector<ModuleDescription const*> const& modulesWhoseProductsAreConsumedBy =
452  pathsAndConsumes.modulesWhoseProductsAreConsumedBy(moduleID);
453  if (!modulesWhoseProductsAreConsumedBy.empty()) {
454  out << " consumes products from these modules:\n";
455  for (auto const& producingModule : modulesWhoseProductsAreConsumedBy) {
456  out << " " << producingModule->moduleName() << "/\'" << producingModule->moduleLabel() << "\'\n";
457  }
458  } else {
459  out << "\n";
460  }
461  }
462  out << "All modules (listed by class and label) and all their consumed products.\n";
463  out << "Consumed products are listed by type, label, instance, process.\n";
464  out << "For products not in the event, \'run\' or \'lumi\' is added to indicate the TTree they are from.\n";
465  out << "For products that are declared with mayConsume, \'may consume\' is added.\n";
466  out << "For products consumed for Views, \'element type\' is added\n";
467  out << "For products only read from previous processes, \'skip current process\' is added\n";
468  for (auto const* module : allModules) {
469  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
470  std::vector<ConsumesInfo> consumesInfo = pathsAndConsumes.consumesInfo(module->id());
471  if (!consumesInfo.empty()) {
472  out << " consumes:\n";
473  for (auto const& info : consumesInfo) {
474  out << " " << info.type() << " \'" << info.label() << "\' \'" << info.instance();
475  out << "\' \'" << info.process() << "\'";
476  if (info.branchType() == InLumi) {
477  out << ", lumi";
478  } else if (info.branchType() == InRun) {
479  out << ", run";
480  }
481  if (!info.alwaysGets()) {
482  out << ", may consume";
483  }
484  if (info.kindOfType() == ELEMENT_TYPE) {
485  out << ", element type";
486  }
487  if (info.skipCurrentProcess()) {
488  out << ", skip current process";
489  }
490  out << "\n";
491  }
492  } else {
493  out << "\n";
494  }
495  }
496  }
497 }
498 
500  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: begin job";
501 }
502 
504  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: end job";
505 }
506 
508  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source event";
509 }
510 
512  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source event";
513 }
514 
516  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source lumi";
517 }
518 
520  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source lumi";
521 }
522 
524  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source run";
525 }
526 
528  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source run";
529 }
530 
531 void Tracer::preOpenFile(std::string const& lfn, bool b) {
532  LogAbsolute out("Tracer");
533  out << TimeStamper(printTimestamps_);
534  out << indention_ << indention_ << " starting: open input file: lfn = " << lfn;
536  out << " usedFallBack = " << b;
537 }
538 
539 void Tracer::postOpenFile(std::string const& lfn, bool b) {
540  LogAbsolute out("Tracer");
541  out << TimeStamper(printTimestamps_);
542  out << indention_ << indention_ << " finished: open input file: lfn = " << lfn;
544  out << " usedFallBack = " << b;
545 }
546 
547 void Tracer::preCloseFile(std::string const& lfn, bool b) {
548  LogAbsolute out("Tracer");
549  out << TimeStamper(printTimestamps_);
550  out << indention_ << indention_ << " starting: close input file: lfn = " << lfn;
552  out << " usedFallBack = " << b;
553 }
554 void Tracer::postCloseFile(std::string const& lfn, bool b) {
555  LogAbsolute out("Tracer");
556  out << TimeStamper(printTimestamps_);
557  out << indention_ << indention_ << " finished: close input file: lfn = " << lfn;
559  out << " usedFallBack = " << b;
560 }
561 
563  ModuleDescription const& desc = *mcc.moduleDescription();
564  LogAbsolute out("Tracer");
565  out << TimeStamper(printTimestamps_);
566  out << indention_ << indention_ << " starting: begin stream for module: stream = " << sc.streamID() << " label = '"
567  << desc.moduleLabel() << "' id = " << desc.id();
568  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
569  out << "\n" << sc;
570  out << mcc;
571  }
572 }
573 
575  ModuleDescription const& desc = *mcc.moduleDescription();
576  LogAbsolute out("Tracer");
577  out << TimeStamper(printTimestamps_);
578  out << indention_ << indention_ << " finished: begin stream for module: stream = " << sc.streamID() << " label = '"
579  << desc.moduleLabel() << "' id = " << desc.id();
580  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
581  out << "\n" << sc;
582  out << mcc;
583  }
584 }
585 
587  ModuleDescription const& desc = *mcc.moduleDescription();
588  LogAbsolute out("Tracer");
589  out << TimeStamper(printTimestamps_);
590  out << indention_ << indention_ << " starting: end stream for module: stream = " << sc.streamID() << " label = '"
591  << desc.moduleLabel() << "' id = " << desc.id();
592  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
593  out << "\n" << sc;
594  out << mcc;
595  }
596 }
597 
599  ModuleDescription const& desc = *mcc.moduleDescription();
600  LogAbsolute out("Tracer");
601  out << TimeStamper(printTimestamps_);
602  out << indention_ << indention_ << " finished: end stream for module: stream = " << sc.streamID() << " label = '"
603  << desc.moduleLabel() << "' id = " << desc.id();
604  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
605  out << "\n" << sc;
606  out << mcc;
607  }
608 }
609 
611  LogAbsolute out("Tracer");
612  out << TimeStamper(printTimestamps_);
613  out << indention_ << indention_ << " starting: global begin run " << gc.luminosityBlockID().run()
614  << " : time = " << gc.timestamp().value();
615  if (dumpNonModuleContext_) {
616  out << "\n" << gc;
617  }
618 }
619 
621  LogAbsolute out("Tracer");
622  out << TimeStamper(printTimestamps_);
623  out << indention_ << indention_ << " finished: global begin run " << gc.luminosityBlockID().run()
624  << " : time = " << gc.timestamp().value();
625  if (dumpNonModuleContext_) {
626  out << "\n" << gc;
627  }
628 }
629 
631  LogAbsolute out("Tracer");
632  out << TimeStamper(printTimestamps_);
633  out << indention_ << indention_ << " starting: global end run " << gc.luminosityBlockID().run()
634  << " : time = " << gc.timestamp().value();
635  if (dumpNonModuleContext_) {
636  out << "\n" << gc;
637  }
638 }
639 
641  LogAbsolute out("Tracer");
642  out << TimeStamper(printTimestamps_);
643  out << indention_ << indention_ << " finished: global end run " << gc.luminosityBlockID().run()
644  << " : time = " << gc.timestamp().value();
645  if (dumpNonModuleContext_) {
646  out << "\n" << gc;
647  }
648 }
649 
651  LogAbsolute out("Tracer");
652  out << TimeStamper(printTimestamps_);
653  out << indention_ << indention_ << " starting: begin run: stream = " << sc.streamID()
654  << " run = " << sc.eventID().run() << " time = " << sc.timestamp().value();
655  if (dumpNonModuleContext_) {
656  out << "\n" << sc;
657  }
658 }
659 
661  LogAbsolute out("Tracer");
662  out << TimeStamper(printTimestamps_);
663  out << indention_ << indention_ << " finished: begin run: stream = " << sc.streamID()
664  << " run = " << sc.eventID().run() << " time = " << sc.timestamp().value();
665  if (dumpNonModuleContext_) {
666  out << "\n" << sc;
667  }
668 }
669 
671  LogAbsolute out("Tracer");
672  out << TimeStamper(printTimestamps_);
673  out << indention_ << indention_ << " starting: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
674  << " time = " << sc.timestamp().value();
675  if (dumpNonModuleContext_) {
676  out << "\n" << sc;
677  }
678 }
679 
681  LogAbsolute out("Tracer");
682  out << TimeStamper(printTimestamps_);
683  out << indention_ << indention_ << " finished: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
684  << " time = " << sc.timestamp().value();
685  if (dumpNonModuleContext_) {
686  out << "\n" << sc;
687  }
688 }
689 
691  LogAbsolute out("Tracer");
692  out << TimeStamper(printTimestamps_);
693  out << indention_ << indention_ << " starting: global begin lumi: run = " << gc.luminosityBlockID().run()
694  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
695  if (dumpNonModuleContext_) {
696  out << "\n" << gc;
697  }
698 }
699 
701  LogAbsolute out("Tracer");
702  out << TimeStamper(printTimestamps_);
703  out << indention_ << indention_ << " finished: global begin lumi: run = " << gc.luminosityBlockID().run()
704  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
705  if (dumpNonModuleContext_) {
706  out << "\n" << gc;
707  }
708 }
709 
711  LogAbsolute out("Tracer");
712  out << TimeStamper(printTimestamps_);
713  out << indention_ << indention_ << " starting: global end lumi: run = " << gc.luminosityBlockID().run()
714  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
715  if (dumpNonModuleContext_) {
716  out << "\n" << gc;
717  }
718 }
719 
721  LogAbsolute out("Tracer");
722  out << TimeStamper(printTimestamps_);
723  out << indention_ << indention_ << " finished: global end lumi: run = " << gc.luminosityBlockID().run()
724  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
725  if (dumpNonModuleContext_) {
726  out << "\n" << gc;
727  }
728 }
729 
731  LogAbsolute out("Tracer");
732  out << TimeStamper(printTimestamps_);
733  out << indention_ << indention_ << " starting: begin lumi: stream = " << sc.streamID()
734  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
735  << " time = " << sc.timestamp().value();
736  if (dumpNonModuleContext_) {
737  out << "\n" << sc;
738  }
739 }
740 
742  LogAbsolute out("Tracer");
743  out << TimeStamper(printTimestamps_);
744  out << indention_ << indention_ << " finished: begin lumi: stream = " << sc.streamID()
745  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
746  << " time = " << sc.timestamp().value();
747  if (dumpNonModuleContext_) {
748  out << "\n" << sc;
749  }
750 }
751 
753  LogAbsolute out("Tracer");
754  out << TimeStamper(printTimestamps_);
755  out << indention_ << indention_ << " starting: end lumi: stream = " << sc.streamID()
756  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
757  << " time = " << sc.timestamp().value();
758  if (dumpNonModuleContext_) {
759  out << "\n" << sc;
760  }
761 }
762 
764  LogAbsolute out("Tracer");
765  out << TimeStamper(printTimestamps_);
766  out << indention_ << indention_ << " finished: end lumi: stream = " << sc.streamID()
767  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
768  << " time = " << sc.timestamp().value();
769  if (dumpNonModuleContext_) {
770  out << "\n" << sc;
771  }
772 }
773 
775  LogAbsolute out("Tracer");
776  out << TimeStamper(printTimestamps_);
777  out << indention_ << indention_ << " starting: processing event : stream = " << sc.streamID()
778  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
779  << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
780  if (dumpNonModuleContext_) {
781  out << "\n" << sc;
782  }
783 }
784 
786  LogAbsolute out("Tracer");
787  out << TimeStamper(printTimestamps_);
788  out << indention_ << indention_ << " finished: processing event : stream = " << sc.streamID()
789  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
790  << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
791  if (dumpNonModuleContext_) {
792  out << "\n" << sc;
793  }
794 }
795 
797  LogAbsolute out("Tracer");
798  out << TimeStamper(printTimestamps_);
799  out << indention_ << indention_ << indention_ << " starting: processing path '" << pc.pathName()
800  << "' : stream = " << sc.streamID();
801  if (dumpNonModuleContext_) {
802  out << "\n" << sc;
803  out << pc;
804  }
805 }
806 
807 void Tracer::postPathEvent(StreamContext const& sc, PathContext const& pc, HLTPathStatus const& hlts) {
808  LogAbsolute out("Tracer");
809  out << TimeStamper(printTimestamps_);
810  out << indention_ << indention_ << indention_ << " finished: processing path '" << pc.pathName()
811  << "' : stream = " << sc.streamID();
812  if (dumpNonModuleContext_) {
813  out << "\n" << sc;
814  out << pc;
815  }
816 }
817 
819  LogAbsolute out("Tracer");
820  out << TimeStamper(printTimestamps_);
821  out << indention_ << indention_ << " starting: constructing module with label '" << desc.moduleLabel()
822  << "' id = " << desc.id();
823  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
824  out << "\n" << desc;
825  }
826 }
827 
829  LogAbsolute out("Tracer");
830  out << TimeStamper(printTimestamps_);
831  out << indention_ << indention_ << " finished: constructing module with label '" << desc.moduleLabel()
832  << "' id = " << desc.id();
833  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
834  out << "\n" << desc;
835  }
836 }
837 
839  LogAbsolute out("Tracer");
840  out << TimeStamper(printTimestamps_);
841  out << indention_ << indention_;
842  out << " starting: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
843  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
844  out << "\n" << desc;
845  }
846 }
847 
849  LogAbsolute out("Tracer");
850  out << TimeStamper(printTimestamps_);
851  out << indention_ << indention_;
852  out << " finished: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
853  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
854  out << "\n" << desc;
855  }
856 }
857 
859  LogAbsolute out("Tracer");
860  out << TimeStamper(printTimestamps_);
861  out << indention_ << indention_;
862  out << " starting: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
863  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
864  out << "\n" << desc;
865  }
866 }
867 
869  LogAbsolute out("Tracer");
870  out << TimeStamper(printTimestamps_);
871  out << indention_ << indention_;
872  out << " finished: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
873  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
874  out << "\n" << desc;
875  }
876 }
877 
879  LogAbsolute out("Tracer");
880  out << TimeStamper(printTimestamps_);
881  unsigned int nIndents = mcc.depth() + 4;
882  for (unsigned int i = 0; i < nIndents; ++i) {
883  out << indention_;
884  }
885  out << " starting: prefetching before processing event for module: stream = " << sc.streamID() << " label = '"
886  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
888  out << "\n" << sc;
889  out << mcc;
890  }
891 }
892 
894  LogAbsolute out("Tracer");
895  out << TimeStamper(printTimestamps_);
896  unsigned int nIndents = mcc.depth() + 4;
897  for (unsigned int i = 0; i < nIndents; ++i) {
898  out << indention_;
899  }
900  out << " finished: prefetching before processing event for module: stream = " << sc.streamID() << " label = '"
901  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
903  out << "\n" << sc;
904  out << mcc;
905  }
906 }
907 
909  LogAbsolute out("Tracer");
910  out << TimeStamper(printTimestamps_);
911  unsigned int nIndents = mcc.depth() + 4;
912  for (unsigned int i = 0; i < nIndents; ++i) {
913  out << indention_;
914  }
915  out << " starting: processing event for module: stream = " << sc.streamID() << " label = '"
916  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
918  out << "\n" << sc;
919  out << mcc;
920  }
921 }
922 
924  LogAbsolute out("Tracer");
925  out << TimeStamper(printTimestamps_);
926  unsigned int nIndents = mcc.depth() + 4;
927  for (unsigned int i = 0; i < nIndents; ++i) {
928  out << indention_;
929  }
930  out << " finished: processing event for module: stream = " << sc.streamID() << " label = '"
931  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
933  out << "\n" << sc;
934  out << mcc;
935  }
936 }
937 
939  LogAbsolute out("Tracer");
940  out << TimeStamper(printTimestamps_);
941  unsigned int nIndents = mcc.depth() + 4;
942  for (unsigned int i = 0; i < nIndents; ++i) {
943  out << indention_;
944  }
945  out << " starting: processing event acquire for module: stream = " << sc.streamID() << " label = '"
946  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
947 }
948 
950  LogAbsolute out("Tracer");
951  out << TimeStamper(printTimestamps_);
952  unsigned int nIndents = mcc.depth() + 4;
953  for (unsigned int i = 0; i < nIndents; ++i) {
954  out << indention_;
955  }
956  out << " finished: processing event acquire for module: stream = " << sc.streamID() << " label = '"
957  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
958 }
959 
961  LogAbsolute out("Tracer");
962  out << TimeStamper(printTimestamps_);
963  unsigned int nIndents = mcc.depth() + 4;
964  for (unsigned int i = 0; i < nIndents; ++i) {
965  out << indention_;
966  }
967  out << " starting: delayed processing event for module: stream = " << sc.streamID() << " label = '"
968  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
970  out << "\n" << sc;
971  out << mcc;
972  }
973 }
974 
976  LogAbsolute out("Tracer");
977  out << TimeStamper(printTimestamps_);
978  unsigned int nIndents = mcc.depth() + 4;
979  for (unsigned int i = 0; i < nIndents; ++i) {
980  out << indention_;
981  }
982  out << " finished: delayed processing event for module: stream = " << sc.streamID() << " label = '"
983  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
985  out << "\n" << sc;
986  out << mcc;
987  }
988 }
989 
991  LogAbsolute out("Tracer");
992  out << TimeStamper(printTimestamps_);
993  unsigned int nIndents = mcc.depth() + 5;
994  for (unsigned int i = 0; i < nIndents; ++i) {
995  out << indention_;
996  }
997  out << " starting: event delayed read from source: stream = " << sc.streamID() << " label = '"
998  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
999 }
1000 
1002  LogAbsolute out("Tracer");
1003  out << TimeStamper(printTimestamps_);
1004  unsigned int nIndents = mcc.depth() + 5;
1005  for (unsigned int i = 0; i < nIndents; ++i) {
1006  out << indention_;
1007  }
1008  out << " finished: event delayed read from source: stream = " << sc.streamID() << " label = '"
1009  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1010 }
1011 
1013  LogAbsolute out("Tracer");
1014  out << TimeStamper(printTimestamps_);
1015  unsigned int nIndents = mcc.depth() + 3;
1016  for (unsigned int i = 0; i < nIndents; ++i) {
1017  out << indention_;
1018  }
1019  out << " starting: begin run for module: stream = " << sc.streamID() << " label = '"
1020  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1022  out << "\n" << sc;
1023  out << mcc;
1024  }
1025 }
1026 
1028  LogAbsolute out("Tracer");
1029  out << TimeStamper(printTimestamps_);
1030  unsigned int nIndents = mcc.depth() + 3;
1031  for (unsigned int i = 0; i < nIndents; ++i) {
1032  out << indention_;
1033  }
1034  out << " finished: begin run for module: stream = " << sc.streamID() << " label = '"
1035  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1037  out << "\n" << sc;
1038  out << mcc;
1039  }
1040 }
1041 
1043  LogAbsolute out("Tracer");
1044  out << TimeStamper(printTimestamps_);
1045  unsigned int nIndents = mcc.depth() + 3;
1046  for (unsigned int i = 0; i < nIndents; ++i) {
1047  out << indention_;
1048  }
1049  out << " starting: end run for module: stream = " << sc.streamID() << " label = '"
1050  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1052  out << "\n" << sc;
1053  out << mcc;
1054  }
1055 }
1056 
1058  LogAbsolute out("Tracer");
1059  out << TimeStamper(printTimestamps_);
1060  unsigned int nIndents = mcc.depth() + 3;
1061  for (unsigned int i = 0; i < nIndents; ++i) {
1062  out << indention_;
1063  }
1064  out << " finished: end run for module: stream = " << sc.streamID() << " label = '"
1065  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1067  out << "\n" << sc;
1068  out << mcc;
1069  }
1070 }
1071 
1073  LogAbsolute out("Tracer");
1074  out << TimeStamper(printTimestamps_);
1075  unsigned int nIndents = mcc.depth() + 3;
1076  for (unsigned int i = 0; i < nIndents; ++i) {
1077  out << indention_;
1078  }
1079  out << " starting: begin lumi for module: stream = " << sc.streamID() << " label = '"
1080  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1082  out << "\n" << sc;
1083  out << mcc;
1084  }
1085 }
1086 
1088  LogAbsolute out("Tracer");
1089  out << TimeStamper(printTimestamps_);
1090  unsigned int nIndents = mcc.depth() + 3;
1091  for (unsigned int i = 0; i < nIndents; ++i) {
1092  out << indention_;
1093  }
1094  out << " finished: begin lumi for module: stream = " << sc.streamID() << " label = '"
1095  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1097  out << "\n" << sc;
1098  out << mcc;
1099  }
1100 }
1101 
1103  LogAbsolute out("Tracer");
1104  out << TimeStamper(printTimestamps_);
1105  unsigned int nIndents = mcc.depth() + 3;
1106  for (unsigned int i = 0; i < nIndents; ++i) {
1107  out << indention_;
1108  }
1109  out << " starting: end lumi for module: stream = " << sc.streamID() << " label = '"
1110  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1112  out << "\n" << sc;
1113  out << mcc;
1114  }
1115 }
1116 
1118  LogAbsolute out("Tracer");
1119  out << TimeStamper(printTimestamps_);
1120  unsigned int nIndents = mcc.depth() + 3;
1121  for (unsigned int i = 0; i < nIndents; ++i) {
1122  out << indention_;
1123  }
1124  out << " finished: end lumi for module: stream = " << sc.streamID() << " label = '"
1125  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1127  out << "\n" << sc;
1128  out << mcc;
1129  }
1130 }
1131 
1133  LogAbsolute out("Tracer");
1134  out << TimeStamper(printTimestamps_);
1135  unsigned int nIndents = mcc.depth() + 3;
1136  for (unsigned int i = 0; i < nIndents; ++i) {
1137  out << indention_;
1138  }
1139  out << " starting: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1140  << "' id = " << mcc.moduleDescription()->id();
1142  out << "\n" << gc;
1143  out << mcc;
1144  }
1145 }
1146 
1148  LogAbsolute out("Tracer");
1149  out << TimeStamper(printTimestamps_);
1150  unsigned int nIndents = mcc.depth() + 3;
1151  for (unsigned int i = 0; i < nIndents; ++i) {
1152  out << indention_;
1153  }
1154  out << " finished: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1155  << "' id = " << mcc.moduleDescription()->id();
1157  out << "\n" << gc;
1158  out << mcc;
1159  }
1160 }
1161 
1163  LogAbsolute out("Tracer");
1164  out << TimeStamper(printTimestamps_);
1165  unsigned int nIndents = mcc.depth() + 3;
1166  for (unsigned int i = 0; i < nIndents; ++i) {
1167  out << indention_;
1168  }
1169  out << " starting: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1170  << "' id = " << mcc.moduleDescription()->id();
1172  out << "\n" << gc;
1173  out << mcc;
1174  }
1175 }
1176 
1178  LogAbsolute out("Tracer");
1179  out << TimeStamper(printTimestamps_);
1180  unsigned int nIndents = mcc.depth() + 3;
1181  for (unsigned int i = 0; i < nIndents; ++i) {
1182  out << indention_;
1183  }
1184  out << " finished: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1185  << "' id = " << mcc.moduleDescription()->id();
1187  out << "\n" << gc;
1188  out << mcc;
1189  }
1190 }
1191 
1193  LogAbsolute out("Tracer");
1194  out << TimeStamper(printTimestamps_);
1195  unsigned int nIndents = mcc.depth() + 3;
1196  for (unsigned int i = 0; i < nIndents; ++i) {
1197  out << indention_;
1198  }
1199  out << " starting: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1200  << "' id = " << mcc.moduleDescription()->id();
1202  out << "\n" << gc;
1203  out << mcc;
1204  }
1205 }
1206 
1208  LogAbsolute out("Tracer");
1209  out << TimeStamper(printTimestamps_);
1210  unsigned int nIndents = mcc.depth() + 3;
1211  for (unsigned int i = 0; i < nIndents; ++i) {
1212  out << indention_;
1213  }
1214  out << " finished: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1215  << "' id = " << mcc.moduleDescription()->id();
1217  out << "\n" << gc;
1218  out << mcc;
1219  }
1220 }
1221 
1223  LogAbsolute out("Tracer");
1224  out << TimeStamper(printTimestamps_);
1225  unsigned int nIndents = mcc.depth() + 3;
1226  for (unsigned int i = 0; i < nIndents; ++i) {
1227  out << indention_;
1228  }
1229  out << " starting: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1230  << "' id = " << mcc.moduleDescription()->id();
1232  out << "\n" << gc;
1233  out << mcc;
1234  }
1235 }
1236 
1238  LogAbsolute out("Tracer");
1239  out << TimeStamper(printTimestamps_);
1240  unsigned int nIndents = mcc.depth() + 3;
1241  for (unsigned int i = 0; i < nIndents; ++i) {
1242  out << indention_;
1243  }
1244  out << " finished: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1245  << "' id = " << mcc.moduleDescription()->id();
1247  out << "\n" << gc;
1248  out << mcc;
1249  }
1250 }
1251 
1253  LogAbsolute out("Tracer");
1254  out << TimeStamper(printTimestamps_);
1255  unsigned int nIndents = mcc.depth() + 3;
1256  for (unsigned int i = 0; i < nIndents; ++i) {
1257  out << indention_;
1258  }
1259  out << " starting: write run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1260  << "' id = " << mcc.moduleDescription()->id();
1262  out << "\n" << gc;
1263  out << mcc;
1264  }
1265 }
1266 
1268  LogAbsolute out("Tracer");
1269  out << TimeStamper(printTimestamps_);
1270  unsigned int nIndents = mcc.depth() + 3;
1271  for (unsigned int i = 0; i < nIndents; ++i) {
1272  out << indention_;
1273  }
1274  out << " finished: write run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1275  << "' id = " << mcc.moduleDescription()->id();
1277  out << "\n" << gc;
1278  out << mcc;
1279  }
1280 }
1281 
1283  LogAbsolute out("Tracer");
1284  out << TimeStamper(printTimestamps_);
1285  unsigned int nIndents = mcc.depth() + 3;
1286  for (unsigned int i = 0; i < nIndents; ++i) {
1287  out << indention_;
1288  }
1289  out << " starting: write lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1290  << "' id = " << mcc.moduleDescription()->id();
1292  out << "\n" << gc;
1293  out << mcc;
1294  }
1295 }
1296 
1298  LogAbsolute out("Tracer");
1299  out << TimeStamper(printTimestamps_);
1300  unsigned int nIndents = mcc.depth() + 3;
1301  for (unsigned int i = 0; i < nIndents; ++i) {
1302  out << indention_;
1303  }
1304  out << " finished: write lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1305  << "' id = " << mcc.moduleDescription()->id();
1307  out << "\n" << gc;
1308  out << mcc;
1309  }
1310 }
1311 
1313  LogAbsolute out("Tracer");
1314  out << TimeStamper(printTimestamps_);
1315  out << indention_;
1316  out << " starting: constructing source: " << desc.moduleName();
1317  if (dumpNonModuleContext_) {
1318  out << "\n" << desc;
1319  }
1320 }
1321 
1323  LogAbsolute out("Tracer");
1324  out << TimeStamper(printTimestamps_);
1325  out << indention_;
1326  out << " finished: constructing source: " << desc.moduleName();
1327  if (dumpNonModuleContext_) {
1328  out << "\n" << desc;
1329  }
1330 }
1331 
1333  eventsetup::EventSetupRecordKey const& recordKey,
1334  eventsetup::DataKey const& dataKey) {
1335  LogAbsolute out("Tracer");
1336  out << "preLockEventSetupGet ";
1337  out << desc->label_ << " ";
1338  out << recordKey.name() << " ";
1339  out << dataKey.type().name() << " ";
1340  out << dataKey.name().value();
1341 }
1342 
1344  eventsetup::EventSetupRecordKey const& recordKey,
1345  eventsetup::DataKey const& dataKey) {
1346  LogAbsolute out("Tracer");
1347  out << "postLockEventSetupGet ";
1348  out << desc->label_ << " ";
1349  out << recordKey.name() << " ";
1350  out << dataKey.type().name() << " ";
1351  out << dataKey.name().value();
1352 }
1353 
1355  eventsetup::EventSetupRecordKey const& recordKey,
1356  eventsetup::DataKey const& dataKey) {
1357  LogAbsolute out("Tracer");
1358  out << "postEventSetupGet ";
1359  out << desc->label_ << " ";
1360  out << recordKey.name() << " ";
1361  out << dataKey.type().name() << " ";
1362  out << dataKey.name().value();
1363 }
1364 
1365 using edm::service::Tracer;
void preCloseFile(std::string const &lfn, bool primary)
Definition: Tracer.cc:547
RunNumber_t run() const
Definition: EventID.h:39
void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const &iSlot)
void watchPostModuleConstruction(PostModuleConstruction::slot_type const &iSlot)
std::string const & pathName() const
Definition: PathContext.h:30
EventNumber_t event() const
Definition: EventID.h:41
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
void postEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1001
T getUntrackedParameter(std::string const &, T const &) const
void preModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1252
void watchPreEvent(PreEvent::slot_type const &iSlot)
void postLockEventSetupGet(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)
Definition: Tracer.cc:1343
void postSourceRun(RunIndex)
Definition: Tracer.cc:527
std::string const & processName() const
static const TGPicture * info(bool iBackgroundIsBlack)
boost::uint64_t value() const
void watchPrePathEvent(PrePathEvent::slot_type const &iSlot)
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1147
void watchPreallocate(Preallocate::slot_type const &iSlot)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1207
void watchPreModuleEventAcquire(PreModuleEventAcquire::slot_type const &iSlot)
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1117
void postModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:949
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1192
void postModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:828
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:598
std::vector< ConsumesInfo > consumesInfo(unsigned int moduleID) const
void preSourceRun(RunIndex)
Definition: Tracer.cc:523
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1237
void watchPostModuleEndStream(PostModuleEndStream::slot_type const &iSlot)
void postModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1297
void watchPreModuleEvent(PreModuleEvent::slot_type const &iSlot)
void watchPreModuleConstruction(PreModuleConstruction::slot_type const &iSlot)
void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const &iSlot)
void watchPostEvent(PostEvent::slot_type const &iSlot)
void preallocate(service::SystemBounds const &)
Definition: Tracer.cc:405
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:55
void postStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:741
void watchPreStreamEndRun(PreStreamEndRun::slot_type const &iSlot)
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1222
void watchPostSourceConstruction(PostSourceConstruction::slot_type const &iSlot)
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
std::vector< ModuleDescription const * > const & modulesOnEndPath(unsigned int endPathIndex) const
void watchPreEventReadFromSource(PreEventReadFromSource::slot_type const &iSlot)
std::string const & moduleName() const
void watchPostPathEvent(PostPathEvent::slot_type const &iSlot)
void watchPostModuleEvent(PostModuleEvent::slot_type const &iSlot)
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1072
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
void preGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:710
void preModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:858
void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const &iSlot)
void watchPostSourceEvent(PostSourceEvent::slot_type const &iSlot)
void preLockEventSetupGet(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)
Definition: Tracer.cc:1332
void preModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:818
std::vector< ModuleDescription const * > const & modulesOnPath(unsigned int pathIndex) const
void preBeginJob(PathsAndConsumesOfModulesBase const &, ProcessContext const &)
Definition: Tracer.cc:412
void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const &iSlot)
void postStreamEndRun(StreamContext const &)
Definition: Tracer.cc:680
void postGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:720
void postSourceLumi(LuminosityBlockIndex)
Definition: Tracer.cc:519
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:40
void postModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:848
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1057
std::string const & moduleLabel() const
void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const &iSlot)
void watchPreModuleEventPrefetching(PreModuleEventPrefetching::slot_type const &iSlot)
void postCloseFile(std::string const &, bool)
Definition: Tracer.cc:554
void watchPostModuleWriteRun(PostModuleWriteRun::slot_type const &iSlot)
bool dumpEventSetupInfo_
Definition: Tracer.cc:196
std::vector< ModuleDescription const * > const & allModules() const
void watchPostModuleWriteLumi(PostModuleWriteLumi::slot_type const &iSlot)
Timestamp const & timestamp() const
Definition: GlobalContext.h:58
void preStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:752
void watchPostModuleEventPrefetching(PostModuleEventPrefetching::slot_type const &iSlot)
std::vector< std::string > const & endPaths() const
void preOpenFile(std::string const &, bool)
Definition: Tracer.cc:531
unsigned int maxNumberOfStreams() const
Definition: SystemBounds.h:35
void watchPreOpenFile(PreOpenFile::slot_type const &iSlot)
char const * label
void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const &iSlot)
void watchPostCloseFile(PostCloseFile::slot_type const &iSlot)
void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const &iSlot)
void preGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:610
PreStreamEarlyTermination preStreamEarlyTerminationSignal_
PreSourceEarlyTermination preSourceEarlyTerminationSignal_
void preSourceEvent(StreamID)
Definition: Tracer.cc:507
void preGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:630
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1102
Tracer(const ParameterSet &, ActivityRegistry &)
Definition: Tracer.cc:221
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1012
void watchPreSourceLumi(PreSourceLumi::slot_type const &iSlot)
ModuleDescription const * moduleDescription(unsigned int moduleID) const
void prePathEvent(StreamContext const &, PathContext const &)
Definition: Tracer.cc:796
void watchPreModuleEventDelayedGet(PreModuleEventDelayedGet::slot_type const &iSlot)
void postModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:893
ModuleDescription const * moduleDescription() const
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1087
RunNumber_t run() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: Tracer.cc:382
void watchPostModuleEventAcquire(PostModuleEventAcquire::slot_type const &iSlot)
bool dumpPathsAndConsumes_
Definition: Tracer.cc:194
void watchPreModuleEndJob(PreModuleEndJob::slot_type const &iSlot)
void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const &iSlot)
void watchPreSourceRun(PreSourceRun::slot_type const &iSlot)
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1162
#define DEFINE_FWK_SERVICE(type)
Definition: ServiceMaker.h:105
void postStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:660
std::ostream & operator<<(std::ostream &os, SimpleMemoryCheck::SignificantEvent const &se)
void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const &iSlot)
void preStreamEndRun(StreamContext const &)
Definition: Tracer.cc:670
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
void postOpenFile(std::string const &, bool)
Definition: Tracer.cc:539
void preEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:990
PreGlobalEarlyTermination preGlobalEarlyTerminationSignal_
void watchPreModuleGlobalBeginLumi(PreModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndRun(PostModuleStreamEndRun::slot_type const &iSlot)
void postPathEvent(StreamContext const &, PathContext const &, HLTPathStatus const &)
Definition: Tracer.cc:807
StreamID const & streamID() const
Definition: StreamContext.h:54
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
void setComment(std::string const &value)
void postModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:975
void watchPostModuleBeginStream(PostModuleBeginStream::slot_type const &iSlot)
void preSourceLumi(LuminosityBlockIndex)
Definition: Tracer.cc:515
unsigned int maxNumberOfConcurrentLuminosityBlocks() const
Definition: SystemBounds.h:37
void watchPreLockEventSetupGet(PreLockEventSetupGet::slot_type const &iSlot)
void watchPostSourceLumi(PostSourceLumi::slot_type const &iSlot)
void watchPreCloseFile(PreCloseFile::slot_type const &iSlot)
void watchPostModuleEventDelayedGet(PostModuleEventDelayedGet::slot_type const &iSlot)
void watchPostModuleGlobalEndRun(PostModuleGlobalEndRun::slot_type const &iSlot)
void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const &iSlot)
void postSourceEvent(StreamID)
Definition: Tracer.cc:511
std::string indention_
Definition: Tracer.cc:191
void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const &iSlot)
void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const &iSlot)
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
double b
Definition: hdecay.h:120
LuminosityBlockNumber_t luminosityBlock() const
const TypeTag & type() const
Definition: DataKey.h:52
void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const &iSlot)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void watchPostOpenFile(PostOpenFile::slot_type const &iSlot)
void watchPreModuleEndStream(PreModuleEndStream::slot_type const &iSlot)
std::vector< ModuleDescription const * > const & modulesWhoseProductsAreConsumedBy(unsigned int moduleID) const
void preSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1312
void watchPreBeginJob(PreBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
void preModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:878
void watchPreModuleWriteRun(PreModuleWriteRun::slot_type const &iSlot)
void postModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1267
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:908
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:562
void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const &iSlot)
void postGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:620
void postGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:640
void postGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:700
HLT enums.
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
std::vector< std::string > const & paths() const
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
const NameTag & name() const
Definition: DataKey.h:53
void preEvent(StreamContext const &)
Definition: Tracer.cc:774
void watchPostModuleBeginJob(PostModuleBeginJob::slot_type const &iSlot)
void watchPostEventSetupGet(PostEventSetupGet::slot_type const &iSlot)
void watchPostEventReadFromSource(PostEventReadFromSource::slot_type const &iSlot)
void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const &iSlot)
void preModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1282
void watchPreModuleWriteLumi(PreModuleWriteLumi::slot_type const &iSlot)
const char * value() const
Definition: DataKeyTags.h:39
unsigned int maxNumberOfConcurrentRuns() const
Definition: SystemBounds.h:36
void preStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:730
void postModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:868
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:586
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:923
EventID const & eventID() const
Definition: StreamContext.h:59
void preModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:960
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
void postEventSetupGet(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)
Definition: Tracer.cc:1354
void watchPostLockEventSetupGet(PostLockEventSetupGet::slot_type const &iSlot)
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:574
void preModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:938
bool dumpNonModuleContext_
Definition: Tracer.cc:193
Definition: vlib.h:208
void preModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:838
void postStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:763
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1042
void postEvent(StreamContext const &)
Definition: Tracer.cc:785
void preStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:650
TimeValue_t value() const
Definition: Timestamp.h:56
void watchPostModuleEndJob(PostModuleEndJob::slot_type const &iSlot)
void connect(U iFunc)
Definition: Signal.h:62
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1027
def move(src, dest)
Definition: eostools.py:511
void preGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:690
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1177
unsigned int id() const
void postSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1322
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:192
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1132
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
Timestamp const & timestamp() const
Definition: StreamContext.h:62