ATLAS Offline Software
Loading...
Searching...
No Matches
SGCommitAuditor.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef SGTOOLS_SGCOMMITAUDITOR_H
6#define SGTOOLS_SGCOMMITAUDITOR_H
7
8#include "Gaudi/Auditor.h"
9#include "Gaudi/IAuditor.h"
10#include "GaudiKernel/ServiceHandle.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
25class SGCommitAuditor: public Gaudi::Auditor {
26
27public:
28 SGCommitAuditor(const std::string& name, ISvcLocator* pSvcLocator);
29 virtual ~SGCommitAuditor();
30
31 virtual StatusCode initialize() override;
32
33 virtual void after(const std::string& event, const std::string& name,
34 const EventContext&, const StatusCode&) override;
35
36private:
37
39
40};
41
42#endif
virtual StatusCode initialize() override
virtual void after(const std::string &event, const std::string &name, const EventContext &, const StatusCode &) override
ServiceHandle< IHiveStoreMgr > p_sg
virtual ~SGCommitAuditor()
SGCommitAuditor(const std::string &name, ISvcLocator *pSvcLocator)