The Gaudi Framework
master (37c0b60a)
History.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 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
#ifndef GAUDIEXAMPLES_HISTORY_H
12
#define GAUDIEXAMPLES_HISTORY_H
13
14
#include <
GaudiKernel/Algorithm.h
>
15
#include <
GaudiKernel/IHistorySvc.h
>
16
17
class
History
:
public
Algorithm
{
18
SmartIF<IHistorySvc>
m_histSvc
;
19
20
public
:
21
History
(
const
std::string
&
name
,
ISvcLocator
* pSvcLocator );
22
StatusCode
initialize
()
override
;
23
StatusCode
execute
()
override
;
24
};
25
26
#endif // GAUDIEXAMPLES_HISTORY_H
History::initialize
StatusCode initialize() override
Definition:
History.cpp:22
History::History
History(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
History.cpp:18
std::string
STL class.
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition:
Algorithm.cpp:526
ISvcLocator
Definition:
ISvcLocator.h:46
Algorithm
Alias for backward compatibility.
Definition:
Algorithm.h:58
Algorithm.h
StatusCode
Definition:
StatusCode.h:65
SmartIF< IHistorySvc >
IHistorySvc.h
History::execute
StatusCode execute() override
Definition:
History.cpp:35
History::m_histSvc
SmartIF< IHistorySvc > m_histSvc
Definition:
History.h:18
History
Definition:
History.h:17
GaudiTestSuite
src
History
History.h
Generated on Thu Dec 19 2024 15:35:07 for The Gaudi Framework by
1.8.18