Main Page
Namespaces
Classes
Package Documentation
FWCore
Framework
interface
ExceptionActions.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_ExceptionActions_h
2
#define FWCore_Framework_ExceptionActions_h
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
6
#include <string>
7
#include <map>
8
9
namespace
edm
{
10
namespace
exception_actions {
11
enum
ActionCodes
{
12
IgnoreCompletely
=0,
13
Rethrow
,
14
SkipEvent
,
15
FailPath
,
16
LastCode
17
};
18
19
const
char
*
actionName
(
ActionCodes
code);
20
}
21
22
class
ExceptionToActionTable
{
23
public
:
24
typedef
std::map<std::string, exception_actions::ActionCodes>
ActionMap
;
25
26
ExceptionToActionTable
();
27
explicit
ExceptionToActionTable
(
const
ParameterSet
&);
28
~
ExceptionToActionTable
();
29
30
void
add
(
const
std::string
&
category
,
exception_actions::ActionCodes
code);
31
exception_actions::ActionCodes
find
(
const
std::string
&
category
)
const
;
32
33
private
:
34
void
addDefaults();
35
ActionMap
map_
;
36
};
37
}
38
#endif
edm::exception_actions::ActionCodes
ActionCodes
Definition:
ExceptionActions.h:11
edm::exception_actions::IgnoreCompletely
Definition:
ExceptionActions.h:12
edm::exception_actions::Rethrow
Definition:
ExceptionActions.h:13
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::ExceptionToActionTable::map_
ActionMap map_
Definition:
ExceptionActions.h:35
edm::exception_actions::SkipEvent
Definition:
ExceptionActions.h:14
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition:
FindCaloHit.cc:20
ParameterSet.h
edm::exception_actions::actionName
const char * actionName(ActionCodes code)
Definition:
ExceptionActions.cc:26
python.rootplot.argparse.category
category
Definition:
argparse.py:131
edm::exception_actions::LastCode
Definition:
ExceptionActions.h:16
PVValHelper::add
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
Definition:
PVValidationHelpers.cc:12
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::exception_actions::FailPath
Definition:
ExceptionActions.h:15
edm::ExceptionToActionTable::ActionMap
std::map< std::string, exception_actions::ActionCodes > ActionMap
Definition:
ExceptionActions.h:24
edm::ExceptionToActionTable
Definition:
ExceptionActions.h:22
Generated for CMSSW Reference Manual by
1.8.11