ATLAS Offline Software
Control
SGComps
src
SGCommitAuditor.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef SGTOOLS_SGCOMMITAUDITOR_H
6
#define SGTOOLS_SGCOMMITAUDITOR_H
7
8
#include "GaudiKernel/Auditor.h"
9
#include "GaudiKernel/IAuditor.h"
10
#include "GaudiKernel/ServiceHandle.h"
11
#include "
AthenaKernel/IHiveStoreMgr.h
"
12
14
//
15
// SGCommitAuditor
16
//
17
// Auditor for use with GaudiHive, causes DataObjects recorded during
18
// the preceeding Algorithm's execute method to be made known to the
19
// WhiteBoard
20
//
21
// Author: C. Leggett
22
// Date: 2015-02-03
24
25
class
SGCommitAuditor
:
virtual
public
Auditor {
26
27
public
:
28
SGCommitAuditor
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
29
virtual
~SGCommitAuditor
();
30
31
virtual
StatusCode
initialize
();
32
virtual
StatusCode
finalize
();
33
34
virtual
void
afterExecute
(INamedInterface*
alg
,
const
StatusCode
&);
35
36
private
:
37
38
ServiceHandle<IHiveStoreMgr>
p_sg
;
39
40
};
41
42
#endif
SGout2dot.alg
alg
Definition:
SGout2dot.py:243
SGCommitAuditor::SGCommitAuditor
SGCommitAuditor(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
SGCommitAuditor.cxx:7
SGCommitAuditor
Definition:
SGCommitAuditor.h:25
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SGCommitAuditor::p_sg
ServiceHandle< IHiveStoreMgr > p_sg
Definition:
SGCommitAuditor.h:38
SGCommitAuditor::finalize
virtual StatusCode finalize()
Definition:
SGCommitAuditor.cxx:32
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
SGCommitAuditor::initialize
virtual StatusCode initialize()
Definition:
SGCommitAuditor.cxx:20
SGCommitAuditor::afterExecute
virtual void afterExecute(INamedInterface *alg, const StatusCode &)
Definition:
SGCommitAuditor.cxx:39
IHiveStoreMgr.h
SGCommitAuditor::~SGCommitAuditor
virtual ~SGCommitAuditor()
Definition:
SGCommitAuditor.cxx:15
ServiceHandle< IHiveStoreMgr >
Generated on Sun Dec 22 2024 21:18:00 for ATLAS Offline Software by
1.8.18