CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Tracer.h
Go to the documentation of this file.
1 #ifndef FWCore_Services_Tracer_h
2 #define FWCore_Services_Tracer_h
3 // -*- C++ -*-
4 //
5 // Package: Services
6 // Class : Tracer
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu Sep 8 14:35:45 EDT 2005
19 // $Id: Tracer.h,v 1.13 2012/11/29 02:05:58 bbockelm Exp $
20 //
21 
22 // system include files
23 
24 // user include files
25 
26 // forward declarations
27 
30 
31 
32 namespace edm {
34 
35  namespace service {
36  class Tracer {
37 public:
39 
40  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
41 
42  void postBeginJob();
43  void postEndJob();
44 
45  void preBeginRun(RunID const& id, Timestamp const& ts);
46  void postBeginRun(Run const& run, EventSetup const& es);
47 
48  void preBeginLumi(LuminosityBlockID const& id, Timestamp const& ts);
49  void postBeginLumi(LuminosityBlock const& run, EventSetup const& es);
50 
51  void preEvent(EventID const& id, Timestamp const& ts);
52  void postEvent(Event const& ev, EventSetup const& es);
53 
54  void preEndLumi(LuminosityBlockID const& id, Timestamp const& ts);
55  void postEndLumi(LuminosityBlock const& run, EventSetup const& es);
56 
57  void preEndRun(RunID const& id, Timestamp const& ts);
58  void postEndRun(Run const& run, EventSetup const& es);
59 
62 
65 
66  void preModuleBeginJob(ModuleDescription const& md);
67  void postModuleBeginJob(ModuleDescription const& md);
68 
69  void preModuleBeginRun(ModuleDescription const& md);
70  void postModuleBeginRun(ModuleDescription const& md);
71 
72  void preModuleBeginLumi(ModuleDescription const& md);
73  void postModuleBeginLumi(ModuleDescription const& md);
74 
75  void preModuleEvent(ModuleDescription const& md);
76  void postModuleEvent(ModuleDescription const& md);
77 
78  void preModuleEndLumi(ModuleDescription const& md);
79  void postModuleEndLumi(ModuleDescription const& md);
80 
81  void preModuleEndRun(ModuleDescription const& md);
82  void postModuleEndRun(ModuleDescription const& md);
83 
84  void preModuleEndJob(ModuleDescription const& md);
85  void postModuleEndJob(ModuleDescription const& md);
86 
87  void preSourceEvent();
88  void postSourceEvent();
89 
90  void preSourceLumi();
91  void postSourceLumi();
92 
93  void preSourceRun();
94  void postSourceRun();
95 
96  void preOpenFile();
97  void postOpenFile();
98 
99  void preCloseFile(std::string const& lfn, bool primary);
100  void postCloseFile();
101 
102  void prePathBeginRun(std::string const& s);
103  void postPathBeginRun(std::string const& s, HLTPathStatus const& hlt);
104 
105  void prePathBeginLumi(std::string const& s);
106  void postPathBeginLumi(std::string const& s, HLTPathStatus const& hlt);
107 
108  void prePathEvent(std::string const& s);
109  void postPathEvent(std::string const& s, HLTPathStatus const& hlt);
110 
111  void prePathEndLumi(std::string const& s);
112  void postPathEndLumi(std::string const& s, HLTPathStatus const& hlt);
113 
114  void prePathEndRun(std::string const& s);
115  void postPathEndRun(std::string const& s, HLTPathStatus const& hlt);
116 
117 private:
119  unsigned int depth_;
120 
121  };
122  }
123 }
124 
125 #endif
void preCloseFile(std::string const &lfn, bool primary)
Definition: Tracer.cc:199
void postModuleEndRun(ModuleDescription const &md)
Definition: Tracer.cc:314
void postModuleBeginLumi(ModuleDescription const &md)
Definition: Tracer.cc:353
void postSourceRun()
Definition: Tracer.cc:185
void preModuleEvent(ModuleDescription const &md)
Definition: Tracer.cc:227
void preModuleBeginLumi(ModuleDescription const &md)
Definition: Tracer.cc:344
void postCloseFile()
Definition: Tracer.cc:203
void postModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:423
void postBeginRun(Run const &run, EventSetup const &es)
Definition: Tracer.cc:252
void postModuleBeginRun(ModuleDescription const &md)
Definition: Tracer.cc:275
void preSourceEvent()
Definition: Tracer.cc:163
void preModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:441
void postPathEvent(std::string const &s, HLTPathStatus const &hlt)
Definition: Tracer.cc:222
void preModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:417
void prePathEndRun(std::string const &s)
Definition: Tracer.cc:296
void preModuleEndLumi(ModuleDescription const &md)
Definition: Tracer.cc:384
void postSourceEvent()
Definition: Tracer.cc:167
void postModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:435
void postEndLumi(LuminosityBlock const &run, EventSetup const &es)
Definition: Tracer.cc:369
void postBeginLumi(LuminosityBlock const &run, EventSetup const &es)
Definition: Tracer.cc:330
void prePathBeginRun(std::string const &s)
Definition: Tracer.cc:257
void postEvent(Event const &ev, EventSetup const &es)
Definition: Tracer.cc:213
void preEndLumi(LuminosityBlockID const &id, Timestamp const &ts)
Definition: Tracer.cc:364
void prePathEvent(std::string const &s)
Definition: Tracer.cc:218
void preBeginRun(RunID const &id, Timestamp const &ts)
Definition: Tracer.cc:247
void postEndRun(Run const &run, EventSetup const &es)
Definition: Tracer.cc:291
void postPathBeginLumi(std::string const &s, HLTPathStatus const &hlt)
Definition: Tracer.cc:339
void preModuleBeginRun(ModuleDescription const &md)
Definition: Tracer.cc:266
Tracer(const ParameterSet &, ActivityRegistry &)
Definition: Tracer.cc:40
void prePathEndLumi(std::string const &s)
Definition: Tracer.cc:374
void preEndRun(RunID const &id, Timestamp const &ts)
Definition: Tracer.cc:286
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: Tracer.cc:130
void preBeginLumi(LuminosityBlockID const &id, Timestamp const &ts)
Definition: Tracer.cc:325
void postPathBeginRun(std::string const &s, HLTPathStatus const &hlt)
Definition: Tracer.cc:261
unsigned int depth_
Definition: Tracer.h:119
void preSourceLumi()
Definition: Tracer.cc:172
std::string indention_
Definition: Tracer.h:118
void postModuleEvent(ModuleDescription const &md)
Definition: Tracer.cc:236
void preSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:405
void postPathEndRun(std::string const &s, HLTPathStatus const &hlt)
Definition: Tracer.cc:300
void preEvent(EventID const &id, Timestamp const &ts)
Definition: Tracer.cc:208
void postModuleEndLumi(ModuleDescription const &md)
Definition: Tracer.cc:394
void postPathEndLumi(std::string const &s, HLTPathStatus const &hlt)
Definition: Tracer.cc:379
void preModuleEndRun(ModuleDescription const &md)
Definition: Tracer.cc:305
void prePathBeginLumi(std::string const &s)
Definition: Tracer.cc:335
void postModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:447
void preModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:429
void postSourceLumi()
Definition: Tracer.cc:176
Definition: Run.h:36
void postSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:411