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 //
12 
18 
24 
32 
33 #include <iostream>
34 
35 using namespace edm::service;
36 
38  indention_(iPS.getUntrackedParameter<std::string>("indention")),
39  dumpContextForLabels_(),
40  dumpNonModuleContext_(iPS.getUntrackedParameter<bool>("dumpNonModuleContext"))
41 {
42  for (std::string & label: iPS.getUntrackedParameter<std::vector<std::string>>("dumpContextForLabels"))
43  dumpContextForLabels_.insert(std::move(label));
44 
45  iRegistry.watchPreallocate(this, &Tracer::preallocate);
46 
47  iRegistry.watchPostBeginJob(this, &Tracer::postBeginJob);
48  iRegistry.watchPostEndJob(this, &Tracer::postEndJob);
49 
52 
53  iRegistry.watchPreSourceLumi(this, &Tracer::preSourceLumi);
55 
56  iRegistry.watchPreSourceRun(this, &Tracer::preSourceRun);
57  iRegistry.watchPostSourceRun(this, &Tracer::postSourceRun);
58 
59  iRegistry.watchPreOpenFile(this, &Tracer::preOpenFile);
60  iRegistry.watchPostOpenFile(this, &Tracer::postOpenFile);
61 
62  iRegistry.watchPreCloseFile(this, &Tracer::preCloseFile);
63  iRegistry.watchPostCloseFile(this, &Tracer::postCloseFile);
64 
67 
70 
73 
76 
79 
82 
85 
88 
91 
94 
95  iRegistry.watchPreEvent(this, &Tracer::preEvent);
96  iRegistry.watchPostEvent(this, &Tracer::postEvent);
97 
98  iRegistry.watchPrePathEvent(this, &Tracer::prePathEvent);
99  iRegistry.watchPostPathEvent(this, &Tracer::postPathEvent);
100 
103 
106 
109 
114 
119 
124 
129 
134 
137 }
138 
139 void
142  desc.addUntracked<std::string>("indention", "++")->setComment("Prefix characters for output. The characters are repeated to form the indentation.");
143  desc.addUntracked<std::vector<std::string>>("dumpContextForLabels", {})->setComment("Prints context information to cout for the module transitions associated with these modules' labels");
144  desc.addUntracked<bool>("dumpNonModuleContext", false)->setComment("Prints context information to cout for the transitions not associated with any module label");
145  descriptions.add("Tracer", desc);
146  descriptions.setComment("This service prints each phase the framework is processing, e.g. constructing a module,running a module, etc.");
147 }
148 
149 void
151  LogAbsolute("Tracer") << indention_ << " preallocate: " << bounds.maxNumberOfConcurrentRuns() << " concurrent runs, "
152  << bounds.maxNumberOfConcurrentLuminosityBlocks() << " concurrent luminosity sections, "
153  << bounds.maxNumberOfStreams() << " streams";
154 }
155 
156 void
158  LogAbsolute("Tracer") << indention_ << " finished: begin job";
159 }
160 
161 void
163  LogAbsolute("Tracer") << indention_ << " finished: end job";
164 }
165 
166 void
168  LogAbsolute("Tracer") << indention_ << indention_ << " starting: source event";
169 }
170 
171 void
173  LogAbsolute("Tracer") << indention_ << indention_ << " finished: source event";
174 }
175 
176 void
178  LogAbsolute("Tracer") << indention_ << indention_ << " starting: source lumi";
179 }
180 
181 void
183  LogAbsolute("Tracer") << indention_ << indention_ << " finished: source lumi";
184 }
185 
186 void
188  LogAbsolute("Tracer") << indention_ << indention_ << " starting: source run";
189 }
190 
191 void
193  LogAbsolute("Tracer") << indention_ << indention_ << " finished: source run";
194 }
195 
196 void
197 Tracer::preOpenFile(std::string const& lfn, bool b) {
198  LogAbsolute out("Tracer");
199  out << indention_ << indention_ << " starting: open input file: lfn = " << lfn;
200  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
201 }
202 
203 void
204 Tracer::postOpenFile (std::string const& lfn, bool b) {
205  LogAbsolute out("Tracer");
206  out << indention_ << indention_ << " finished: open input file: lfn = " << lfn;
207  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
208 }
209 
210 void
211 Tracer::preCloseFile(std::string const & lfn, bool b) {
212  LogAbsolute out("Tracer");
213  out << indention_ << indention_ << " starting: close input file: lfn = " << lfn;
214  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
215 }
216 void
217 Tracer::postCloseFile (std::string const& lfn, bool b) {
218  LogAbsolute out("Tracer");
219  out << indention_ << indention_ << " finished: close input file: lfn = " << lfn;
220  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
221 }
222 
223 void
225  ModuleDescription const& desc = *mcc.moduleDescription();
226  LogAbsolute out("Tracer");
227  out << indention_ << indention_ << " starting: begin stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
228  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
229  out << "\n" << sc;
230  out << mcc;
231  }
232 }
233 
234 void
236  ModuleDescription const& desc = *mcc.moduleDescription();
237  LogAbsolute out("Tracer");
238  out << indention_ << indention_ << " finished: begin stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
239  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
240  out << "\n" << sc;
241  out << mcc;
242  }
243 }
244 
245 void
247  ModuleDescription const& desc = *mcc.moduleDescription();
248  LogAbsolute out("Tracer");
249  out << indention_ << indention_ << " starting: end stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
250  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
251  out << "\n" << sc;
252  out << mcc;
253  }
254 }
255 
256 void
258  ModuleDescription const& desc = *mcc.moduleDescription();
259  LogAbsolute out("Tracer");
260  out << indention_ << indention_ << " finished: end stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
261  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
262  out << "\n" << sc;
263  out << mcc;
264  }
265 }
266 
267 void
269  LogAbsolute out("Tracer");
270  out << indention_ << indention_ << " starting: global begin run " << gc.luminosityBlockID().run()
271  << " : time = " << gc.timestamp().value();
273  out << "\n" << gc;
274  }
275 }
276 
277 void
279  LogAbsolute out("Tracer");
280  out << indention_ << indention_ << " finished: global begin run " << gc.luminosityBlockID().run()
281  << " : time = " << gc.timestamp().value();
283  out << "\n" << gc;
284  }
285 }
286 
287 void
289  LogAbsolute out("Tracer");
290  out << indention_ << indention_ << " starting: global end run " << gc.luminosityBlockID().run()
291  << " : time = " << gc.timestamp().value();
293  out << "\n" << gc;
294  }
295 }
296 
297 void
299  LogAbsolute out("Tracer");
300  out << indention_ << indention_ << " finished: global end run " << gc.luminosityBlockID().run()
301  << " : time = " << gc.timestamp().value();
303  out << "\n" << gc;
304  }
305 }
306 
307 void
309  LogAbsolute out("Tracer");
310  out << indention_ << indention_ << " starting: begin run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
311  << " time = " << sc.timestamp().value();
313  out << "\n" << sc;
314  }
315 }
316 
317 void
319  LogAbsolute out("Tracer");
320  out << indention_ << indention_ << " finished: begin run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
321  << " time = " << sc.timestamp().value();
323  out << "\n" << sc;
324  }
325 }
326 
327 void
329  LogAbsolute out("Tracer");
330  out << indention_ << indention_ << " starting: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
331  << " time = " << sc.timestamp().value();
333  out << "\n" << sc;
334  }
335 }
336 
337 void
339  LogAbsolute out("Tracer");
340  out << indention_ << indention_ << " finished: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
341  << " time = " << sc.timestamp().value();
343  out << "\n" << sc;
344  }
345 }
346 
347 void
349  LogAbsolute out("Tracer");
350  out << indention_ << indention_ << " starting: global begin lumi: run = " << gc.luminosityBlockID().run()
351  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
353  out << "\n" << gc;
354  }
355 }
356 
357 void
359  LogAbsolute out("Tracer");
360  out << indention_ << indention_ << " finished: global begin lumi: run = " << gc.luminosityBlockID().run()
361  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
363  out << "\n" << gc;
364  }
365 }
366 
367 void
369  LogAbsolute out("Tracer");
370  out << indention_ << indention_ << " starting: global end lumi: run = " << gc.luminosityBlockID().run()
371  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
373  out << "\n" << gc;
374  }
375 }
376 
377 void
379  LogAbsolute out("Tracer");
380  out << indention_ << indention_ << " finished: global end lumi: run = " << gc.luminosityBlockID().run()
381  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
383  out << "\n" << gc;
384  }
385 }
386 
387 void
389  LogAbsolute out("Tracer");
390  out << indention_ << indention_ << " starting: begin lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
391  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
393  out << "\n" << sc;
394  }
395 }
396 
397 void
399  LogAbsolute out("Tracer");
400  out << indention_ << indention_ << " finished: begin lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
401  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
403  out << "\n" << sc;
404  }
405 }
406 
407 void
409  LogAbsolute out("Tracer");
410  out << indention_ << indention_ << " starting: end lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
411  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
413  out << "\n" << sc;
414  }
415 }
416 
417 void
419  LogAbsolute out("Tracer");
420  out << indention_ << indention_ << " finished: end lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
421  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
423  out << "\n" << sc;
424  }
425 }
426 
427 void
429  LogAbsolute out("Tracer");
430  out << indention_ << indention_ << " starting: processing event : stream = " << sc.streamID() << " run = " << sc.eventID().run()
431  << " lumi = " << sc.eventID().luminosityBlock() << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
433  out << "\n" << sc;
434  }
435 }
436 
437 void
439  LogAbsolute out("Tracer");
440  out << indention_ << indention_ << " finished: processing event : stream = " << sc.streamID() << " run = " << sc.eventID().run()
441  << " lumi = " << sc.eventID().luminosityBlock() << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
443  out << "\n" << sc;
444  }
445 }
446 
447 void
449  LogAbsolute out("Tracer");
450  out << indention_ << indention_ << indention_ << " starting: processing path '" << pc.pathName() << "' : stream = " << sc.streamID();
452  out << "\n" << sc;
453  out << pc;
454  }
455 }
456 
457 void
459  LogAbsolute out("Tracer");
460  out << indention_ << indention_ << indention_ << " finished: processing path '" << pc.pathName() << "' : stream = " << sc.streamID();
462  out << "\n" << sc;
463  out << pc;
464  }
465 }
466 
467 void
469  LogAbsolute out("Tracer");
470  out << indention_ << indention_ << " starting: constructing module with label '" << desc.moduleLabel() << "' id = " << desc.id();
471  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
472  out << "\n" << desc;
473  }
474 }
475 
476 void
478  LogAbsolute out("Tracer");
479  out << indention_ << indention_ << " finished: constructing module with label '" << desc.moduleLabel() << "' id = " << desc.id();
480  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
481  out << "\n" << desc;
482  }
483 }
484 
485 void
487  LogAbsolute out("Tracer");
488  out << indention_ << indention_;
489  out << " starting: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
490  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
491  out << "\n" << desc;
492  }
493 }
494 
495 void
497  LogAbsolute out("Tracer");
498  out << indention_ << indention_;
499  out << " finished: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
500  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
501  out << "\n" << desc;
502  }
503 }
504 
505 void
507  LogAbsolute out("Tracer");
508  out << indention_ << indention_;
509  out << " starting: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
510  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
511  out << "\n" << desc;
512  }
513 }
514 
515 void
517  LogAbsolute out("Tracer");
518  out << indention_ << indention_;
519  out << " finished: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
520  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
521  out << "\n" << desc;
522  }
523 }
524 
525 void
527  LogAbsolute out("Tracer");
528  unsigned int nIndents = mcc.depth() + 4;
529  for(unsigned int i = 0; i < nIndents; ++i) {
530  out << indention_;
531  }
532  out << " starting: processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
534  out << "\n" << sc;
535  out << mcc;
536  }
537 }
538 
539 void
541  LogAbsolute out("Tracer");
542  unsigned int nIndents = mcc.depth() + 4;
543  for(unsigned int i = 0; i < nIndents; ++i) {
544  out << indention_;
545  }
546  out << " finished: processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
548  out << "\n" << sc;
549  out << mcc;
550  }
551 }
552 
553 
554 void
556  LogAbsolute out("Tracer");
557  unsigned int nIndents = mcc.depth() + 4;
558  for(unsigned int i = 0; i < nIndents; ++i) {
559  out << indention_;
560  }
561  out << " starting: delayed processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
563  out << "\n" << sc;
564  out << mcc;
565  }
566 }
567 
568 void
570  LogAbsolute out("Tracer");
571  unsigned int nIndents = mcc.depth() + 4;
572  for(unsigned int i = 0; i < nIndents; ++i) {
573  out << indention_;
574  }
575  out << " finished: delayed processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
577  out << "\n" << sc;
578  out << mcc;
579  }
580 }
581 
582 
583 void
585  LogAbsolute out("Tracer");
586  unsigned int nIndents = mcc.depth() + 3;
587  for(unsigned int i = 0; i < nIndents; ++i) {
588  out << indention_;
589  }
590  out << " starting: begin run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
592  out << "\n" << sc;
593  out << mcc;
594  }
595 }
596 
597 void
599  LogAbsolute out("Tracer");
600  unsigned int nIndents = mcc.depth() + 3;
601  for(unsigned int i = 0; i < nIndents; ++i) {
602  out << indention_;
603  }
604  out << " finished: begin run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
606  out << "\n" << sc;
607  out << mcc;
608  }
609 }
610 
611 void
613  LogAbsolute out("Tracer");
614  unsigned int nIndents = mcc.depth() + 3;
615  for(unsigned int i = 0; i < nIndents; ++i) {
616  out << indention_;
617  }
618  out << " starting: end run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
620  out << "\n" << sc;
621  out << mcc;
622  }
623 }
624 
625 void
627  LogAbsolute out("Tracer");
628  unsigned int nIndents = mcc.depth() + 3;
629  for(unsigned int i = 0; i < nIndents; ++i) {
630  out << indention_;
631  }
632  out << " finished: end run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
634  out << "\n" << sc;
635  out << mcc;
636  }
637 }
638 
639 void
641  LogAbsolute out("Tracer");
642  unsigned int nIndents = mcc.depth() + 3;
643  for(unsigned int i = 0; i < nIndents; ++i) {
644  out << indention_;
645  }
646  out << " starting: begin lumi for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
648  out << "\n" << sc;
649  out << mcc;
650  }
651 }
652 
653 void
655  LogAbsolute out("Tracer");
656  unsigned int nIndents = mcc.depth() + 3;
657  for(unsigned int i = 0; i < nIndents; ++i) {
658  out << indention_;
659  }
660  out << " finished: begin lumi for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
662  out << "\n" << sc;
663  out << mcc;
664  }
665 }
666 
667 void
669  LogAbsolute out("Tracer");
670  unsigned int nIndents = mcc.depth() + 3;
671  for(unsigned int i = 0; i < nIndents; ++i) {
672  out << indention_;
673  }
674  out << " starting: end lumi for module: stream = " << sc.streamID() << " label = '"<< mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
676  out << "\n" << sc;
677  out << mcc;
678  }
679 }
680 
681 void
683  LogAbsolute out("Tracer");
684  unsigned int nIndents = mcc.depth() + 3;
685  for(unsigned int i = 0; i < nIndents; ++i) {
686  out << indention_;
687  }
688  out << " finished: end lumi for module: stream = " << sc.streamID() << " label = '"<< mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
690  out << "\n" << sc;
691  out << mcc;
692  }
693 }
694 
695 void
697  LogAbsolute out("Tracer");
698  unsigned int nIndents = mcc.depth() + 3;
699  for(unsigned int i = 0; i < nIndents; ++i) {
700  out << indention_;
701  }
702  out << " starting: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
704  out << "\n" << gc;
705  out << mcc;
706  }
707 }
708 
709 void
711  LogAbsolute out("Tracer");
712  unsigned int nIndents = mcc.depth() + 3;
713  for(unsigned int i = 0; i < nIndents; ++i) {
714  out << indention_;
715  }
716  out << " finished: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
718  out << "\n" << gc;
719  out << mcc;
720  }
721 }
722 
723 void
725  LogAbsolute out("Tracer");
726  unsigned int nIndents = mcc.depth() + 3;
727  for(unsigned int i = 0; i < nIndents; ++i) {
728  out << indention_;
729  }
730  out << " starting: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
732  out << "\n" << gc;
733  out << mcc;
734  }
735 }
736 
737 void
739  LogAbsolute out("Tracer");
740  unsigned int nIndents = mcc.depth() + 3;
741  for(unsigned int i = 0; i < nIndents; ++i) {
742  out << indention_;
743  }
744  out << " finished: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
746  out << "\n" << gc;
747  out << mcc;
748  }
749 }
750 
751 void
753  LogAbsolute out("Tracer");
754  unsigned int nIndents = mcc.depth() + 3;
755  for(unsigned int i = 0; i < nIndents; ++i) {
756  out << indention_;
757  }
758  out << " starting: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
760  out << "\n" << gc;
761  out << mcc;
762  }
763 }
764 
765 void
767  LogAbsolute out("Tracer");
768  unsigned int nIndents = mcc.depth() + 3;
769  for(unsigned int i = 0; i < nIndents; ++i) {
770  out << indention_;
771  }
772  out << " finished: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
774  out << "\n" << gc;
775  out << mcc;
776  }
777 }
778 
779 void
781  LogAbsolute out("Tracer");
782  unsigned int nIndents = mcc.depth() + 3;
783  for(unsigned int i = 0; i < nIndents; ++i) {
784  out << indention_;
785  }
786  out << " starting: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
788  out << "\n" << gc;
789  out << mcc;
790  }
791 }
792 
793 void
795  LogAbsolute out("Tracer");
796  unsigned int nIndents = mcc.depth() + 3;
797  for(unsigned int i = 0; i < nIndents; ++i) {
798  out << indention_;
799  }
800  out << " finished: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
802  out << "\n" << gc;
803  out << mcc;
804  }
805 }
806 
807 void
809  LogAbsolute out("Tracer");
810  out << indention_;
811  out << " starting: constructing source: " << desc.moduleName();
813  out << "\n" << desc;
814  }
815 }
816 
817 void
819  LogAbsolute out("Tracer");
820  out << indention_;
821  out << " finished: constructing source: " << desc.moduleName();
823  out << "\n" << desc;
824  }
825 }
void preCloseFile(std::string const &lfn, bool primary)
Definition: Tracer.cc:211
RunNumber_t run() const
Definition: EventID.h:42
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:44
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
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:192
void watchPrePathEvent(PrePathEvent::slot_type const &iSlot)
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:710
void watchPreallocate(Preallocate::slot_type const &iSlot)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:766
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:682
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:752
void postModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:477
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:257
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:794
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:150
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:52
void postStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:398
void watchPreStreamEndRun(PreStreamEndRun::slot_type const &iSlot)
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:780
void watchPostSourceConstruction(PostSourceConstruction::slot_type const &iSlot)
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::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:640
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
void preGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:368
void preModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:506
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:468
void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const &iSlot)
void postStreamEndRun(StreamContext const &)
Definition: Tracer.cc:338
void postGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:378
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:43
void postModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:496
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:626
std::string const & moduleLabel() const
void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const &iSlot)
void postCloseFile(std::string const &, bool)
Definition: Tracer.cc:217
Timestamp const & timestamp() const
Definition: GlobalContext.h:55
void preStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:408
void preOpenFile(std::string const &, bool)
Definition: Tracer.cc:197
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:268
void preSourceEvent(StreamID)
Definition: Tracer.cc:167
void preGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:288
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:668
Tracer(const ParameterSet &, ActivityRegistry &)
Definition: Tracer.cc:37
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:584
void watchPreSourceLumi(PreSourceLumi::slot_type const &iSlot)
void prePathEvent(StreamContext const &, PathContext const &)
Definition: Tracer.cc:448
void watchPreModuleEventDelayedGet(PreModuleEventDelayedGet::slot_type const &iSlot)
ModuleDescription const * moduleDescription() const
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:654
RunNumber_t run() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: Tracer.cc:140
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:724
void postStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:318
void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const &iSlot)
void preStreamEndRun(StreamContext const &)
Definition: Tracer.cc:328
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
void postOpenFile(std::string const &, bool)
Definition: Tracer.cc:204
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:458
StreamID const & streamID() const
Definition: StreamContext.h:57
tuple out
Definition: dbtoconf.py:99
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
void setComment(std::string const &value)
void postModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:569
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:177
void postSourceEvent(StreamID)
Definition: Tracer.cc:172
std::string indention_
Definition: Tracer.h:145
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)
void preSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:808
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:526
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:224
void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const &iSlot)
void postGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:278
void postGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:298
void postGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:358
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
void preEvent(StreamContext const &)
Definition: Tracer.cc:428
void watchPostModuleBeginJob(PostModuleBeginJob::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:388
void postModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:516
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:246
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:540
EventID const & eventID() const
Definition: StreamContext.h:59
void preModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:555
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:235
bool dumpNonModuleContext_
Definition: Tracer.h:147
void preModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:486
void postStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:418
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:612
void postEvent(StreamContext const &)
Definition: Tracer.cc:438
void preStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:308
TimeValue_t value() const
Definition: Timestamp.h:56
void watchPostModuleEndJob(PostModuleEndJob::slot_type const &iSlot)
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:598
void postSourceLumi()
Definition: Tracer.cc:182
void preGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:348
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:738
unsigned int id() const
void postSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:818
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:696
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
Timestamp const & timestamp() const
Definition: StreamContext.h:62