HelloWorld.h
Go to the documentation of this file.
1 #ifndef GAUDIEXAMPLE_HELLOWORLD_H
2 #define GAUDIEXAMPLE_HELLOWORLD_H 1
3 
4 // Include files
6 #include "GaudiKernel/Property.h"
8 
14 class HelloWorld : public Algorithm {
15 public:
17  HelloWorld(const std::string& name, ISvcLocator* pSvcLocator);
18 
25 private:
32 };
33 
34 #endif // GAUDIEXAMPLE_HELLOWORLD_H
StatusCode endRun()
Definition: HelloWorld.cpp:56
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
StringProperty m_string
Definition: HelloWorld.h:31
StatusCode execute()
Definition: HelloWorld.cpp:29
STL class.
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:820
StatusCode beginRun()
Definition: HelloWorld.cpp:46
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
Trivial Algorithm for tutotial purposes.
Definition: HelloWorld.h:14
HelloWorld(const std::string &name, ISvcLocator *pSvcLocator)
Constructor of this form must be provided.
Definition: HelloWorld.cpp:9
DoubleProperty m_double
Definition: HelloWorld.h:30
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:74
StatusCode initialize()
Three mandatory member functions of any algorithm.
Definition: HelloWorld.cpp:16
bool m_initialized
Definition: HelloWorld.h:26
IntegerProperty m_int
These data members are used in the execution of this algorithm They are set in the initialisation pha...
Definition: HelloWorld.h:29
StatusCode finalize()
Definition: HelloWorld.cpp:38