Go to the documentation of this file.00001 #ifndef FWCore_Services_Tracer_h
00002 #define FWCore_Services_Tracer_h
00003
00004
00005
00006
00007
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00029 #include "FWCore/ServiceRegistry/interface/ActivityRegistry.h"
00030
00031
00032 namespace edm {
00033 class ConfigurationDescriptions;
00034
00035 namespace service {
00036 class Tracer {
00037 public:
00038 Tracer(const ParameterSet&,ActivityRegistry&);
00039
00040 static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
00041
00042 void postBeginJob();
00043 void postEndJob();
00044
00045 void preBeginRun(RunID const& id, Timestamp const& ts);
00046 void postBeginRun(Run const& run, EventSetup const& es);
00047
00048 void preBeginLumi(LuminosityBlockID const& id, Timestamp const& ts);
00049 void postBeginLumi(LuminosityBlock const& run, EventSetup const& es);
00050
00051 void preEvent(EventID const& id, Timestamp const& ts);
00052 void postEvent(Event const& ev, EventSetup const& es);
00053
00054 void preEndLumi(LuminosityBlockID const& id, Timestamp const& ts);
00055 void postEndLumi(LuminosityBlock const& run, EventSetup const& es);
00056
00057 void preEndRun(RunID const& id, Timestamp const& ts);
00058 void postEndRun(Run const& run, EventSetup const& es);
00059
00060 void preSourceConstruction(ModuleDescription const& md);
00061 void postSourceConstruction(ModuleDescription const& md);
00062
00063 void preModuleConstruction(ModuleDescription const& md);
00064 void postModuleConstruction(ModuleDescription const& md);
00065
00066 void preModuleBeginJob(ModuleDescription const& md);
00067 void postModuleBeginJob(ModuleDescription const& md);
00068
00069 void preModuleBeginRun(ModuleDescription const& md);
00070 void postModuleBeginRun(ModuleDescription const& md);
00071
00072 void preModuleBeginLumi(ModuleDescription const& md);
00073 void postModuleBeginLumi(ModuleDescription const& md);
00074
00075 void preModuleEvent(ModuleDescription const& md);
00076 void postModuleEvent(ModuleDescription const& md);
00077
00078 void preModuleEndLumi(ModuleDescription const& md);
00079 void postModuleEndLumi(ModuleDescription const& md);
00080
00081 void preModuleEndRun(ModuleDescription const& md);
00082 void postModuleEndRun(ModuleDescription const& md);
00083
00084 void preModuleEndJob(ModuleDescription const& md);
00085 void postModuleEndJob(ModuleDescription const& md);
00086
00087 void preSourceEvent();
00088 void postSourceEvent();
00089
00090 void preSourceLumi();
00091 void postSourceLumi();
00092
00093 void preSourceRun();
00094 void postSourceRun();
00095
00096 void preOpenFile();
00097 void postOpenFile();
00098
00099 void preCloseFile();
00100 void postCloseFile();
00101
00102 void prePathBeginRun(std::string const& s);
00103 void postPathBeginRun(std::string const& s, HLTPathStatus const& hlt);
00104
00105 void prePathBeginLumi(std::string const& s);
00106 void postPathBeginLumi(std::string const& s, HLTPathStatus const& hlt);
00107
00108 void prePathEvent(std::string const& s);
00109 void postPathEvent(std::string const& s, HLTPathStatus const& hlt);
00110
00111 void prePathEndLumi(std::string const& s);
00112 void postPathEndLumi(std::string const& s, HLTPathStatus const& hlt);
00113
00114 void prePathEndRun(std::string const& s);
00115 void postPathEndRun(std::string const& s, HLTPathStatus const& hlt);
00116
00117 private:
00118 std::string indention_;
00119 unsigned int depth_;
00120
00121 };
00122 }
00123 }
00124
00125 #endif