The Gaudi Framework
v28r0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
EventNodeKiller.cpp
Go to the documentation of this file.
1
// Include files
2
// local
3
#include "
EventNodeKiller.h
"
4
5
//-----------------------------------------------------------------------------
6
// Implementation file for class : EventNodeKiller
7
//
8
// 2005-07-14 : Marco Cattaneo
9
//-----------------------------------------------------------------------------
10
11
// Declaration of the Algorithm Factory
12
DECLARE_COMPONENT
(
EventNodeKiller
)
13
14
//=============================================================================
15
// Main execution
16
//=============================================================================
17
StatusCode
EventNodeKiller
::execute() {
18
19
if
(msgLevel(
MSG::DEBUG
)) debug() <<
"==> Execute"
<<
endmsg
;
20
21
for
(
auto
& node : m_nodes ) {
22
if
(msgLevel(
MSG::DEBUG
)) debug() <<
"Killing node "
<< node <<
endmsg
;
23
eventSvc()->unlinkObject( node ).ignore();
24
}
25
26
return
StatusCode::SUCCESS
;
27
}
28
//=============================================================================
EventNodeKiller.h
MSG::DEBUG
Definition:
IMessageSvc.h:18
EventNodeKiller
Algorithm to kill nodes in the event data store.
Definition:
EventNodeKiller.h:17
DECLARE_COMPONENT
#define DECLARE_COMPONENT(type)
Definition:
PluginService.h:36
StatusCode::SUCCESS
Definition:
StatusCode.h:30
StatusCode
This class is used for returning status codes from appropriate routines.
Definition:
StatusCode.h:26
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition:
MsgStream.h:244
GaudiAlg
src
components
EventNodeKiller.cpp
Generated on Fri Nov 11 2016 18:44:45 for The Gaudi Framework by
1.8.11