The Gaudi Framework
master (bb4415cc)
Toggle main menu visibility
Loading...
Searching...
No Matches
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
19
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
Algorithm.h
MsgStream.h
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition
Algorithm.h:98
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition
Algorithm.cpp:518
GaudiEx::QotdAlg::finalize
StatusCode finalize() override
Definition
QotdAlg.cpp:54
GaudiEx::QotdAlg::execute
StatusCode execute() override
Definition
QotdAlg.cpp:37
GaudiEx::QotdAlg::QotdAlg
QotdAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
QotdAlg.cpp:21
GaudiEx::QotdAlg::initialize
StatusCode initialize() override
Definition
QotdAlg.cpp:28
GaudiEx::QotdAlg::m_evtCnt
unsigned int m_evtCnt
a dumb event counter
Definition
QotdAlg.h:39
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition
ISvcLocator.h:42
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
GaudiEx
Definition
QotdAlg.h:24
GaudiTestSuite
src
MultipleLogStreams
QotdAlg.h
Generated on
for The Gaudi Framework by
1.17.0