21 return StatusCode::SUCCESS;
27 ToolHandleArray<ISimTestTool>::iterator simTestTool(
m_testTools.begin());
28 const ToolHandleArray<ISimTestTool>::iterator endOfSimTestTools(
m_testTools.end());
29 while (simTestTool != endOfSimTestTools && ((**(simTestTool++)).processEvent()).isSuccess()) ;
30 return StatusCode::SUCCESS;
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ToolHandleArray< ISimTestTool > m_testTools
G4TestAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode execute(const EventContext &ctx)
Execute method.