The Gaudi Framework  master (37c0b60a)
QotdAlg.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 \***********************************************************************************/
12 #ifndef MULTIPLELOGSTREAMS_QOTDALG_H
13 #define MULTIPLELOGSTREAMS_QOTDALG_H 1
14 
21 // Include files
22 #include <GaudiKernel/Algorithm.h>
23 #include <GaudiKernel/MsgStream.h>
24 
25 namespace GaudiEx {
26 
27  class QotdAlg : public Algorithm {
28 
29  public:
30  // Constructor of this form must be provided
31  QotdAlg( const std::string& name, ISvcLocator* pSvcLocator );
32 
33  // Three mandatory member functions of any algorithm
34  StatusCode initialize() override;
35  StatusCode execute() override;
36  StatusCode finalize() override;
37 
38  private:
40  unsigned int m_evtCnt;
41  };
42 
43 } // namespace GaudiEx
44 
45 #endif // MULTIPLELOGSTREAMS_QOTDALG_H
GaudiEx::QotdAlg::m_evtCnt
unsigned int m_evtCnt
a dumb event counter
Definition: QotdAlg.h:40
GaudiEx::QotdAlg::initialize
StatusCode initialize() override
Definition: QotdAlg.cpp:28
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
GaudiEx::QotdAlg::QotdAlg
QotdAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: QotdAlg.cpp:21
GaudiEx::QotdAlg
Definition: QotdAlg.h:27
GaudiEx::QotdAlg::execute
StatusCode execute() override
Definition: QotdAlg.cpp:37
StatusCode
Definition: StatusCode.h:65
GaudiEx::QotdAlg::finalize
StatusCode finalize() override
Definition: QotdAlg.cpp:54
GaudiEx
Definition: QotdAlg.h:25
MsgStream.h