Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ATHEXHELLOWORLD_HELLOALG_H
6 #define ATHEXHELLOWORLD_HELLOALG_H
9 #include "Gaudi/Property.h"
10 #include "GaudiKernel/ToolHandle.h"
21 HelloAlg(
const std::string &
name, ISvcLocator *pSvcLocator);
29 Gaudi::Property<int>
m_myInt{
this,
"MyInt", 0,
"An Integer"};
30 Gaudi::Property<bool>
m_myBool{
this,
"MyBool",
false,
"A Bool"};
31 Gaudi::Property<double>
m_myDouble{
this,
"MyDouble", 0.,
"A Double"};
34 this,
"MyStringVec", {},
"an entire vector of strings"};
36 typedef std::map<std::string, std::string>
Dict_t;
37 Gaudi::Property<Dict_t>
m_myDict{
this,
"MyDict", {},
"A little dictionary"};
39 typedef std::vector<std::vector<double>>
Matrix_t;
41 this,
"MyMatrix", {},
"A matrix of doubles"};
44 typedef std::vector<std::pair<double, double>>
Table_t;
49 this,
"MyPrivateHelloTool",
"HelloTool",
"private IHelloTool"};
52 this,
"MyPublicHelloTool",
"HelloTool",
"public, shared IHelloTool"};
Gaudi::Property< int > m_myInt
std::vector< std::vector< double > > Matrix_t
std::map< std::string, std::string > Dict_t
Gaudi::Property< std::vector< std::string > > m_myStringVec
ToolHandle< IHelloTool > m_myPrivateHelloTool
HelloAlg(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< std::pair< double, double > > Table_t
virtual StatusCode initialize() override
virtual StatusCode finalize() override
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< Dict_t > m_myDict
Gaudi::Property< double > m_myDouble
Gaudi::Property< bool > m_myBool
PublicToolHandle< IHelloTool > m_myPublicHelloTool
Gaudi::Property< Matrix_t > m_myMatrix
virtual StatusCode execute() override