CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EnableFloatingPointExceptions.h
Go to the documentation of this file.
1 #ifndef FWCore_Services_FpeHandler_h
2 #define FWCore_Services_FpeHandler_h
3 // -*- C++ -*-
4 //
5 // Package: Services
6 // Class : EnableFloatingPointExceptions
7 //
100 //
101 // Original Author: E. Sexton-Kennedy
102 // Created: Tue Apr 11 13:43:16 CDT 2006
103 //
104 
105 #include <string>
106 #include <map>
107 
108 namespace edm {
109 
110  class ParameterSet;
111  class ActivityRegistry;
112  class ModuleDescription;
113  class StreamContext;
114  class ModuleCallingContext;
115  class GlobalContext;
117 
118  namespace service {
119 
121  public:
122 
123  typedef int fpu_flags_type;
124 
127  void postEndJob();
128 
131 
134 
135  void preModuleEndJob(ModuleDescription const& md);
137 
140 
143 
148 
153 
158 
163 
166 
167  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
168 
169  private:
170 
172 
173  void preActions(ModuleDescription const&,
174  char const* debugInfo);
175 
176  void postActions(ModuleDescription const&,
177  char const* debugInfo);
178 
179  void preActions(ModuleCallingContext const&,
180  char const* debugInfo);
181 
182  void postActions(ModuleCallingContext const&,
183  char const* debugInfo);
184 
185  void setPrecision(bool precisionDouble);
186 
188 
189  void echoState() const;
190 
192  std::map<std::string, fpu_flags_type> stateMap_;
194  };
195  }
196 }
197 #endif
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
void preActions(ModuleDescription const &, char const *debugInfo)
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
std::map< std::string, fpu_flags_type > stateMap_
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
void postActions(ModuleDescription const &, char const *debugInfo)
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
static Interceptor::Registry registry("Interceptor")
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
EnableFloatingPointExceptions(ParameterSet const &pset, ActivityRegistry &registry)