14 m_myDict[
"Good Morning"] =
"Bonjour";
20 m_myTable.push_back(std::make_pair(1., 1.));
21 m_myTable.push_back(std::make_pair(2., 2. * 2.));
22 m_myTable.push_back(std::make_pair(3., 3. * 3.));
36 for (
const auto &[key, value] :
m_myDict) {
37 ATH_MSG_INFO(
" MyDict['" << key <<
"'] = '" << value <<
"'");
39 for (
const auto &[key, value] :
m_myTable) {
40 ATH_MSG_INFO(
" MyTable['" << key <<
"'] = '" << value <<
"'");
42 for (
size_t row = 0; row <
m_myMatrix.size(); row++) {
43 msg(MSG::INFO) <<
" MyMatrix[" << row <<
"] = [ ";
45 msg() << value <<
" ";
58 <<
": Failed to retrieve tool "
60 return StatusCode::FAILURE;
69 return StatusCode::SUCCESS;
85 <<
" say something:");
90 <<
" say something:");
93 return StatusCode::SUCCESS;
100 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Gaudi::Property< Matrix_t > m_myMatrix
ToolHandle< IHelloTool > m_myPrivateHelloTool
Gaudi::Property< bool > m_myBool
Gaudi::Property< int > m_myInt
PublicToolHandle< IHelloTool > m_myPublicHelloTool
virtual StatusCode finalize() override
virtual StatusCode execute() override
Gaudi::Property< std::vector< std::string > > m_myStringVec
Gaudi::Property< double > m_myDouble
HelloAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
Gaudi::Property< Dict_t > m_myDict