CMS 3D CMS Logo

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