test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 //
13 
16 
25 
31 
40 
41 #include <iostream>
42 #include <vector>
43 
44 #include <string>
45 #include <set>
46 
47 namespace edm {
49  class GlobalContext;
50  class HLTPathStatus;
51  class LuminosityBlock;
52  class ModuleCallingContext;
53  class ModuleDescription;
54  class PathContext;
55  class PathsAndConsumesOfModulesBase;
56  class ProcessContext;
57  class Run;
58  class StreamContext;
59 
60  namespace service {
61  class Tracer {
62  public:
64 
65  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
66 
68 
70  void postBeginJob();
71  void postEndJob();
72 
75 
76  void preSourceLumi();
77  void postSourceLumi();
78 
79  void preSourceRun();
80  void postSourceRun();
81 
82  void preOpenFile(std::string const&, bool);
83  void postOpenFile(std::string const&, bool);
84 
85  void preCloseFile(std::string const& lfn, bool primary);
86  void postCloseFile(std::string const&, bool);
87 
90 
93 
94  void preGlobalBeginRun(GlobalContext const&);
95  void postGlobalBeginRun(GlobalContext const&);
96 
97  void preGlobalEndRun(GlobalContext const&);
98  void postGlobalEndRun(GlobalContext const&);
99 
100  void preStreamBeginRun(StreamContext const&);
101  void postStreamBeginRun(StreamContext const&);
102 
103  void preStreamEndRun(StreamContext const&);
104  void postStreamEndRun(StreamContext const&);
105 
106  void preGlobalBeginLumi(GlobalContext const&);
107  void postGlobalBeginLumi(GlobalContext const&);
108 
109  void preGlobalEndLumi(GlobalContext const&);
110  void postGlobalEndLumi(GlobalContext const&);
111 
112  void preStreamBeginLumi(StreamContext const&);
113  void postStreamBeginLumi(StreamContext const&);
114 
115  void preStreamEndLumi(StreamContext const&);
116  void postStreamEndLumi(StreamContext const&);
117 
118  void preEvent(StreamContext const&);
119  void postEvent(StreamContext const&);
120 
121  void prePathEvent(StreamContext const&, PathContext const&);
122  void postPathEvent(StreamContext const&, PathContext const&, HLTPathStatus const&);
123 
126 
127  void preModuleBeginJob(ModuleDescription const& md);
128  void postModuleBeginJob(ModuleDescription const& md);
129 
130  void preModuleEndJob(ModuleDescription const& md);
131  void postModuleEndJob(ModuleDescription const& md);
132 
141 
146 
151 
156 
161 
164 
165  private:
167  std::set<std::string> dumpContextForLabels_;
171  };
172  }
173 }
174 
175 using namespace edm::service;
176 
177 namespace {
178 
179  class TimeStamper {
180  public:
181  TimeStamper(bool enable) :
182  enabled_(enable)
183  { }
184 
185  friend
186  std::ostream & operator<<(std::ostream & out, TimeStamper const & timestamp) {
187  if (timestamp.enabled_)
188  out << std::setprecision(2) << edm::TimeOfDay() << " ";
189  return out;
190  }
191 
192  private:
193  bool enabled_;
194  };
195 
196 }
197 
199  indention_(iPS.getUntrackedParameter<std::string>("indention")),
200  dumpContextForLabels_(),
201  dumpNonModuleContext_(iPS.getUntrackedParameter<bool>("dumpNonModuleContext")),
202  dumpPathsAndConsumes_(iPS.getUntrackedParameter<bool>("dumpPathsAndConsumes")),
203  printTimestamps_(iPS.getUntrackedParameter<bool>("printTimestamps"))
204 {
205  for (std::string & label: iPS.getUntrackedParameter<std::vector<std::string>>("dumpContextForLabels"))
207 
208  iRegistry.watchPreallocate(this, &Tracer::preallocate);
209 
210  iRegistry.watchPreBeginJob(this, &Tracer::preBeginJob);
211  iRegistry.watchPostBeginJob(this, &Tracer::postBeginJob);
212  iRegistry.watchPostEndJob(this, &Tracer::postEndJob);
213 
216 
217  iRegistry.watchPreSourceLumi(this, &Tracer::preSourceLumi);
219 
220  iRegistry.watchPreSourceRun(this, &Tracer::preSourceRun);
221  iRegistry.watchPostSourceRun(this, &Tracer::postSourceRun);
222 
223  iRegistry.watchPreOpenFile(this, &Tracer::preOpenFile);
224  iRegistry.watchPostOpenFile(this, &Tracer::postOpenFile);
225 
226  iRegistry.watchPreCloseFile(this, &Tracer::preCloseFile);
227  iRegistry.watchPostCloseFile(this, &Tracer::postCloseFile);
228 
231 
234 
237 
240 
243 
246 
249 
252 
255 
258 
259  iRegistry.watchPreEvent(this, &Tracer::preEvent);
260  iRegistry.watchPostEvent(this, &Tracer::postEvent);
261 
262  iRegistry.watchPrePathEvent(this, &Tracer::prePathEvent);
263  iRegistry.watchPostPathEvent(this, &Tracer::postPathEvent);
264 
267 
270 
273 
282 
287 
292 
297 
302 
305 
307  LogAbsolute out("Tracer");
308  out << TimeStamper(printTimestamps_);
309  out << indention_ << indention_ << " early termination before processing transition";
310  });
311  iRegistry.preStreamEarlyTerminationSignal_.connect([this](edm::StreamContext const& iContext, edm::TerminationOrigin iOrigin) {
312  LogAbsolute out("Tracer");
313  out << TimeStamper(printTimestamps_);
314  if(iContext.eventID().luminosityBlock() ==0) {
315  out << indention_ << indention_ << " early termination of run: stream = " << iContext.streamID()
316  <<" run = " << iContext.eventID().run();
317  }else {
318  if(iContext.eventID().event() == 0) {
319  out << indention_ << indention_ << " early termination of stream lumi: stream = " << iContext.streamID()
320  <<" run = " << iContext.eventID().run()
321  << " lumi = " << iContext.eventID().luminosityBlock() ;
322  } else {
323  out << indention_ << indention_ << " early termination of event: stream = " << iContext.streamID()
324  <<" run = " << iContext.eventID().run()
325  << " lumi = " << iContext.eventID().luminosityBlock()
326  << " event = "<< iContext.eventID().event();
327 
328  }
329  }
330  out<< " : time = " << iContext.timestamp().value();
331 
332  });
333  iRegistry.preGlobalEarlyTerminationSignal_.connect([this](edm::GlobalContext const& iContext, edm::TerminationOrigin iOrigin) {
334  LogAbsolute out("Tracer");
335  out << TimeStamper(printTimestamps_);
336  if(iContext.luminosityBlockID().value() ==0) {
337  out << indention_ << indention_ << " early termination of global run " << iContext.luminosityBlockID().run();
338  }else {
339  out << indention_ << indention_ << " early termination of global lumi run = " << iContext.luminosityBlockID().run()
340  << " lumi = " << iContext.luminosityBlockID().luminosityBlock() ;
341 
342  }
343  out<< " : time = " << iContext.timestamp().value();
344  });
345 }
346 
347 void
350  desc.addUntracked<std::string>("indention", "++")->setComment("Prefix characters for output. The characters are repeated to form the indentation.");
351  desc.addUntracked<std::vector<std::string>>("dumpContextForLabels", std::vector<std::string>{})->setComment("Prints context information to cout for the module transitions associated with these modules' labels");
352  desc.addUntracked<bool>("dumpNonModuleContext", false)->setComment("Prints context information to cout for the transitions not associated with any module label");
353  desc.addUntracked<bool>("dumpPathsAndConsumes", false)->setComment("Prints information to cout about paths, endpaths, products consumed by modules and the dependencies between modules created by the products they consume");
354  desc.addUntracked<bool>("printTimestamps", false)->setComment("Prints a time stamp for every transition");
355  descriptions.add("Tracer", desc);
356  descriptions.setComment("This service prints each phase the framework is processing, e.g. constructing a module,running a module, etc.");
357 }
358 
359 void
361  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " preallocate: " << bounds.maxNumberOfConcurrentRuns() << " concurrent runs, "
362  << bounds.maxNumberOfConcurrentLuminosityBlocks() << " concurrent luminosity sections, "
363  << bounds.maxNumberOfStreams() << " streams";
364 }
365 
366 void
368  LogAbsolute out("Tracer");
369  out << TimeStamper(printTimestamps_) << indention_ << " starting: begin job";
371  out << "\n" << "Process name = " << pc.processName() << "\n";
372  out << "paths:\n";
373  std::vector<std::string> const& paths = pathsAndConsumes.paths();
374  for(auto const& path : paths) {
375  out << " " << path << "\n";
376  }
377  out << "end paths:\n";
378  std::vector<std::string> const& endpaths = pathsAndConsumes.endPaths();
379  for(auto const& endpath : endpaths) {
380  out << " " << endpath << "\n";
381  }
382  for(unsigned int j = 0; j < paths.size(); ++j) {
383  std::vector<ModuleDescription const*> const& modulesOnPath = pathsAndConsumes.modulesOnPath(j);
384  out << "modules on path " << paths.at(j) << ":\n";
385  for(auto const& desc : modulesOnPath) {
386  out << " " << desc->moduleLabel() << "\n";
387  }
388  }
389  for(unsigned int j = 0; j < endpaths.size(); ++j) {
390  std::vector<ModuleDescription const*> const& modulesOnEndPath = pathsAndConsumes.modulesOnEndPath(j);
391  out << "modules on end path " << endpaths.at(j) << ":\n";
392  for(auto const& desc : modulesOnEndPath) {
393  out << " " << desc->moduleLabel() << "\n";
394  }
395  }
396  std::vector<ModuleDescription const*> const& allModules = pathsAndConsumes.allModules();
397  out << "All modules and modules in the current process whose products they consume:\n";
398  out << "(This does not include modules from previous processes or the source)\n";
399  for(auto const& module : allModules) {
400  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
401  unsigned int moduleID = module->id();
402  if(pathsAndConsumes.moduleDescription(moduleID) != module) {
403  throw cms::Exception("TestFailure") << "Tracer::preBeginJob, moduleDescription returns incorrect value";
404  }
405  std::vector<ModuleDescription const*> const& modulesWhoseProductsAreConsumedBy =
406  pathsAndConsumes.modulesWhoseProductsAreConsumedBy(moduleID);
407  if(!modulesWhoseProductsAreConsumedBy.empty()) {
408  out << " consumes products from these modules:\n";
409  for(auto const& producingModule : modulesWhoseProductsAreConsumedBy) {
410  out << " " << producingModule->moduleName() << "/\'" << producingModule->moduleLabel() << "\'\n";
411  }
412  } else {
413  out << "\n";
414  }
415  }
416  out << "All modules (listed by class and label) and all their consumed products.\n";
417  out << "Consumed products are listed by type, label, instance, process.\n";
418  out << "For products not in the event, \'run\' or \'lumi\' is added to indicate the TTree they are from.\n";
419  out << "For products that are declared with mayConsume, \'may consume\' is added.\n";
420  out << "For products consumed for Views, \'element type\' is added\n";
421  out << "For products only read from previous processes, \'skip current process\' is added\n";
422  for(auto const* module : allModules) {
423  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
424  std::vector<ConsumesInfo> consumesInfo = pathsAndConsumes.consumesInfo(module->id());
425  if(!consumesInfo.empty()) {
426  out << " consumes:\n";
427  for(auto const& info : consumesInfo) {
428  out << " " << info.type() << " \'" << info.label() << "\' \'" << info.instance();
429  out << "\' \'" << info.process() << "\'";
430  if(info.branchType() == InLumi) {
431  out << ", lumi";
432  } else if(info.branchType() == InRun) {
433  out << ", run";
434  }
435  if(!info.alwaysGets()) {
436  out << ", may consume";
437  }
438  if(info.kindOfType() == ELEMENT_TYPE) {
439  out << ", element type";
440  }
441  if(info.skipCurrentProcess()) {
442  out << ", skip current process";
443  }
444  out << "\n";
445  }
446  } else {
447  out << "\n";
448  }
449  }
450  }
451 }
452 
453 void
455  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: begin job";
456 }
457 
458 void
460  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: end job";
461 }
462 
463 void
465  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source event";
466 }
467 
468 void
470  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source event";
471 }
472 
473 void
475  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source lumi";
476 }
477 
478 void
480  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source lumi";
481 }
482 
483 void
485  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source run";
486 }
487 
488 void
490  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source run";
491 }
492 
493 void
494 Tracer::preOpenFile(std::string const& lfn, bool b) {
495  LogAbsolute out("Tracer");
496  out << TimeStamper(printTimestamps_);
497  out << indention_ << indention_ << " starting: open input file: lfn = " << lfn;
498  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
499 }
500 
501 void
502 Tracer::postOpenFile (std::string const& lfn, bool b) {
503  LogAbsolute out("Tracer");
504  out << TimeStamper(printTimestamps_);
505  out << indention_ << indention_ << " finished: open input file: lfn = " << lfn;
506  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
507 }
508 
509 void
510 Tracer::preCloseFile(std::string const & lfn, bool b) {
511  LogAbsolute out("Tracer");
512  out << TimeStamper(printTimestamps_);
513  out << indention_ << indention_ << " starting: close input file: lfn = " << lfn;
514  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
515 }
516 void
517 Tracer::postCloseFile (std::string const& lfn, bool b) {
518  LogAbsolute out("Tracer");
519  out << TimeStamper(printTimestamps_);
520  out << indention_ << indention_ << " finished: close input file: lfn = " << lfn;
521  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
522 }
523 
524 void
526  ModuleDescription const& desc = *mcc.moduleDescription();
527  LogAbsolute out("Tracer");
528  out << TimeStamper(printTimestamps_);
529  out << indention_ << indention_ << " starting: begin stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
530  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
531  out << "\n" << sc;
532  out << mcc;
533  }
534 }
535 
536 void
538  ModuleDescription const& desc = *mcc.moduleDescription();
539  LogAbsolute out("Tracer");
540  out << TimeStamper(printTimestamps_);
541  out << indention_ << indention_ << " finished: begin stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
542  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
543  out << "\n" << sc;
544  out << mcc;
545  }
546 }
547 
548 void
550  ModuleDescription const& desc = *mcc.moduleDescription();
551  LogAbsolute out("Tracer");
552  out << TimeStamper(printTimestamps_);
553  out << indention_ << indention_ << " starting: end stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
554  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
555  out << "\n" << sc;
556  out << mcc;
557  }
558 }
559 
560 void
562  ModuleDescription const& desc = *mcc.moduleDescription();
563  LogAbsolute out("Tracer");
564  out << TimeStamper(printTimestamps_);
565  out << indention_ << indention_ << " finished: end stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
566  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
567  out << "\n" << sc;
568  out << mcc;
569  }
570 }
571 
572 void
574  LogAbsolute out("Tracer");
575  out << TimeStamper(printTimestamps_);
576  out << indention_ << indention_ << " starting: global begin run " << gc.luminosityBlockID().run()
577  << " : time = " << gc.timestamp().value();
579  out << "\n" << gc;
580  }
581 }
582 
583 void
585  LogAbsolute out("Tracer");
586  out << TimeStamper(printTimestamps_);
587  out << indention_ << indention_ << " finished: global begin run " << gc.luminosityBlockID().run()
588  << " : time = " << gc.timestamp().value();
590  out << "\n" << gc;
591  }
592 }
593 
594 void
596  LogAbsolute out("Tracer");
597  out << TimeStamper(printTimestamps_);
598  out << indention_ << indention_ << " starting: global end run " << gc.luminosityBlockID().run()
599  << " : time = " << gc.timestamp().value();
601  out << "\n" << gc;
602  }
603 }
604 
605 void
607  LogAbsolute out("Tracer");
608  out << TimeStamper(printTimestamps_);
609  out << indention_ << indention_ << " finished: global end run " << gc.luminosityBlockID().run()
610  << " : time = " << gc.timestamp().value();
612  out << "\n" << gc;
613  }
614 }
615 
616 void
618  LogAbsolute out("Tracer");
619  out << TimeStamper(printTimestamps_);
620  out << indention_ << indention_ << " starting: begin run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
621  << " time = " << sc.timestamp().value();
623  out << "\n" << sc;
624  }
625 }
626 
627 void
629  LogAbsolute out("Tracer");
630  out << TimeStamper(printTimestamps_);
631  out << indention_ << indention_ << " finished: begin run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
632  << " time = " << sc.timestamp().value();
634  out << "\n" << sc;
635  }
636 }
637 
638 void
640  LogAbsolute out("Tracer");
641  out << TimeStamper(printTimestamps_);
642  out << indention_ << indention_ << " starting: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
643  << " time = " << sc.timestamp().value();
645  out << "\n" << sc;
646  }
647 }
648 
649 void
651  LogAbsolute out("Tracer");
652  out << TimeStamper(printTimestamps_);
653  out << indention_ << indention_ << " finished: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
654  << " time = " << sc.timestamp().value();
656  out << "\n" << sc;
657  }
658 }
659 
660 void
662  LogAbsolute out("Tracer");
663  out << TimeStamper(printTimestamps_);
664  out << indention_ << indention_ << " starting: global begin lumi: run = " << gc.luminosityBlockID().run()
665  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
667  out << "\n" << gc;
668  }
669 }
670 
671 void
673  LogAbsolute out("Tracer");
674  out << TimeStamper(printTimestamps_);
675  out << indention_ << indention_ << " finished: global begin lumi: run = " << gc.luminosityBlockID().run()
676  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
678  out << "\n" << gc;
679  }
680 }
681 
682 void
684  LogAbsolute out("Tracer");
685  out << TimeStamper(printTimestamps_);
686  out << indention_ << indention_ << " starting: global end lumi: run = " << gc.luminosityBlockID().run()
687  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
689  out << "\n" << gc;
690  }
691 }
692 
693 void
695  LogAbsolute out("Tracer");
696  out << TimeStamper(printTimestamps_);
697  out << indention_ << indention_ << " finished: global end lumi: run = " << gc.luminosityBlockID().run()
698  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
700  out << "\n" << gc;
701  }
702 }
703 
704 void
706  LogAbsolute out("Tracer");
707  out << TimeStamper(printTimestamps_);
708  out << indention_ << indention_ << " starting: begin lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
709  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
711  out << "\n" << sc;
712  }
713 }
714 
715 void
717  LogAbsolute out("Tracer");
718  out << TimeStamper(printTimestamps_);
719  out << indention_ << indention_ << " finished: begin lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
720  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
722  out << "\n" << sc;
723  }
724 }
725 
726 void
728  LogAbsolute out("Tracer");
729  out << TimeStamper(printTimestamps_);
730  out << indention_ << indention_ << " starting: end lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
731  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
733  out << "\n" << sc;
734  }
735 }
736 
737 void
739  LogAbsolute out("Tracer");
740  out << TimeStamper(printTimestamps_);
741  out << indention_ << indention_ << " finished: end lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
742  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
744  out << "\n" << sc;
745  }
746 }
747 
748 void
750  LogAbsolute out("Tracer");
751  out << TimeStamper(printTimestamps_);
752  out << indention_ << indention_ << " starting: processing event : stream = " << sc.streamID() << " run = " << sc.eventID().run()
753  << " lumi = " << sc.eventID().luminosityBlock() << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
755  out << "\n" << sc;
756  }
757 }
758 
759 void
761  LogAbsolute out("Tracer");
762  out << TimeStamper(printTimestamps_);
763  out << indention_ << indention_ << " finished: processing event : stream = " << sc.streamID() << " run = " << sc.eventID().run()
764  << " lumi = " << sc.eventID().luminosityBlock() << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
766  out << "\n" << sc;
767  }
768 }
769 
770 void
772  LogAbsolute out("Tracer");
773  out << TimeStamper(printTimestamps_);
774  out << indention_ << indention_ << indention_ << " starting: processing path '" << pc.pathName() << "' : stream = " << sc.streamID();
776  out << "\n" << sc;
777  out << pc;
778  }
779 }
780 
781 void
783  LogAbsolute out("Tracer");
784  out << TimeStamper(printTimestamps_);
785  out << indention_ << indention_ << indention_ << " finished: processing path '" << pc.pathName() << "' : stream = " << sc.streamID();
787  out << "\n" << sc;
788  out << pc;
789  }
790 }
791 
792 void
794  LogAbsolute out("Tracer");
795  out << TimeStamper(printTimestamps_);
796  out << indention_ << indention_ << " starting: constructing module with label '" << desc.moduleLabel() << "' id = " << desc.id();
797  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
798  out << "\n" << desc;
799  }
800 }
801 
802 void
804  LogAbsolute out("Tracer");
805  out << TimeStamper(printTimestamps_);
806  out << indention_ << indention_ << " finished: constructing module with label '" << desc.moduleLabel() << "' id = " << desc.id();
807  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
808  out << "\n" << desc;
809  }
810 }
811 
812 void
814  LogAbsolute out("Tracer");
815  out << TimeStamper(printTimestamps_);
816  out << indention_ << indention_;
817  out << " starting: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
818  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
819  out << "\n" << desc;
820  }
821 }
822 
823 void
825  LogAbsolute out("Tracer");
826  out << TimeStamper(printTimestamps_);
827  out << indention_ << indention_;
828  out << " finished: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
829  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
830  out << "\n" << desc;
831  }
832 }
833 
834 void
836  LogAbsolute out("Tracer");
837  out << TimeStamper(printTimestamps_);
838  out << indention_ << indention_;
839  out << " starting: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
840  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
841  out << "\n" << desc;
842  }
843 }
844 
845 void
847  LogAbsolute out("Tracer");
848  out << TimeStamper(printTimestamps_);
849  out << indention_ << indention_;
850  out << " finished: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
851  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
852  out << "\n" << desc;
853  }
854 }
855 
856 void
858  LogAbsolute out("Tracer");
859  out << TimeStamper(printTimestamps_);
860  unsigned int nIndents = mcc.depth() + 4;
861  for(unsigned int i = 0; i < nIndents; ++i) {
862  out << indention_;
863  }
864  out << " starting: prefetching before processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
866  out << "\n" << sc;
867  out << mcc;
868  }
869 }
870 
871 void
873  LogAbsolute out("Tracer");
874  out << TimeStamper(printTimestamps_);
875  unsigned int nIndents = mcc.depth() + 4;
876  for(unsigned int i = 0; i < nIndents; ++i) {
877  out << indention_;
878  }
879  out << " finished: prefetching before processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
881  out << "\n" << sc;
882  out << mcc;
883  }
884 }
885 
886 
887 void
889  LogAbsolute out("Tracer");
890  out << TimeStamper(printTimestamps_);
891  unsigned int nIndents = mcc.depth() + 4;
892  for(unsigned int i = 0; i < nIndents; ++i) {
893  out << indention_;
894  }
895  out << " starting: processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
897  out << "\n" << sc;
898  out << mcc;
899  }
900 }
901 
902 void
904  LogAbsolute out("Tracer");
905  out << TimeStamper(printTimestamps_);
906  unsigned int nIndents = mcc.depth() + 4;
907  for(unsigned int i = 0; i < nIndents; ++i) {
908  out << indention_;
909  }
910  out << " finished: processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
912  out << "\n" << sc;
913  out << mcc;
914  }
915 }
916 
917 
918 void
920  LogAbsolute out("Tracer");
921  out << TimeStamper(printTimestamps_);
922  unsigned int nIndents = mcc.depth() + 4;
923  for(unsigned int i = 0; i < nIndents; ++i) {
924  out << indention_;
925  }
926  out << " starting: delayed processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
928  out << "\n" << sc;
929  out << mcc;
930  }
931 }
932 
933 void
935  LogAbsolute out("Tracer");
936  out << TimeStamper(printTimestamps_);
937  unsigned int nIndents = mcc.depth() + 4;
938  for(unsigned int i = 0; i < nIndents; ++i) {
939  out << indention_;
940  }
941  out << " finished: delayed processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
943  out << "\n" << sc;
944  out << mcc;
945  }
946 }
947 
948 void
950  LogAbsolute out("Tracer");
951  out << TimeStamper(printTimestamps_);
952  unsigned int nIndents = mcc.depth() + 5;
953  for(unsigned int i = 0; i < nIndents; ++i) {
954  out << indention_;
955  }
956  out << " starting: event delayed read from source: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
957 }
958 
959 void
961  LogAbsolute out("Tracer");
962  out << TimeStamper(printTimestamps_);
963  unsigned int nIndents = mcc.depth() + 5;
964  for(unsigned int i = 0; i < nIndents; ++i) {
965  out << indention_;
966  }
967  out << " finished: event delayed read from source: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
968 }
969 
970 
971 void
973  LogAbsolute out("Tracer");
974  out << TimeStamper(printTimestamps_);
975  unsigned int nIndents = mcc.depth() + 3;
976  for(unsigned int i = 0; i < nIndents; ++i) {
977  out << indention_;
978  }
979  out << " starting: begin run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
981  out << "\n" << sc;
982  out << mcc;
983  }
984 }
985 
986 void
988  LogAbsolute out("Tracer");
989  out << TimeStamper(printTimestamps_);
990  unsigned int nIndents = mcc.depth() + 3;
991  for(unsigned int i = 0; i < nIndents; ++i) {
992  out << indention_;
993  }
994  out << " finished: begin run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
996  out << "\n" << sc;
997  out << mcc;
998  }
999 }
1000 
1001 void
1003  LogAbsolute out("Tracer");
1004  out << TimeStamper(printTimestamps_);
1005  unsigned int nIndents = mcc.depth() + 3;
1006  for(unsigned int i = 0; i < nIndents; ++i) {
1007  out << indention_;
1008  }
1009  out << " starting: end run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1011  out << "\n" << sc;
1012  out << mcc;
1013  }
1014 }
1015 
1016 void
1018  LogAbsolute out("Tracer");
1019  out << TimeStamper(printTimestamps_);
1020  unsigned int nIndents = mcc.depth() + 3;
1021  for(unsigned int i = 0; i < nIndents; ++i) {
1022  out << indention_;
1023  }
1024  out << " finished: end run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1026  out << "\n" << sc;
1027  out << mcc;
1028  }
1029 }
1030 
1031 void
1033  LogAbsolute out("Tracer");
1034  out << TimeStamper(printTimestamps_);
1035  unsigned int nIndents = mcc.depth() + 3;
1036  for(unsigned int i = 0; i < nIndents; ++i) {
1037  out << indention_;
1038  }
1039  out << " starting: begin lumi for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1041  out << "\n" << sc;
1042  out << mcc;
1043  }
1044 }
1045 
1046 void
1048  LogAbsolute out("Tracer");
1049  out << TimeStamper(printTimestamps_);
1050  unsigned int nIndents = mcc.depth() + 3;
1051  for(unsigned int i = 0; i < nIndents; ++i) {
1052  out << indention_;
1053  }
1054  out << " finished: begin lumi for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1056  out << "\n" << sc;
1057  out << mcc;
1058  }
1059 }
1060 
1061 void
1063  LogAbsolute out("Tracer");
1064  out << TimeStamper(printTimestamps_);
1065  unsigned int nIndents = mcc.depth() + 3;
1066  for(unsigned int i = 0; i < nIndents; ++i) {
1067  out << indention_;
1068  }
1069  out << " starting: end lumi for module: stream = " << sc.streamID() << " label = '"<< mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1071  out << "\n" << sc;
1072  out << mcc;
1073  }
1074 }
1075 
1076 void
1078  LogAbsolute out("Tracer");
1079  out << TimeStamper(printTimestamps_);
1080  unsigned int nIndents = mcc.depth() + 3;
1081  for(unsigned int i = 0; i < nIndents; ++i) {
1082  out << indention_;
1083  }
1084  out << " finished: end lumi for module: stream = " << sc.streamID() << " label = '"<< mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1086  out << "\n" << sc;
1087  out << mcc;
1088  }
1089 }
1090 
1091 void
1093  LogAbsolute out("Tracer");
1094  out << TimeStamper(printTimestamps_);
1095  unsigned int nIndents = mcc.depth() + 3;
1096  for(unsigned int i = 0; i < nIndents; ++i) {
1097  out << indention_;
1098  }
1099  out << " starting: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1101  out << "\n" << gc;
1102  out << mcc;
1103  }
1104 }
1105 
1106 void
1108  LogAbsolute out("Tracer");
1109  out << TimeStamper(printTimestamps_);
1110  unsigned int nIndents = mcc.depth() + 3;
1111  for(unsigned int i = 0; i < nIndents; ++i) {
1112  out << indention_;
1113  }
1114  out << " finished: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1116  out << "\n" << gc;
1117  out << mcc;
1118  }
1119 }
1120 
1121 void
1123  LogAbsolute out("Tracer");
1124  out << TimeStamper(printTimestamps_);
1125  unsigned int nIndents = mcc.depth() + 3;
1126  for(unsigned int i = 0; i < nIndents; ++i) {
1127  out << indention_;
1128  }
1129  out << " starting: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1131  out << "\n" << gc;
1132  out << mcc;
1133  }
1134 }
1135 
1136 void
1138  LogAbsolute out("Tracer");
1139  out << TimeStamper(printTimestamps_);
1140  unsigned int nIndents = mcc.depth() + 3;
1141  for(unsigned int i = 0; i < nIndents; ++i) {
1142  out << indention_;
1143  }
1144  out << " finished: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1146  out << "\n" << gc;
1147  out << mcc;
1148  }
1149 }
1150 
1151 void
1153  LogAbsolute out("Tracer");
1154  out << TimeStamper(printTimestamps_);
1155  unsigned int nIndents = mcc.depth() + 3;
1156  for(unsigned int i = 0; i < nIndents; ++i) {
1157  out << indention_;
1158  }
1159  out << " starting: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1161  out << "\n" << gc;
1162  out << mcc;
1163  }
1164 }
1165 
1166 void
1168  LogAbsolute out("Tracer");
1169  out << TimeStamper(printTimestamps_);
1170  unsigned int nIndents = mcc.depth() + 3;
1171  for(unsigned int i = 0; i < nIndents; ++i) {
1172  out << indention_;
1173  }
1174  out << " finished: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1176  out << "\n" << gc;
1177  out << mcc;
1178  }
1179 }
1180 
1181 void
1183  LogAbsolute out("Tracer");
1184  out << TimeStamper(printTimestamps_);
1185  unsigned int nIndents = mcc.depth() + 3;
1186  for(unsigned int i = 0; i < nIndents; ++i) {
1187  out << indention_;
1188  }
1189  out << " starting: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1191  out << "\n" << gc;
1192  out << mcc;
1193  }
1194 }
1195 
1196 void
1198  LogAbsolute out("Tracer");
1199  out << TimeStamper(printTimestamps_);
1200  unsigned int nIndents = mcc.depth() + 3;
1201  for(unsigned int i = 0; i < nIndents; ++i) {
1202  out << indention_;
1203  }
1204  out << " finished: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1206  out << "\n" << gc;
1207  out << mcc;
1208  }
1209 }
1210 
1211 void
1213  LogAbsolute out("Tracer");
1214  out << TimeStamper(printTimestamps_);
1215  out << indention_;
1216  out << " starting: constructing source: " << desc.moduleName();
1217  if(dumpNonModuleContext_) {
1218  out << "\n" << desc;
1219  }
1220 }
1221 
1222 void
1224  LogAbsolute out("Tracer");
1225  out << TimeStamper(printTimestamps_);
1226  out << indention_;
1227  out << " finished: constructing source: " << desc.moduleName();
1228  if(dumpNonModuleContext_) {
1229  out << "\n" << desc;
1230  }
1231 }
1232 
1233 using edm::service::Tracer;
1235 
1236 
void preCloseFile(std::string const &lfn, bool primary)
Definition: Tracer.cc:510
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:37
EventNumber_t event() const
Definition: EventID.h:41
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
void postEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:960
T getUntrackedParameter(std::string const &, T const &) const
void watchPreEvent(PreEvent::slot_type const &iSlot)
int i
Definition: DBlmapReader.cc:9
void postSourceRun()
Definition: Tracer.cc:489
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:1107
void watchPreallocate(Preallocate::slot_type const &iSlot)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1167
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1077
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1152
void postModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:803
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:561
std::vector< ConsumesInfo > consumesInfo(unsigned int moduleID) const
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1197
void watchPostModuleEndStream(PostModuleEndStream::slot_type const &iSlot)
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:360
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:52
void postStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:716
void watchPreStreamEndRun(PreStreamEndRun::slot_type const &iSlot)
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1182
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:1032
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
void preGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:683
void preModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:835
void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const &iSlot)
void watchPostSourceEvent(PostSourceEvent::slot_type const &iSlot)
void preModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:793
std::vector< ModuleDescription const * > const & modulesOnPath(unsigned int pathIndex) const
void preBeginJob(PathsAndConsumesOfModulesBase const &, ProcessContext const &)
Definition: Tracer.cc:367
void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const &iSlot)
void postStreamEndRun(StreamContext const &)
Definition: Tracer.cc:650
void postGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:694
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:40
void postModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:824
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1017
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:517
std::vector< ModuleDescription const * > const & allModules() const
Timestamp const & timestamp() const
Definition: GlobalContext.h:55
void preStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:727
void watchPostModuleEventPrefetching(PostModuleEventPrefetching::slot_type const &iSlot)
std::vector< std::string > const & endPaths() const
void preOpenFile(std::string const &, bool)
Definition: Tracer.cc:494
unsigned int maxNumberOfStreams() const
Definition: SystemBounds.h:43
void watchPreOpenFile(PreOpenFile::slot_type const &iSlot)
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:573
PreStreamEarlyTermination preStreamEarlyTerminationSignal_
PreSourceEarlyTermination preSourceEarlyTerminationSignal_
void preSourceEvent(StreamID)
Definition: Tracer.cc:464
void preGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:595
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1062
Tracer(const ParameterSet &, ActivityRegistry &)
Definition: Tracer.cc:198
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:972
void watchPreSourceLumi(PreSourceLumi::slot_type const &iSlot)
ModuleDescription const * moduleDescription(unsigned int moduleID) const
void prePathEvent(StreamContext const &, PathContext const &)
Definition: Tracer.cc:771
void watchPreModuleEventDelayedGet(PreModuleEventDelayedGet::slot_type const &iSlot)
void postModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:872
def move
Definition: eostools.py:510
ModuleDescription const * moduleDescription() const
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1047
RunNumber_t run() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: Tracer.cc:348
int j
Definition: DBlmapReader.cc:9
bool dumpPathsAndConsumes_
Definition: Tracer.cc:169
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:1122
void postStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:628
std::ostream & operator<<(std::ostream &os, SimpleMemoryCheck::SignificantEvent const &se)
void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const &iSlot)
void preStreamEndRun(StreamContext const &)
Definition: Tracer.cc:639
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
void postOpenFile(std::string const &, bool)
Definition: Tracer.cc:502
void preEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:949
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:782
StreamID const & streamID() const
Definition: StreamContext.h:57
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
#define DEFINE_FWK_SERVICE(type)
Definition: ServiceMaker.h:113
void setComment(std::string const &value)
void postModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:934
void watchPostModuleBeginStream(PostModuleBeginStream::slot_type const &iSlot)
unsigned int maxNumberOfConcurrentLuminosityBlocks() const
Definition: SystemBounds.h:45
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 preSourceLumi()
Definition: Tracer.cc:474
void postSourceEvent(StreamID)
Definition: Tracer.cc:469
std::string indention_
Definition: Tracer.cc:166
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
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:1212
void watchPreBeginJob(PreBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
void preModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:857
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:888
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:525
void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const &iSlot)
void postGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:584
void postGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:606
void postGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:672
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
std::vector< std::string > const & paths() const
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
void preEvent(StreamContext const &)
Definition: Tracer.cc:749
void watchPostModuleBeginJob(PostModuleBeginJob::slot_type const &iSlot)
void watchPostEventReadFromSource(PostEventReadFromSource::slot_type const &iSlot)
void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const &iSlot)
unsigned int maxNumberOfConcurrentRuns() const
Definition: SystemBounds.h:44
void preStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:705
void postModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:846
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:549
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:903
EventID const & eventID() const
Definition: StreamContext.h:59
void preModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:919
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:537
bool dumpNonModuleContext_
Definition: Tracer.cc:168
Definition: vlib.h:208
void preModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:813
void postStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:738
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1002
void postEvent(StreamContext const &)
Definition: Tracer.cc:760
void preStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:617
TimeValue_t value() const
Definition: Timestamp.h:56
void watchPostModuleEndJob(PostModuleEndJob::slot_type const &iSlot)
void connect(U iFunc)
Definition: Signal.h:63
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:987
void postSourceLumi()
Definition: Tracer.cc:479
void preGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:661
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1137
unsigned int id() const
void postSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1223
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1092
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
Timestamp const & timestamp() const
Definition: StreamContext.h:62