The Gaudi Framework
master (01b473db)
History.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <
GaudiKernel/Algorithm.h
>
14
#include <
GaudiKernel/IHistorySvc.h
>
15
16
class
History
:
public
Algorithm
{
17
SmartIF<IHistorySvc>
m_histSvc
;
18
19
public
:
20
History
(
const
std::string&
name
,
ISvcLocator
* pSvcLocator );
21
StatusCode
initialize
()
override
;
22
StatusCode
execute
()
override
;
23
};
History::initialize
StatusCode initialize() override
Definition:
History.cpp:22
History::History
History(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
History.cpp:18
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition:
Algorithm.cpp:524
ISvcLocator
Definition:
ISvcLocator.h:42
Algorithm
Alias for backward compatibility.
Definition:
Algorithm.h:58
Algorithm.h
StatusCode
Definition:
StatusCode.h:64
SmartIF< IHistorySvc >
IHistorySvc.h
History::execute
StatusCode execute() override
Definition:
History.cpp:35
History::m_histSvc
SmartIF< IHistorySvc > m_histSvc
Definition:
History.h:17
History
Definition:
History.h:16
GaudiTestSuite
src
History
History.h
Generated on Thu Sep 18 2025 16:37:16 for The Gaudi Framework by
1.8.18