The Gaudi Framework
master (d98a2936)
QotdAlg.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
\***********************************************************************************/
12
#pragma once
13
20
// Include files
21
#include <
GaudiKernel/Algorithm.h
>
22
#include <
GaudiKernel/MsgStream.h
>
23
24
namespace
GaudiEx
{
25
26
class
QotdAlg
:
public
Algorithm
{
27
28
public
:
29
// Constructor of this form must be provided
30
QotdAlg
(
const
std::string&
name
,
ISvcLocator
* pSvcLocator );
31
32
// Three mandatory member functions of any algorithm
33
StatusCode
initialize
()
override
;
34
StatusCode
execute
()
override
;
35
StatusCode
finalize
()
override
;
36
37
private
:
39
unsigned
int
m_evtCnt
;
40
};
41
42
}
// namespace GaudiEx
GaudiEx::QotdAlg::m_evtCnt
unsigned int m_evtCnt
a dumb event counter
Definition:
QotdAlg.h:39
GaudiEx::QotdAlg::initialize
StatusCode initialize() override
Definition:
QotdAlg.cpp:28
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
GaudiEx::QotdAlg::QotdAlg
QotdAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
QotdAlg.cpp:21
GaudiEx::QotdAlg
Definition:
QotdAlg.h:26
GaudiEx::QotdAlg::execute
StatusCode execute() override
Definition:
QotdAlg.cpp:37
StatusCode
Definition:
StatusCode.h:64
GaudiEx::QotdAlg::finalize
StatusCode finalize() override
Definition:
QotdAlg.cpp:54
GaudiEx
Definition:
QotdAlg.h:24
MsgStream.h
GaudiTestSuite
src
MultipleLogStreams
QotdAlg.h
Generated on Wed Aug 13 2025 09:05:06 for The Gaudi Framework by
1.8.18