The Gaudi Framework  master (37c0b60a)
LoopAlg.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 LOOPALG_H
12 #define LOOPALG_H 1
13 
14 // Include files
15 #include <GaudiKernel/Algorithm.h>
16 class LoopAlg : public Algorithm {
17 public:
18  // Constructor of this form must be provided
19  LoopAlg( const std::string& name, ISvcLocator* pSvcLocator );
20 
21  // Three mandatory member functions of any algorithm
22  StatusCode initialize() override;
23  StatusCode execute() override;
24  StatusCode finalize() override;
25 };
26 
27 #endif // THIST_HISTOALGORITHM_H
std::string
STL class.
LoopAlg::LoopAlg
LoopAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LoopAlg.cpp:19
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
LoopAlg::finalize
StatusCode finalize() override
Definition: LoopAlg.cpp:40
StatusCode
Definition: StatusCode.h:65
LoopAlg::execute
StatusCode execute() override
Definition: LoopAlg.cpp:33
LoopAlg::initialize
StatusCode initialize() override
Definition: LoopAlg.cpp:25
LoopAlg
Definition: LoopAlg.h:16