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 
17 
19 
22 
31 
37 
47 
48 #include <iostream>
49 #include <vector>
50 
51 #include <string>
52 #include <set>
53 
54 namespace edm {
56  class GlobalContext;
57  class HLTPathStatus;
58  class LuminosityBlock;
59  class ModuleCallingContext;
60  class ModuleDescription;
61  class PathContext;
62  class PathsAndConsumesOfModulesBase;
63  class ProcessContext;
64  class Run;
65  class StreamContext;
66 
67  namespace service {
68  class Tracer {
69  public:
71 
72  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
73 
75 
77  void postBeginJob();
78  void postEndJob();
79 
82 
85 
86  void preSourceRun(RunIndex);
87  void postSourceRun(RunIndex);
88 
89  void preSourceProcessBlock();
91 
92  void preOpenFile(std::string const&);
93  void postOpenFile(std::string const&);
94 
95  void preCloseFile(std::string const& lfn);
96  void postCloseFile(std::string const&);
97 
100 
103 
104  void preBeginProcessBlock(GlobalContext const&);
106 
109 
110  void preEndProcessBlock(GlobalContext const&);
111  void postEndProcessBlock(GlobalContext const&);
112 
113  void preWriteProcessBlock(GlobalContext const&);
115 
116  void preGlobalBeginRun(GlobalContext const&);
117  void postGlobalBeginRun(GlobalContext const&);
118 
119  void preGlobalEndRun(GlobalContext const&);
120  void postGlobalEndRun(GlobalContext const&);
121 
122  void preGlobalWriteRun(GlobalContext const&);
123  void postGlobalWriteRun(GlobalContext const&);
124 
125  void preStreamBeginRun(StreamContext const&);
126  void postStreamBeginRun(StreamContext const&);
127 
128  void preStreamEndRun(StreamContext const&);
129  void postStreamEndRun(StreamContext const&);
130 
131  void preGlobalBeginLumi(GlobalContext const&);
132  void postGlobalBeginLumi(GlobalContext const&);
133 
134  void preGlobalEndLumi(GlobalContext const&);
135  void postGlobalEndLumi(GlobalContext const&);
136 
137  void preGlobalWriteLumi(GlobalContext const&);
138  void postGlobalWriteLumi(GlobalContext const&);
139 
140  void preStreamBeginLumi(StreamContext const&);
141  void postStreamBeginLumi(StreamContext const&);
142 
143  void preStreamEndLumi(StreamContext const&);
144  void postStreamEndLumi(StreamContext const&);
145 
146  void preEvent(StreamContext const&);
147  void postEvent(StreamContext const&);
148 
149  void prePathEvent(StreamContext const&, PathContext const&);
150  void postPathEvent(StreamContext const&, PathContext const&, HLTPathStatus const&);
151 
154 
155  void preModuleDestruction(ModuleDescription const& md);
157 
158  void preModuleBeginJob(ModuleDescription const& md);
159  void postModuleBeginJob(ModuleDescription const& md);
160 
161  void preModuleEndJob(ModuleDescription const& md);
162  void postModuleEndJob(ModuleDescription const& md);
163 
174 
179 
184 
191 
196 
201 
204 
207 
210 
213 
218 
219  private:
221  std::set<std::string> dumpContextForLabels_;
226  };
227  } // namespace service
228 } // namespace edm
229 
230 using namespace edm::service;
231 
232 namespace {
233 
234  class TimeStamper {
235  public:
236  TimeStamper(bool enable) : enabled_(enable) {}
237 
238  friend std::ostream& operator<<(std::ostream& out, TimeStamper const& timestamp) {
239  if (timestamp.enabled_)
240  out << std::setprecision(2) << edm::TimeOfDay() << " ";
241  return out;
242  }
243 
244  private:
245  bool enabled_;
246  };
247 
248 } // namespace
249 
251  : indention_(iPS.getUntrackedParameter<std::string>("indention")),
252  dumpContextForLabels_(),
253  dumpNonModuleContext_(iPS.getUntrackedParameter<bool>("dumpNonModuleContext")),
254  dumpPathsAndConsumes_(iPS.getUntrackedParameter<bool>("dumpPathsAndConsumes")),
255  printTimestamps_(iPS.getUntrackedParameter<bool>("printTimestamps")),
256  dumpEventSetupInfo_(iPS.getUntrackedParameter<bool>("dumpEventSetupInfo")) {
257  for (std::string& label : iPS.getUntrackedParameter<std::vector<std::string>>("dumpContextForLabels"))
259 
260  iRegistry.watchPreallocate(this, &Tracer::preallocate);
261 
262  iRegistry.watchPreBeginJob(this, &Tracer::preBeginJob);
263  iRegistry.watchPostBeginJob(this, &Tracer::postBeginJob);
264  iRegistry.watchPostEndJob(this, &Tracer::postEndJob);
265 
268 
269  iRegistry.watchPreSourceLumi(this, &Tracer::preSourceLumi);
271 
272  iRegistry.watchPreSourceRun(this, &Tracer::preSourceRun);
273  iRegistry.watchPostSourceRun(this, &Tracer::postSourceRun);
274 
277 
278  iRegistry.watchPreOpenFile(this, &Tracer::preOpenFile);
279  iRegistry.watchPostOpenFile(this, &Tracer::postOpenFile);
280 
281  iRegistry.watchPreCloseFile(this, &Tracer::preCloseFile);
282  iRegistry.watchPostCloseFile(this, &Tracer::postCloseFile);
283 
286 
289 
292 
295 
298 
301 
304 
307 
310 
313 
316 
319 
322 
325 
328 
331 
332  iRegistry.watchPreEvent(this, &Tracer::preEvent);
333  iRegistry.watchPostEvent(this, &Tracer::postEvent);
334 
335  iRegistry.watchPrePathEvent(this, &Tracer::prePathEvent);
336  iRegistry.watchPostPathEvent(this, &Tracer::postPathEvent);
337 
340 
343 
346 
349 
360 
365 
370 
377 
382 
387 
390 
393 
396 
399 
402  iRegistry.watchPreESModule(this, &Tracer::preESModule);
403  iRegistry.watchPostESModule(this, &Tracer::postESModule);
404 
406  LogAbsolute out("Tracer");
407  out << TimeStamper(printTimestamps_);
408  out << indention_ << indention_ << " early termination before processing transition";
409  });
411  [this](edm::StreamContext const& iContext, edm::TerminationOrigin iOrigin) {
412  LogAbsolute out("Tracer");
413  out << TimeStamper(printTimestamps_);
414  if (iContext.eventID().luminosityBlock() == 0) {
415  out << indention_ << indention_ << " early termination of run: stream = " << iContext.streamID()
416  << " run = " << iContext.eventID().run();
417  } else {
418  if (iContext.eventID().event() == 0) {
419  out << indention_ << indention_ << " early termination of stream lumi: stream = " << iContext.streamID()
420  << " run = " << iContext.eventID().run() << " lumi = " << iContext.eventID().luminosityBlock();
421  } else {
422  out << indention_ << indention_ << " early termination of event: stream = " << iContext.streamID()
423  << " run = " << iContext.eventID().run() << " lumi = " << iContext.eventID().luminosityBlock()
424  << " event = " << iContext.eventID().event();
425  }
426  }
427  out << " : time = " << iContext.timestamp().value();
428  });
430  [this](edm::GlobalContext const& iContext, edm::TerminationOrigin iOrigin) {
431  LogAbsolute out("Tracer");
432  out << TimeStamper(printTimestamps_);
433  if (iContext.luminosityBlockID().value() == 0) {
434  out << indention_ << indention_ << " early termination of global run " << iContext.luminosityBlockID().run();
435  } else {
437  << " early termination of global lumi run = " << iContext.luminosityBlockID().run()
438  << " lumi = " << iContext.luminosityBlockID().luminosityBlock();
439  }
440  out << " : time = " << iContext.timestamp().value();
441  });
442 
443  iRegistry.esSyncIOVQueuingSignal_.connect([this](edm::IOVSyncValue const& iSync) {
444  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
445  << " queuing: EventSetup synchronization " << iSync.eventID();
446  });
447  iRegistry.preESSyncIOVSignal_.connect([this](edm::IOVSyncValue const& iSync) {
448  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
449  << " pre: EventSetup synchronizing " << iSync.eventID();
450  });
451  iRegistry.postESSyncIOVSignal_.connect([this](edm::IOVSyncValue const& iSync) {
452  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
453  << " post: EventSetup synchronizing " << iSync.eventID();
454  });
455 }
456 
459  desc.addUntracked<std::string>("indention", "++")
460  ->setComment("Prefix characters for output. The characters are repeated to form the indentation.");
461  desc.addUntracked<std::vector<std::string>>("dumpContextForLabels", std::vector<std::string>{})
462  ->setComment(
463  "Prints context information to cout for the module transitions associated with these modules' labels");
464  desc.addUntracked<bool>("dumpNonModuleContext", false)
465  ->setComment("Prints context information to cout for the transitions not associated with any module label");
466  desc.addUntracked<bool>("dumpPathsAndConsumes", false)
467  ->setComment(
468  "Prints information to cout about paths, endpaths, products consumed by modules and the dependencies between "
469  "modules created by the products they consume");
470  desc.addUntracked<bool>("printTimestamps", false)->setComment("Prints a time stamp for every transition");
471  desc.addUntracked<bool>("dumpEventSetupInfo", false)
472  ->setComment(
473  "Prints info 3 times when an event setup cache is filled, before the lock, after the lock, and after "
474  "filling");
475  descriptions.add("Tracer", desc);
476  descriptions.setComment(
477  "This service prints each phase the framework is processing, e.g. constructing a module,running a module, etc.");
478 }
479 
481  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_
482  << " preallocate: " << bounds.maxNumberOfConcurrentRuns() << " concurrent runs, "
483  << bounds.maxNumberOfConcurrentLuminosityBlocks() << " concurrent luminosity sections, "
484  << bounds.maxNumberOfStreams() << " streams";
485 }
486 
487 void Tracer::preBeginJob(PathsAndConsumesOfModulesBase const& pathsAndConsumes, ProcessContext const& pc) {
488  LogAbsolute out("Tracer");
489  out << TimeStamper(printTimestamps_) << indention_ << " starting: begin job";
490  if (dumpPathsAndConsumes_) {
491  out << "\n"
492  << "Process name = " << pc.processName() << "\n";
493  out << "paths:\n";
494  std::vector<std::string> const& paths = pathsAndConsumes.paths();
495  for (auto const& path : paths) {
496  out << " " << path << "\n";
497  }
498  out << "end paths:\n";
499  std::vector<std::string> const& endpaths = pathsAndConsumes.endPaths();
500  for (auto const& endpath : endpaths) {
501  out << " " << endpath << "\n";
502  }
503  for (unsigned int j = 0; j < paths.size(); ++j) {
504  std::vector<ModuleDescription const*> const& modulesOnPath = pathsAndConsumes.modulesOnPath(j);
505  out << "modules on path " << paths.at(j) << ":\n";
506  for (auto const& desc : modulesOnPath) {
507  out << " " << desc->moduleLabel() << "\n";
508  }
509  }
510  for (unsigned int j = 0; j < endpaths.size(); ++j) {
511  std::vector<ModuleDescription const*> const& modulesOnEndPath = pathsAndConsumes.modulesOnEndPath(j);
512  out << "modules on end path " << endpaths.at(j) << ":\n";
513  for (auto const& desc : modulesOnEndPath) {
514  out << " " << desc->moduleLabel() << "\n";
515  }
516  }
517  std::vector<ModuleDescription const*> const& allModules = pathsAndConsumes.allModules();
518  out << "All modules and modules in the current process whose products they consume:\n";
519  out << "(This does not include modules from previous processes or the source)\n";
520  out << "(Exclusively considers Event products, not Run, Lumi, or ProcessBlock products)\n";
521  for (auto const& module : allModules) {
522  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
523  unsigned int moduleID = module->id();
524  if (pathsAndConsumes.moduleDescription(moduleID) != module) {
525  throw cms::Exception("TestFailure") << "Tracer::preBeginJob, moduleDescription returns incorrect value";
526  }
527  std::vector<ModuleDescription const*> const& modulesWhoseProductsAreConsumedBy =
528  pathsAndConsumes.modulesWhoseProductsAreConsumedBy(moduleID);
529  if (!modulesWhoseProductsAreConsumedBy.empty()) {
530  out << " consumes products from these modules:\n";
531  for (auto const& producingModule : modulesWhoseProductsAreConsumedBy) {
532  out << " " << producingModule->moduleName() << "/\'" << producingModule->moduleLabel() << "\'\n";
533  }
534  } else {
535  out << "\n";
536  }
537  }
538  out << "All modules (listed by class and label) and all their consumed products.\n";
539  out << "Consumed products are listed by type, label, instance, process.\n";
540  out << "For products not in the event, \'processBlock\', \'run\' or \'lumi\' is added to indicate the TTree they "
541  "are from.\n";
542  out << "For products that are declared with mayConsume, \'may consume\' is added.\n";
543  out << "For products consumed for Views, \'element type\' is added\n";
544  out << "For products only read from previous processes, \'skip current process\' is added\n";
545  for (auto const* module : allModules) {
546  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
547  std::vector<ConsumesInfo> consumesInfo = pathsAndConsumes.consumesInfo(module->id());
548  if (!consumesInfo.empty()) {
549  out << " consumes:\n";
550  for (auto const& info : consumesInfo) {
551  out << " " << info.type() << " \'" << info.label() << "\' \'" << info.instance();
552  out << "\' \'" << info.process() << "\'";
553  if (info.branchType() == InLumi) {
554  out << ", lumi";
555  } else if (info.branchType() == InRun) {
556  out << ", run";
557  } else if (info.branchType() == InProcess) {
558  out << ", processBlock";
559  }
560  if (!info.alwaysGets()) {
561  out << ", may consume";
562  }
563  if (info.kindOfType() == ELEMENT_TYPE) {
564  out << ", element type";
565  }
566  if (info.skipCurrentProcess()) {
567  out << ", skip current process";
568  }
569  out << "\n";
570  }
571  } else {
572  out << "\n";
573  }
574  }
575  }
576 }
577 
579  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: begin job";
580 }
581 
583  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: end job";
584 }
585 
587  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source event";
588 }
589 
591  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source event";
592 }
593 
595  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source lumi";
596 }
597 
599  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source lumi";
600 }
601 
603  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source run";
604 }
605 
607  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source run";
608 }
609 
611  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
612  << " starting: source process block";
613 }
614 
616  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
617  << " finished: source process block " << processName;
618 }
619 
621  LogAbsolute out("Tracer");
622  out << TimeStamper(printTimestamps_);
623  out << indention_ << indention_ << " starting: open input file: lfn = " << lfn;
624 }
625 
627  LogAbsolute out("Tracer");
628  out << TimeStamper(printTimestamps_);
629  out << indention_ << indention_ << " finished: open input file: lfn = " << lfn;
630 }
631 
633  LogAbsolute out("Tracer");
634  out << TimeStamper(printTimestamps_);
635  out << indention_ << indention_ << " starting: close input file: lfn = " << lfn;
636 }
638  LogAbsolute out("Tracer");
639  out << TimeStamper(printTimestamps_);
640  out << indention_ << indention_ << " finished: close input file: lfn = " << lfn;
641 }
642 
644  ModuleDescription const& desc = *mcc.moduleDescription();
645  LogAbsolute out("Tracer");
646  out << TimeStamper(printTimestamps_);
647  out << indention_ << indention_ << " starting: begin stream for module: stream = " << sc.streamID() << " label = '"
648  << desc.moduleLabel() << "' id = " << desc.id();
649  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
650  out << "\n" << sc;
651  out << mcc;
652  }
653 }
654 
656  ModuleDescription const& desc = *mcc.moduleDescription();
657  LogAbsolute out("Tracer");
658  out << TimeStamper(printTimestamps_);
659  out << indention_ << indention_ << " finished: begin stream for module: stream = " << sc.streamID() << " label = '"
660  << desc.moduleLabel() << "' id = " << desc.id();
661  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
662  out << "\n" << sc;
663  out << mcc;
664  }
665 }
666 
668  ModuleDescription const& desc = *mcc.moduleDescription();
669  LogAbsolute out("Tracer");
670  out << TimeStamper(printTimestamps_);
671  out << indention_ << indention_ << " starting: end stream for module: stream = " << sc.streamID() << " label = '"
672  << desc.moduleLabel() << "' id = " << desc.id();
673  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
674  out << "\n" << sc;
675  out << mcc;
676  }
677 }
678 
680  ModuleDescription const& desc = *mcc.moduleDescription();
681  LogAbsolute out("Tracer");
682  out << TimeStamper(printTimestamps_);
683  out << indention_ << indention_ << " finished: end stream for module: stream = " << sc.streamID() << " label = '"
684  << desc.moduleLabel() << "' id = " << desc.id();
685  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
686  out << "\n" << sc;
687  out << mcc;
688  }
689 }
690 
692  LogAbsolute out("Tracer");
693  out << indention_ << indention_ << " starting: begin process block";
694  if (dumpNonModuleContext_) {
695  out << "\n" << gc;
696  }
697 }
698 
700  LogAbsolute out("Tracer");
701  out << indention_ << indention_ << " finished: begin process block";
702  if (dumpNonModuleContext_) {
703  out << "\n" << gc;
704  }
705 }
706 
708  LogAbsolute out("Tracer");
709  out << indention_ << indention_ << " starting: access input process block";
710  if (dumpNonModuleContext_) {
711  out << "\n" << gc;
712  }
713 }
714 
716  LogAbsolute out("Tracer");
717  out << indention_ << indention_ << " finished: access input process block";
718  if (dumpNonModuleContext_) {
719  out << "\n" << gc;
720  }
721 }
722 
724  LogAbsolute out("Tracer");
725  out << indention_ << indention_ << " starting: end process block";
726  if (dumpNonModuleContext_) {
727  out << "\n" << gc;
728  }
729 }
730 
732  LogAbsolute out("Tracer");
733  out << indention_ << indention_ << " finished: end process block";
734  if (dumpNonModuleContext_) {
735  out << "\n" << gc;
736  }
737 }
738 
740  LogAbsolute out("Tracer");
741  out << indention_ << indention_ << " starting: write process block";
742  if (dumpNonModuleContext_) {
743  out << "\n" << gc;
744  }
745 }
746 
748  LogAbsolute out("Tracer");
749  out << indention_ << indention_ << " finished: write process block";
750  if (dumpNonModuleContext_) {
751  out << "\n" << gc;
752  }
753 }
754 
756  LogAbsolute out("Tracer");
757  out << TimeStamper(printTimestamps_);
758  out << indention_ << indention_ << " starting: global begin run " << gc.luminosityBlockID().run()
759  << " : time = " << gc.timestamp().value();
760  if (dumpNonModuleContext_) {
761  out << "\n" << gc;
762  }
763 }
764 
766  LogAbsolute out("Tracer");
767  out << TimeStamper(printTimestamps_);
768  out << indention_ << indention_ << " finished: global begin run " << gc.luminosityBlockID().run()
769  << " : time = " << gc.timestamp().value();
770  if (dumpNonModuleContext_) {
771  out << "\n" << gc;
772  }
773 }
774 
776  LogAbsolute out("Tracer");
777  out << TimeStamper(printTimestamps_);
778  out << indention_ << indention_ << " starting: global end run " << gc.luminosityBlockID().run()
779  << " : time = " << gc.timestamp().value();
780  if (dumpNonModuleContext_) {
781  out << "\n" << gc;
782  }
783 }
784 
786  LogAbsolute out("Tracer");
787  out << TimeStamper(printTimestamps_);
788  out << indention_ << indention_ << " finished: global end run " << gc.luminosityBlockID().run()
789  << " : time = " << gc.timestamp().value();
790  if (dumpNonModuleContext_) {
791  out << "\n" << gc;
792  }
793 }
794 
796  LogAbsolute out("Tracer");
797  out << TimeStamper(printTimestamps_);
798  out << indention_ << indention_ << " starting: global write run " << gc.luminosityBlockID().run()
799  << " : time = " << gc.timestamp().value();
800  if (dumpNonModuleContext_) {
801  out << "\n" << gc;
802  }
803 }
804 
806  LogAbsolute out("Tracer");
807  out << TimeStamper(printTimestamps_);
808  out << indention_ << indention_ << " finished: global write run " << gc.luminosityBlockID().run()
809  << " : time = " << gc.timestamp().value();
810  if (dumpNonModuleContext_) {
811  out << "\n" << gc;
812  }
813 }
814 
816  LogAbsolute out("Tracer");
817  out << TimeStamper(printTimestamps_);
818  out << indention_ << indention_ << " starting: begin run: stream = " << sc.streamID()
819  << " run = " << sc.eventID().run() << " time = " << sc.timestamp().value();
820  if (dumpNonModuleContext_) {
821  out << "\n" << sc;
822  }
823 }
824 
826  LogAbsolute out("Tracer");
827  out << TimeStamper(printTimestamps_);
828  out << indention_ << indention_ << " finished: begin run: stream = " << sc.streamID()
829  << " run = " << sc.eventID().run() << " time = " << sc.timestamp().value();
830  if (dumpNonModuleContext_) {
831  out << "\n" << sc;
832  }
833 }
834 
836  LogAbsolute out("Tracer");
837  out << TimeStamper(printTimestamps_);
838  out << indention_ << indention_ << " starting: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
839  << " time = " << sc.timestamp().value();
840  if (dumpNonModuleContext_) {
841  out << "\n" << sc;
842  }
843 }
844 
846  LogAbsolute out("Tracer");
847  out << TimeStamper(printTimestamps_);
848  out << indention_ << indention_ << " finished: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
849  << " time = " << sc.timestamp().value();
850  if (dumpNonModuleContext_) {
851  out << "\n" << sc;
852  }
853 }
854 
856  LogAbsolute out("Tracer");
857  out << TimeStamper(printTimestamps_);
858  out << indention_ << indention_ << " starting: global begin lumi: run = " << gc.luminosityBlockID().run()
859  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
860  if (dumpNonModuleContext_) {
861  out << "\n" << gc;
862  }
863 }
864 
866  LogAbsolute out("Tracer");
867  out << TimeStamper(printTimestamps_);
868  out << indention_ << indention_ << " finished: global begin lumi: run = " << gc.luminosityBlockID().run()
869  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
870  if (dumpNonModuleContext_) {
871  out << "\n" << gc;
872  }
873 }
874 
876  LogAbsolute out("Tracer");
877  out << TimeStamper(printTimestamps_);
878  out << indention_ << indention_ << " starting: global end lumi: run = " << gc.luminosityBlockID().run()
879  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
880  if (dumpNonModuleContext_) {
881  out << "\n" << gc;
882  }
883 }
884 
886  LogAbsolute out("Tracer");
887  out << TimeStamper(printTimestamps_);
888  out << indention_ << indention_ << " finished: global end lumi: run = " << gc.luminosityBlockID().run()
889  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
890  if (dumpNonModuleContext_) {
891  out << "\n" << gc;
892  }
893 }
894 
896  LogAbsolute out("Tracer");
897  out << TimeStamper(printTimestamps_);
898  out << indention_ << indention_ << " starting: global write lumi: run = " << gc.luminosityBlockID().run()
899  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
900  if (dumpNonModuleContext_) {
901  out << "\n" << gc;
902  }
903 }
904 
906  LogAbsolute out("Tracer");
907  out << TimeStamper(printTimestamps_);
908  out << indention_ << indention_ << " finished: global write lumi: run = " << gc.luminosityBlockID().run()
909  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
910  if (dumpNonModuleContext_) {
911  out << "\n" << gc;
912  }
913 }
914 
916  LogAbsolute out("Tracer");
917  out << TimeStamper(printTimestamps_);
918  out << indention_ << indention_ << " starting: begin lumi: stream = " << sc.streamID()
919  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
920  << " time = " << sc.timestamp().value();
921  if (dumpNonModuleContext_) {
922  out << "\n" << sc;
923  }
924 }
925 
927  LogAbsolute out("Tracer");
928  out << TimeStamper(printTimestamps_);
929  out << indention_ << indention_ << " finished: begin lumi: stream = " << sc.streamID()
930  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
931  << " time = " << sc.timestamp().value();
932  if (dumpNonModuleContext_) {
933  out << "\n" << sc;
934  }
935 }
936 
938  LogAbsolute out("Tracer");
939  out << TimeStamper(printTimestamps_);
940  out << indention_ << indention_ << " starting: end lumi: stream = " << sc.streamID()
941  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
942  << " time = " << sc.timestamp().value();
943  if (dumpNonModuleContext_) {
944  out << "\n" << sc;
945  }
946 }
947 
949  LogAbsolute out("Tracer");
950  out << TimeStamper(printTimestamps_);
951  out << indention_ << indention_ << " finished: end lumi: stream = " << sc.streamID()
952  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
953  << " time = " << sc.timestamp().value();
954  if (dumpNonModuleContext_) {
955  out << "\n" << sc;
956  }
957 }
958 
960  LogAbsolute out("Tracer");
961  out << TimeStamper(printTimestamps_);
962  out << indention_ << indention_ << " starting: processing event : stream = " << sc.streamID()
963  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
964  << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
965  if (dumpNonModuleContext_) {
966  out << "\n" << sc;
967  }
968 }
969 
971  LogAbsolute out("Tracer");
972  out << TimeStamper(printTimestamps_);
973  out << indention_ << indention_ << " finished: processing event : stream = " << sc.streamID()
974  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
975  << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
976  if (dumpNonModuleContext_) {
977  out << "\n" << sc;
978  }
979 }
980 
981 void Tracer::prePathEvent(StreamContext const& sc, PathContext const& pc) {
982  LogAbsolute out("Tracer");
983  out << TimeStamper(printTimestamps_);
984  out << indention_ << indention_ << indention_ << " starting: processing path '" << pc.pathName()
985  << "' : stream = " << sc.streamID();
986  if (dumpNonModuleContext_) {
987  out << "\n" << sc;
988  out << pc;
989  }
990 }
991 
993  LogAbsolute out("Tracer");
994  out << TimeStamper(printTimestamps_);
995  out << indention_ << indention_ << indention_ << " finished: processing path '" << pc.pathName()
996  << "' : stream = " << sc.streamID();
997  if (dumpNonModuleContext_) {
998  out << "\n" << sc;
999  out << pc;
1000  }
1001 }
1002 
1004  LogAbsolute out("Tracer");
1005  out << TimeStamper(printTimestamps_);
1006  out << indention_ << indention_ << " starting: constructing module with label '" << desc.moduleLabel()
1007  << "' id = " << desc.id();
1008  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1009  out << "\n" << desc;
1010  }
1011 }
1012 
1014  LogAbsolute out("Tracer");
1015  out << TimeStamper(printTimestamps_);
1016  out << indention_ << indention_ << " finished: constructing module with label '" << desc.moduleLabel()
1017  << "' id = " << desc.id();
1018  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1019  out << "\n" << desc;
1020  }
1021 }
1022 
1024  LogAbsolute out("Tracer");
1025  out << TimeStamper(printTimestamps_);
1026  out << indention_ << indention_ << " starting: destructing module with label '" << desc.moduleLabel()
1027  << "' id = " << desc.id();
1028  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1029  out << "\n" << desc;
1030  }
1031 }
1032 
1034  LogAbsolute out("Tracer");
1035  out << TimeStamper(printTimestamps_);
1036  out << indention_ << indention_ << " finished: destructing module with label '" << desc.moduleLabel()
1037  << "' id = " << desc.id();
1038  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1039  out << "\n" << desc;
1040  }
1041 }
1042 
1044  LogAbsolute out("Tracer");
1045  out << TimeStamper(printTimestamps_);
1046  out << indention_ << indention_;
1047  out << " starting: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
1048  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1049  out << "\n" << desc;
1050  }
1051 }
1052 
1054  LogAbsolute out("Tracer");
1055  out << TimeStamper(printTimestamps_);
1056  out << indention_ << indention_;
1057  out << " finished: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
1058  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1059  out << "\n" << desc;
1060  }
1061 }
1062 
1064  LogAbsolute out("Tracer");
1065  out << TimeStamper(printTimestamps_);
1066  out << indention_ << indention_;
1067  out << " starting: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
1068  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1069  out << "\n" << desc;
1070  }
1071 }
1072 
1074  LogAbsolute out("Tracer");
1075  out << TimeStamper(printTimestamps_);
1076  out << indention_ << indention_;
1077  out << " finished: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
1078  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1079  out << "\n" << desc;
1080  }
1081 }
1082 
1084  LogAbsolute out("Tracer");
1085  out << TimeStamper(printTimestamps_);
1086  unsigned int nIndents = mcc.depth() + 4;
1087  for (unsigned int i = 0; i < nIndents; ++i) {
1088  out << indention_;
1089  }
1090  out << " starting: prefetching before processing event for module: stream = " << sc.streamID() << " label = '"
1091  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1093  out << "\n" << sc;
1094  out << mcc;
1095  }
1096 }
1097 
1099  LogAbsolute out("Tracer");
1100  out << TimeStamper(printTimestamps_);
1101  unsigned int nIndents = mcc.depth() + 4;
1102  for (unsigned int i = 0; i < nIndents; ++i) {
1103  out << indention_;
1104  }
1105  out << " finished: prefetching before processing event for module: stream = " << sc.streamID() << " label = '"
1106  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1108  out << "\n" << sc;
1109  out << mcc;
1110  }
1111 }
1112 
1114  LogAbsolute out("Tracer");
1115  out << TimeStamper(printTimestamps_);
1116  unsigned int nIndents = mcc.depth() + 4;
1117  for (unsigned int i = 0; i < nIndents; ++i) {
1118  out << indention_;
1119  }
1120  out << " starting: processing event for module: stream = " << sc.streamID() << " label = '"
1121  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1123  out << "\n" << sc;
1124  out << mcc;
1125  }
1126 }
1127 
1129  LogAbsolute out("Tracer");
1130  out << TimeStamper(printTimestamps_);
1131  unsigned int nIndents = mcc.depth() + 4;
1132  for (unsigned int i = 0; i < nIndents; ++i) {
1133  out << indention_;
1134  }
1135  out << " finished: processing event for module: stream = " << sc.streamID() << " label = '"
1136  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1138  out << "\n" << sc;
1139  out << mcc;
1140  }
1141 }
1142 
1144  LogAbsolute out("Tracer");
1145  out << TimeStamper(printTimestamps_);
1146  unsigned int nIndents = mcc.depth() + 4;
1147  for (unsigned int i = 0; i < nIndents; ++i) {
1148  out << indention_;
1149  }
1150  out << " starting: processing event acquire for module: stream = " << sc.streamID() << " label = '"
1151  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1152 }
1153 
1155  LogAbsolute out("Tracer");
1156  out << TimeStamper(printTimestamps_);
1157  unsigned int nIndents = mcc.depth() + 4;
1158  for (unsigned int i = 0; i < nIndents; ++i) {
1159  out << indention_;
1160  }
1161  out << " finished: processing event acquire for module: stream = " << sc.streamID() << " label = '"
1162  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1163 }
1164 
1166  LogAbsolute out("Tracer");
1167  out << TimeStamper(printTimestamps_);
1168  unsigned int nIndents = mcc.depth() + 4;
1169  for (unsigned int i = 0; i < nIndents; ++i) {
1170  out << indention_;
1171  }
1172  out << " starting: delayed processing event for module: stream = " << sc.streamID() << " label = '"
1173  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1175  out << "\n" << sc;
1176  out << mcc;
1177  }
1178 }
1179 
1181  LogAbsolute out("Tracer");
1182  out << TimeStamper(printTimestamps_);
1183  unsigned int nIndents = mcc.depth() + 4;
1184  for (unsigned int i = 0; i < nIndents; ++i) {
1185  out << indention_;
1186  }
1187  out << " finished: delayed processing event for module: stream = " << sc.streamID() << " label = '"
1188  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1190  out << "\n" << sc;
1191  out << mcc;
1192  }
1193 }
1194 
1196  LogAbsolute out("Tracer");
1197  out << TimeStamper(printTimestamps_);
1198  unsigned int nIndents = mcc.depth() + 5;
1199  for (unsigned int i = 0; i < nIndents; ++i) {
1200  out << indention_;
1201  }
1202  out << " starting: event delayed read from source: stream = " << sc.streamID() << " label = '"
1203  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1204 }
1205 
1207  LogAbsolute out("Tracer");
1208  out << TimeStamper(printTimestamps_);
1209  unsigned int nIndents = mcc.depth() + 5;
1210  for (unsigned int i = 0; i < nIndents; ++i) {
1211  out << indention_;
1212  }
1213  out << " finished: event delayed read from source: stream = " << sc.streamID() << " label = '"
1214  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1215 }
1216 
1218  LogAbsolute out("Tracer");
1219  out << TimeStamper(printTimestamps_);
1220  unsigned int nIndents = mcc.depth() + 3;
1221  for (unsigned int i = 0; i < nIndents; ++i) {
1222  out << indention_;
1223  }
1224  out << " starting: begin run for module: stream = " << sc.streamID() << " label = '"
1225  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1227  out << "\n" << sc;
1228  out << mcc;
1229  }
1230 }
1231 
1233  LogAbsolute out("Tracer");
1234  out << TimeStamper(printTimestamps_);
1235  unsigned int nIndents = mcc.depth() + 3;
1236  for (unsigned int i = 0; i < nIndents; ++i) {
1237  out << indention_;
1238  }
1239  out << " finished: begin run for module: stream = " << sc.streamID() << " label = '"
1240  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1242  out << "\n" << sc;
1243  out << mcc;
1244  }
1245 }
1246 
1248  LogAbsolute out("Tracer");
1249  out << TimeStamper(printTimestamps_);
1250  unsigned int nIndents = mcc.depth() + 3;
1251  for (unsigned int i = 0; i < nIndents; ++i) {
1252  out << indention_;
1253  }
1254  out << " starting: end run for module: stream = " << sc.streamID() << " label = '"
1255  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1257  out << "\n" << sc;
1258  out << mcc;
1259  }
1260 }
1261 
1263  LogAbsolute out("Tracer");
1264  out << TimeStamper(printTimestamps_);
1265  unsigned int nIndents = mcc.depth() + 3;
1266  for (unsigned int i = 0; i < nIndents; ++i) {
1267  out << indention_;
1268  }
1269  out << " finished: end run for module: stream = " << sc.streamID() << " label = '"
1270  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1272  out << "\n" << sc;
1273  out << mcc;
1274  }
1275 }
1276 
1278  LogAbsolute out("Tracer");
1279  out << TimeStamper(printTimestamps_);
1280  unsigned int nIndents = mcc.depth() + 3;
1281  for (unsigned int i = 0; i < nIndents; ++i) {
1282  out << indention_;
1283  }
1284  out << " starting: begin lumi for module: stream = " << sc.streamID() << " label = '"
1285  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1287  out << "\n" << sc;
1288  out << mcc;
1289  }
1290 }
1291 
1293  LogAbsolute out("Tracer");
1294  out << TimeStamper(printTimestamps_);
1295  unsigned int nIndents = mcc.depth() + 3;
1296  for (unsigned int i = 0; i < nIndents; ++i) {
1297  out << indention_;
1298  }
1299  out << " finished: begin lumi for module: stream = " << sc.streamID() << " label = '"
1300  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1302  out << "\n" << sc;
1303  out << mcc;
1304  }
1305 }
1306 
1308  LogAbsolute out("Tracer");
1309  out << TimeStamper(printTimestamps_);
1310  unsigned int nIndents = mcc.depth() + 3;
1311  for (unsigned int i = 0; i < nIndents; ++i) {
1312  out << indention_;
1313  }
1314  out << " starting: end lumi for module: stream = " << sc.streamID() << " label = '"
1315  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1317  out << "\n" << sc;
1318  out << mcc;
1319  }
1320 }
1321 
1323  LogAbsolute out("Tracer");
1324  out << TimeStamper(printTimestamps_);
1325  unsigned int nIndents = mcc.depth() + 3;
1326  for (unsigned int i = 0; i < nIndents; ++i) {
1327  out << indention_;
1328  }
1329  out << " finished: end lumi for module: stream = " << sc.streamID() << " label = '"
1330  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1332  out << "\n" << sc;
1333  out << mcc;
1334  }
1335 }
1336 
1338  LogAbsolute out("Tracer");
1339  unsigned int nIndents = mcc.depth() + 3;
1340  for (unsigned int i = 0; i < nIndents; ++i) {
1341  out << indention_;
1342  }
1343  out << " starting: begin process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1344  << "' id = " << mcc.moduleDescription()->id();
1346  out << "\n" << gc;
1347  out << mcc;
1348  }
1349 }
1350 
1352  LogAbsolute out("Tracer");
1353  unsigned int nIndents = mcc.depth() + 3;
1354  for (unsigned int i = 0; i < nIndents; ++i) {
1355  out << indention_;
1356  }
1357  out << " finished: begin process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1358  << "' id = " << mcc.moduleDescription()->id();
1360  out << "\n" << gc;
1361  out << mcc;
1362  }
1363 }
1364 
1366  LogAbsolute out("Tracer");
1367  unsigned int nIndents = mcc.depth() + 3;
1368  for (unsigned int i = 0; i < nIndents; ++i) {
1369  out << indention_;
1370  }
1371  out << " starting: access input process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1372  << "' id = " << mcc.moduleDescription()->id();
1374  out << "\n" << gc;
1375  out << mcc;
1376  }
1377 }
1378 
1380  LogAbsolute out("Tracer");
1381  unsigned int nIndents = mcc.depth() + 3;
1382  for (unsigned int i = 0; i < nIndents; ++i) {
1383  out << indention_;
1384  }
1385  out << " finished: access input process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1386  << "' id = " << mcc.moduleDescription()->id();
1388  out << "\n" << gc;
1389  out << mcc;
1390  }
1391 }
1392 
1394  LogAbsolute out("Tracer");
1395  unsigned int nIndents = mcc.depth() + 3;
1396  for (unsigned int i = 0; i < nIndents; ++i) {
1397  out << indention_;
1398  }
1399  out << " starting: end process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1400  << "' id = " << mcc.moduleDescription()->id();
1402  out << "\n" << gc;
1403  out << mcc;
1404  }
1405 }
1406 
1408  LogAbsolute out("Tracer");
1409  unsigned int nIndents = mcc.depth() + 3;
1410  for (unsigned int i = 0; i < nIndents; ++i) {
1411  out << indention_;
1412  }
1413  out << " finished: end process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1414  << "' id = " << mcc.moduleDescription()->id();
1416  out << "\n" << gc;
1417  out << mcc;
1418  }
1419 }
1420 
1422  LogAbsolute out("Tracer");
1423  out << TimeStamper(printTimestamps_);
1424  unsigned int nIndents = mcc.depth() + 3;
1425  for (unsigned int i = 0; i < nIndents; ++i) {
1426  out << indention_;
1427  }
1428  out << " starting: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1429  << "' id = " << mcc.moduleDescription()->id();
1431  out << "\n" << gc;
1432  out << mcc;
1433  }
1434 }
1435 
1437  LogAbsolute out("Tracer");
1438  out << TimeStamper(printTimestamps_);
1439  unsigned int nIndents = mcc.depth() + 3;
1440  for (unsigned int i = 0; i < nIndents; ++i) {
1441  out << indention_;
1442  }
1443  out << " finished: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1444  << "' id = " << mcc.moduleDescription()->id();
1446  out << "\n" << gc;
1447  out << mcc;
1448  }
1449 }
1450 
1452  LogAbsolute out("Tracer");
1453  out << TimeStamper(printTimestamps_);
1454  unsigned int nIndents = mcc.depth() + 3;
1455  for (unsigned int i = 0; i < nIndents; ++i) {
1456  out << indention_;
1457  }
1458  out << " starting: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1459  << "' id = " << mcc.moduleDescription()->id();
1461  out << "\n" << gc;
1462  out << mcc;
1463  }
1464 }
1465 
1467  LogAbsolute out("Tracer");
1468  out << TimeStamper(printTimestamps_);
1469  unsigned int nIndents = mcc.depth() + 3;
1470  for (unsigned int i = 0; i < nIndents; ++i) {
1471  out << indention_;
1472  }
1473  out << " finished: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1474  << "' id = " << mcc.moduleDescription()->id();
1476  out << "\n" << gc;
1477  out << mcc;
1478  }
1479 }
1480 
1482  LogAbsolute out("Tracer");
1483  out << TimeStamper(printTimestamps_);
1484  unsigned int nIndents = mcc.depth() + 3;
1485  for (unsigned int i = 0; i < nIndents; ++i) {
1486  out << indention_;
1487  }
1488  out << " starting: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1489  << "' id = " << mcc.moduleDescription()->id();
1491  out << "\n" << gc;
1492  out << mcc;
1493  }
1494 }
1495 
1497  LogAbsolute out("Tracer");
1498  out << TimeStamper(printTimestamps_);
1499  unsigned int nIndents = mcc.depth() + 3;
1500  for (unsigned int i = 0; i < nIndents; ++i) {
1501  out << indention_;
1502  }
1503  out << " finished: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1504  << "' id = " << mcc.moduleDescription()->id();
1506  out << "\n" << gc;
1507  out << mcc;
1508  }
1509 }
1510 
1512  LogAbsolute out("Tracer");
1513  out << TimeStamper(printTimestamps_);
1514  unsigned int nIndents = mcc.depth() + 3;
1515  for (unsigned int i = 0; i < nIndents; ++i) {
1516  out << indention_;
1517  }
1518  out << " starting: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1519  << "' id = " << mcc.moduleDescription()->id();
1521  out << "\n" << gc;
1522  out << mcc;
1523  }
1524 }
1525 
1527  LogAbsolute out("Tracer");
1528  out << TimeStamper(printTimestamps_);
1529  unsigned int nIndents = mcc.depth() + 3;
1530  for (unsigned int i = 0; i < nIndents; ++i) {
1531  out << indention_;
1532  }
1533  out << " finished: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1534  << "' id = " << mcc.moduleDescription()->id();
1536  out << "\n" << gc;
1537  out << mcc;
1538  }
1539 }
1540 
1542  LogAbsolute out("Tracer");
1543  unsigned int nIndents = mcc.depth() + 3;
1544  for (unsigned int i = 0; i < nIndents; ++i) {
1545  out << indention_;
1546  }
1547  out << " starting: write process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1548  << "' id = " << mcc.moduleDescription()->id();
1550  out << "\n" << gc;
1551  out << mcc;
1552  }
1553 }
1554 
1556  LogAbsolute out("Tracer");
1557  unsigned int nIndents = mcc.depth() + 3;
1558  for (unsigned int i = 0; i < nIndents; ++i) {
1559  out << indention_;
1560  }
1561  out << " finished: write process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1562  << "' id = " << mcc.moduleDescription()->id();
1564  out << "\n" << gc;
1565  out << mcc;
1566  }
1567 }
1568 
1570  LogAbsolute out("Tracer");
1571  out << TimeStamper(printTimestamps_);
1572  unsigned int nIndents = mcc.depth() + 3;
1573  for (unsigned int i = 0; i < nIndents; ++i) {
1574  out << indention_;
1575  }
1576  out << " starting: write run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1577  << "' id = " << mcc.moduleDescription()->id();
1579  out << "\n" << gc;
1580  out << mcc;
1581  }
1582 }
1583 
1585  LogAbsolute out("Tracer");
1586  out << TimeStamper(printTimestamps_);
1587  unsigned int nIndents = mcc.depth() + 3;
1588  for (unsigned int i = 0; i < nIndents; ++i) {
1589  out << indention_;
1590  }
1591  out << " finished: write run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1592  << "' id = " << mcc.moduleDescription()->id();
1594  out << "\n" << gc;
1595  out << mcc;
1596  }
1597 }
1598 
1600  LogAbsolute out("Tracer");
1601  out << TimeStamper(printTimestamps_);
1602  unsigned int nIndents = mcc.depth() + 3;
1603  for (unsigned int i = 0; i < nIndents; ++i) {
1604  out << indention_;
1605  }
1606  out << " starting: write lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1607  << "' id = " << mcc.moduleDescription()->id();
1609  out << "\n" << gc;
1610  out << mcc;
1611  }
1612 }
1613 
1615  LogAbsolute out("Tracer");
1616  out << TimeStamper(printTimestamps_);
1617  unsigned int nIndents = mcc.depth() + 3;
1618  for (unsigned int i = 0; i < nIndents; ++i) {
1619  out << indention_;
1620  }
1621  out << " finished: write lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1622  << "' id = " << mcc.moduleDescription()->id();
1624  out << "\n" << gc;
1625  out << mcc;
1626  }
1627 }
1628 
1630  LogAbsolute out("Tracer");
1631  out << TimeStamper(printTimestamps_);
1632  out << indention_;
1633  out << " starting: constructing source: " << desc.moduleName();
1634  if (dumpNonModuleContext_) {
1635  out << "\n" << desc;
1636  }
1637 }
1638 
1640  LogAbsolute out("Tracer");
1641  out << TimeStamper(printTimestamps_);
1642  out << indention_;
1643  out << " finished: constructing source: " << desc.moduleName();
1644  if (dumpNonModuleContext_) {
1645  out << "\n" << desc;
1646  }
1647 }
1648 
1650  LogAbsolute out("Tracer");
1651  out << TimeStamper(printTimestamps_);
1652  unsigned int nIndents = mcc.depth() + 4;
1653  for (unsigned int i = 0; i < nIndents; ++i) {
1654  out << indention_;
1655  }
1656  out << " starting: prefetching for esmodule: label = '" << mcc.componentDescription()->label_
1657  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1658 }
1659 
1661  LogAbsolute out("Tracer");
1662  out << TimeStamper(printTimestamps_);
1663  unsigned int nIndents = mcc.depth() + 4;
1664  for (unsigned int i = 0; i < nIndents; ++i) {
1665  out << indention_;
1666  }
1667  out << " finished: prefetching for esmodule: label = '" << mcc.componentDescription()->label_
1668  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1669 }
1670 
1672  LogAbsolute out("Tracer");
1673  out << TimeStamper(printTimestamps_);
1674  unsigned int nIndents = mcc.depth() + 4;
1675  for (unsigned int i = 0; i < nIndents; ++i) {
1676  out << indention_;
1677  }
1678  out << " starting: processing esmodule: label = '" << mcc.componentDescription()->label_
1679  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1680 }
1681 
1683  LogAbsolute out("Tracer");
1684  out << TimeStamper(printTimestamps_);
1685  unsigned int nIndents = mcc.depth() + 4;
1686  for (unsigned int i = 0; i < nIndents; ++i) {
1687  out << indention_;
1688  }
1689  out << " finished: processing esmodule: label = '" << mcc.componentDescription()->label_
1690  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1691 }
1692 
1693 using edm::service::Tracer;
void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const &iSlot)
void watchPostModuleConstruction(PostModuleConstruction::slot_type const &iSlot)
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
void postEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1206
void preModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1569
void watchPreEvent(PreEvent::slot_type const &iSlot)
ModuleDescription const * moduleDescription() const
void postSourceRun(RunIndex)
Definition: Tracer.cc:606
void watchPreAccessInputProcessBlock(PreAccessInputProcessBlock::slot_type const &iSlot)
LuminosityBlockNumber_t luminosityBlock() const
void postModuleDestruction(ModuleDescription const &md)
Definition: Tracer.cc:1033
static const TGPicture * info(bool iBackgroundIsBlack)
void preModuleDestruction(ModuleDescription const &md)
Definition: Tracer.cc:1023
void watchPrePathEvent(PrePathEvent::slot_type const &iSlot)
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1436
void watchPreallocate(Preallocate::slot_type const &iSlot)
void watchPostModuleEndProcessBlock(PostModuleEndProcessBlock::slot_type const &iSlot)
std::vector< ModuleDescription const * > const & allModules() const
void postSourceProcessBlock(std::string const &)
Definition: Tracer.cc:615
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1496
void watchPreESModule(PreESModule::slot_type const &iSlot)
void postESModulePrefetching(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1660
void watchPreModuleEventAcquire(PreModuleEventAcquire::slot_type const &iSlot)
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1322
void postModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1154
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1481
void postModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1013
Timestamp const & timestamp() const
Definition: StreamContext.h:62
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:679
void preSourceRun(RunIndex)
Definition: Tracer.cc:602
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1526
void watchPostModuleEndStream(PostModuleEndStream::slot_type const &iSlot)
PreESSyncIOV preESSyncIOVSignal_
void postModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1614
void postModuleWriteProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1555
void watchPreModuleEvent(PreModuleEvent::slot_type const &iSlot)
void preBeginProcessBlock(GlobalContext const &)
Definition: Tracer.cc:691
void watchPreModuleConstruction(PreModuleConstruction::slot_type const &iSlot)
void watchPreModuleEndProcessBlock(PreModuleEndProcessBlock::slot_type const &iSlot)
void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const &iSlot)
void watchPostEvent(PostEvent::slot_type const &iSlot)
std::vector< ModuleDescription const * > const & modulesOnPath(unsigned int pathIndex) const
void preallocate(service::SystemBounds const &)
Definition: Tracer.cc:480
void postStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:926
void watchPreStreamEndRun(PreStreamEndRun::slot_type const &iSlot)
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1511
void watchPostSourceConstruction(PostSourceConstruction::slot_type const &iSlot)
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
void preGlobalWriteRun(GlobalContext const &)
Definition: Tracer.cc:795
void watchPostEndProcessBlock(PostEndProcessBlock::slot_type const &iSlot)
void watchPreEventReadFromSource(PreEventReadFromSource::slot_type const &iSlot)
void watchPreModuleDestruction(PreModuleDestruction::slot_type const &iSlot)
void watchPostPathEvent(PostPathEvent::slot_type const &iSlot)
void watchPostESModulePrefetching(PostESModulePrefetching::slot_type const &iSlot)
void watchPostModuleEvent(PostModuleEvent::slot_type const &iSlot)
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1277
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
void preGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:875
void preModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:1063
void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const &iSlot)
void watchPostSourceEvent(PostSourceEvent::slot_type const &iSlot)
void watchPreModuleAccessInputProcessBlock(PreModuleAccessInputProcessBlock::slot_type const &iSlot)
void preCloseFile(std::string const &lfn)
Definition: Tracer.cc:632
void postCloseFile(std::string const &)
Definition: Tracer.cc:637
void watchPreBeginProcessBlock(PreBeginProcessBlock::slot_type const &iSlot)
void preModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1003
void preBeginJob(PathsAndConsumesOfModulesBase const &, ProcessContext const &)
Definition: Tracer.cc:487
void watchPreEndProcessBlock(PreEndProcessBlock::slot_type const &iSlot)
void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const &iSlot)
void postStreamEndRun(StreamContext const &)
Definition: Tracer.cc:845
void postGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:885
void postSourceLumi(LuminosityBlockIndex)
Definition: Tracer.cc:598
void watchPreSourceProcessBlock(PreSourceProcessBlock::slot_type const &iSlot)
void watchPostESModule(PostESModule::slot_type const &iSlot)
void postModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:1053
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1262
void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const &iSlot)
void watchPreModuleEventPrefetching(PreModuleEventPrefetching::slot_type const &iSlot)
void watchPostModuleWriteRun(PostModuleWriteRun::slot_type const &iSlot)
bool dumpEventSetupInfo_
Definition: Tracer.cc:225
void watchPostModuleWriteProcessBlock(PostModuleWriteProcessBlock::slot_type const &iSlot)
void watchPostModuleWriteLumi(PostModuleWriteLumi::slot_type const &iSlot)
std::vector< std::string > const & endPaths() const
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
void preStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:937
void watchPostModuleEventPrefetching(PostModuleEventPrefetching::slot_type const &iSlot)
T getUntrackedParameter(std::string const &, T const &) const
void preEndProcessBlock(GlobalContext const &)
Definition: Tracer.cc:723
std::vector< ModuleDescription const * > const & modulesOnEndPath(unsigned int endPathIndex) const
void preSourceProcessBlock()
Definition: Tracer.cc:610
void watchPreOpenFile(PreOpenFile::slot_type const &iSlot)
char const * label
void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const &iSlot)
void preAccessInputProcessBlock(GlobalContext const &)
Definition: Tracer.cc:707
void watchPostCloseFile(PostCloseFile::slot_type const &iSlot)
ModuleDescription const * moduleDescription(unsigned int moduleID) const
void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const &iSlot)
void preESModule(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1671
unsigned int id() const
void preGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:755
void watchPostBeginProcessBlock(PostBeginProcessBlock::slot_type const &iSlot)
void postModuleBeginProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1351
PreStreamEarlyTermination preStreamEarlyTerminationSignal_
PreSourceEarlyTermination preSourceEarlyTerminationSignal_
void preSourceEvent(StreamID)
Definition: Tracer.cc:586
void preGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:775
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1307
Tracer(const ParameterSet &, ActivityRegistry &)
Definition: Tracer.cc:250
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1217
void preESModulePrefetching(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1649
void watchPreSourceLumi(PreSourceLumi::slot_type const &iSlot)
void prePathEvent(StreamContext const &, PathContext const &)
Definition: Tracer.cc:981
void postAccessInputProcessBlock(GlobalContext const &)
Definition: Tracer.cc:715
void watchPreModuleEventDelayedGet(PreModuleEventDelayedGet::slot_type const &iSlot)
StreamID const & streamID() const
Definition: StreamContext.h:54
void postModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1098
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1292
void postESModule(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1682
void watchPreModuleBeginProcessBlock(PreModuleBeginProcessBlock::slot_type const &iSlot)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: Tracer.cc:457
void watchPostModuleEventAcquire(PostModuleEventAcquire::slot_type const &iSlot)
void watchPostSourceProcessBlock(PostSourceProcessBlock::slot_type const &iSlot)
bool dumpPathsAndConsumes_
Definition: Tracer.cc:223
void watchPreModuleEndJob(PreModuleEndJob::slot_type const &iSlot)
void postGlobalWriteLumi(GlobalContext const &)
Definition: Tracer.cc:905
void preModuleBeginProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1337
void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const &iSlot)
void watchPreWriteProcessBlock(PreWriteProcessBlock::slot_type const &iSlot)
void preModuleEndProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1393
void postEndProcessBlock(GlobalContext const &)
Definition: Tracer.cc:731
void postGlobalWriteRun(GlobalContext const &)
Definition: Tracer.cc:805
void watchPreSourceRun(PreSourceRun::slot_type const &iSlot)
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1451
void postStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:825
std::ostream & operator<<(std::ostream &os, SimpleMemoryCheck::SignificantEvent const &se)
void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const &iSlot)
void preStreamEndRun(StreamContext const &)
Definition: Tracer.cc:835
void postOpenFile(std::string const &)
Definition: Tracer.cc:626
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:60
void preOpenFile(std::string const &)
Definition: Tracer.cc:620
void preEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1195
Timestamp const & timestamp() const
Definition: GlobalContext.h:63
void postModuleAccessInputProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1379
RunNumber_t run() const
PreGlobalEarlyTermination preGlobalEarlyTerminationSignal_
PostESSyncIOV postESSyncIOVSignal_
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:992
void watchPostModuleBeginProcessBlock(PostModuleBeginProcessBlock::slot_type const &iSlot)
ESSyncIOVQueuing esSyncIOVQueuingSignal_
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
void watchPreGlobalWriteLumi(PreGlobalWriteLumi::slot_type const &iSlot)
RunNumber_t run() const
Definition: EventID.h:38
#define DEFINE_FWK_SERVICE(type)
Definition: ServiceMaker.h:97
void setComment(std::string const &value)
void preModuleAccessInputProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1365
void postModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1180
void watchPostModuleBeginStream(PostModuleBeginStream::slot_type const &iSlot)
void preSourceLumi(LuminosityBlockIndex)
Definition: Tracer.cc:594
void postModuleEndProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1407
void watchPostAccessInputProcessBlock(PostAccessInputProcessBlock::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 watchPostGlobalWriteRun(PostGlobalWriteRun::slot_type const &iSlot)
void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const &iSlot)
void postSourceEvent(StreamID)
Definition: Tracer.cc:590
TimeValue_t value() const
Definition: Timestamp.h:45
std::string indention_
Definition: Tracer.cc:220
void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const &iSlot)
void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const &iSlot)
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const &iSlot)
std::string const & processName() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void watchPostOpenFile(PostOpenFile::slot_type const &iSlot)
void watchPreModuleEndStream(PreModuleEndStream::slot_type const &iSlot)
void postBeginProcessBlock(GlobalContext const &)
Definition: Tracer.cc:699
void preSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1629
void watchPreBeginJob(PreBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
void preModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1083
void watchPreModuleWriteRun(PreModuleWriteRun::slot_type const &iSlot)
void postModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1584
const EventID & eventID() const
Definition: IOVSyncValue.h:40
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1113
void preModuleWriteProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1541
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:643
void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const &iSlot)
void postGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:765
void postGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:785
void postGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:865
void preGlobalWriteLumi(GlobalContext const &)
Definition: Tracer.cc:895
void watchPostGlobalWriteLumi(PostGlobalEndLumi::slot_type const &iSlot)
HLT enums.
std::vector< ConsumesInfo > consumesInfo(unsigned int moduleID) const
void preWriteProcessBlock(GlobalContext const &)
Definition: Tracer.cc:739
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
void watchPostModuleAccessInputProcessBlock(PostModuleAccessInputProcessBlock::slot_type const &iSlot)
void watchPostModuleDestruction(PostModuleDestruction::slot_type const &iSlot)
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
EventID const & eventID() const
Definition: StreamContext.h:59
void watchPreModuleWriteProcessBlock(PreModuleWriteProcessBlock::slot_type const &iSlot)
void preEvent(StreamContext const &)
Definition: Tracer.cc:959
void watchPostModuleBeginJob(PostModuleBeginJob::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:1599
std::vector< ModuleDescription const * > const & modulesWhoseProductsAreConsumedBy(unsigned int moduleID, BranchType branchType=InEvent) const
void watchPreModuleWriteLumi(PreModuleWriteLumi::slot_type const &iSlot)
void preStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:915
void postModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:1073
Log< level::System, true > LogAbsolute
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:667
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1128
std::string const & pathName() const
Definition: PathContext.h:30
void preModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1165
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
void watchPreESModulePrefetching(PreESModulePrefetching::slot_type const &iSlot)
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:655
void preModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1143
bool dumpNonModuleContext_
Definition: Tracer.cc:222
std::string const & moduleLabel() const
void postWriteProcessBlock(GlobalContext const &)
Definition: Tracer.cc:747
void watchPreGlobalWriteRun(PreGlobalWriteRun::slot_type const &iSlot)
void preModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:1043
void postStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:948
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1247
void postEvent(StreamContext const &)
Definition: Tracer.cc:970
void preStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:815
void watchPostModuleEndJob(PostModuleEndJob::slot_type const &iSlot)
void connect(U iFunc)
Definition: Signal.h:64
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1232
def move(src, dest)
Definition: eostools.py:511
edm::eventsetup::ComponentDescription const * componentDescription() const
EventNumber_t event() const
Definition: EventID.h:40
void preGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:855
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1466
std::vector< std::string > const & paths() const
void postSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1639
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:221
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1421
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
void watchPostWriteProcessBlock(PostWriteProcessBlock::slot_type const &iSlot)