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
{
IgnoreCompletely
= 0,
Rethrow
,
SkipEvent
,
FailPath
,
LastCode
};
12
13
const
char
*
actionName
(
ActionCodes
code);
14
}
// namespace exception_actions
15
16
class
ExceptionToActionTable
{
17
public
:
18
typedef
std::map<std::string, exception_actions::ActionCodes>
ActionMap
;
19
20
ExceptionToActionTable
();
21
explicit
ExceptionToActionTable
(
const
ParameterSet
&);
22
~
ExceptionToActionTable
();
23
24
void
add
(
const
std::string
&
category
,
exception_actions::ActionCodes
code);
25
exception_actions::ActionCodes
find
(
const
std::string
&
category
)
const
;
26
27
private
:
28
void
addDefaults();
29
ActionMap
map_
;
30
};
31
}
// namespace edm
32
#endif
edm::exception_actions::ActionCodes
ActionCodes
Definition:
ExceptionActions.h:11
edm::exception_actions::IgnoreCompletely
Definition:
ExceptionActions.h:11
edm::exception_actions::Rethrow
Definition:
ExceptionActions.h:11
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ExceptionToActionTable::map_
ActionMap map_
Definition:
ExceptionActions.h:29
edm::exception_actions::SkipEvent
Definition:
ExceptionActions.h:11
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:25
edm::exception_actions::LastCode
Definition:
ExceptionActions.h:11
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:11
edm::ExceptionToActionTable::ActionMap
std::map< std::string, exception_actions::ActionCodes > ActionMap
Definition:
ExceptionActions.h:18
taus_updatedMVAIds_cff.category
category
Definition:
taus_updatedMVAIds_cff.py:29
edm::ExceptionToActionTable
Definition:
ExceptionActions.h:16
Generated for CMSSW Reference Manual by
1.8.11