| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Incident.h
Go to the documentation of this file.
1 #ifndef GAUDI_INCIDENT_H
2 #define GAUDI_INCIDENT_H
3
4 // Include files
5 #include "GaudiKernel/Kernel.h"
6 #include <string>
7
16 class GAUDI_API Incident {
17
18 public:
19
21 Incident ( const std::string& source,
22 const std::string& type
23 )
24 : m_source ( source ),
25 m_type ( type ) { }
26
28 virtual ~Incident() { }
29
34 const std::string& type() const { return m_type; }
35
40 const std::string& source() const { return m_source; }
41
42 private:
43
44 std::string m_source;
45 std::string m_type;
46
47 };
48
58 namespace IncidentType
59 {
60 const std::string BeginEvent = "BeginEvent";
61 const std::string EndEvent = "EndEvent";
62 const std::string BeginRun = "BeginRun";
63 const std::string EndRun = "EndRun";
64 const std::string EndStream = "EndStream";
65
66 const std::string AbortEvent = "AbortEvent";
67
68 //Added by R. Lambert 2009-09-03, for summary services
69 //define a preprocessor macro to allow backward-compatibility
70 #define GAUDI_FILE_INCIDENTS
71
72 const std::string BeginOutputFile = "BeginOutputFile";
73 const std::string FailOutputFile = "FailOutputFile";
74 const std::string WroteToOutputFile = "WroteToOutputFile";
75 const std::string EndOutputFile = "EndOutputFile";
76
77 const std::string BeginInputFile = "BeginInputFile";
78 const std::string FailInputFile = "FailInputFile";
79 const std::string EndInputFile = "EndInputFile";
80
81 const std::string CorruptedInputFile = "CorruptedInputFile";
82
84 const std::string BeginProcessing = "BeginProcessing";
86 const std::string EndProcessing = "EndProcessing";
87
91 const std::string SvcPostFinalize = "PostFinalize";
92 }
93
94 #endif //GAUDI_INCIDENT_H
95