CMS 3D CMS Logo

ExceptionActions.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ExceptionActions_h
2 #define FWCore_Framework_ExceptionActions_h
3 
5 
6 #include <string>
7 #include <map>
8 
9 namespace edm {
10  namespace exception_actions {
11  enum ActionCodes {
17  };
18 
19  const char* actionName(ActionCodes code);
20  }
21 
23  public:
24  typedef std::map<std::string, exception_actions::ActionCodes> ActionMap;
25 
27  explicit ExceptionToActionTable(const ParameterSet&);
29 
32 
33  private:
34  void addDefaults();
35  ActionMap map_;
36  };
37 }
38 #endif
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
const char * actionName(ActionCodes code)
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
HLT enums.
std::map< std::string, exception_actions::ActionCodes > ActionMap