Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FWCore
Framework
interface
Actions.h
Go to the documentation of this file.
1
#ifndef Framework_Actions_h
2
#define Framework_Actions_h
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
6
#include <string>
7
#include <map>
8
9
namespace
edm {
10
namespace
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
ActionTable
{
23
public
:
24
typedef
std::map<std::string, actions::ActionCodes>
ActionMap
;
25
26
ActionTable
();
27
explicit
ActionTable
(
const
ParameterSet
&);
28
~ActionTable
();
29
30
void
add
(
const
std::string
&
category
,
actions::ActionCodes
code);
31
actions::ActionCodes
find
(
const
std::string
&
category
)
const
;
32
33
private
:
34
void
addDefaults
();
35
ActionMap
map_
;
36
};
37
}
38
#endif
edm::ActionTable::add
void add(const std::string &category, actions::ActionCodes code)
Definition:
Actions.cc:89
edm::actions::actionName
const char * actionName(ActionCodes code)
Definition:
Actions.cc:26
edm::ActionTable::map_
ActionMap map_
Definition:
Actions.h:35
actions
roAction_t actions[nactions]
Definition:
GenABIO.cc:200
edm::actions::Rethrow
Definition:
Actions.h:13
edm::actions::SkipEvent
Definition:
Actions.h:14
edm::ActionTable::~ActionTable
~ActionTable()
Definition:
Actions.cc:86
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ParameterSet.h
edm::ActionTable
Definition:
Actions.h:22
edm::ActionTable::ActionMap
std::map< std::string, actions::ActionCodes > ActionMap
Definition:
Actions.h:24
edm::ActionTable::ActionTable
ActionTable()
Definition:
Actions.cc:32
python.rootplot.argparse.category
category
Definition:
argparse.py:131
edm::ActionTable::addDefaults
void addDefaults()
Definition:
Actions.cc:72
edm::actions::LastCode
Definition:
Actions.h:16
edm::actions::ActionCodes
ActionCodes
Definition:
Actions.h:11
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::ActionTable::find
actions::ActionCodes find(const std::string &category) const
Definition:
Actions.cc:93
edm::actions::IgnoreCompletely
Definition:
Actions.h:12
edm::actions::FailPath
Definition:
Actions.h:15
Generated for CMSSW Reference Manual by
1.8.5