6#include "GaudiKernel/ISvcLocator.h"
33 ,
m_RobSvc(
"ROBDataProviderSvc" , name)
63 lastools_t::iterator fTool =
m_lasTools.begin();
65 CHECK( (*fTool)->initialize() );
68 return StatusCode::SUCCESS;
78 auto event =
m_RobSvc->getEvent(Gaudi::Hive::currentContext());
81 m_runNo =
static_cast<uint32_t
>(
event->run_no());
82 m_runType =
static_cast<uint32_t
>(
event->run_type());
90 int trig_type =
static_cast<uint32_t
>(
event->lvl1_trigger_type());
94 return StatusCode::SUCCESS;
99 lastools_t::iterator fTool =
m_lasTools.begin();
102 CHECK( (*fTool)->execute() );
105 return StatusCode::SUCCESS;
119 lastools_t::iterator fTool =
m_lasTools.begin();
122 CHECK( (*fTool)->finalizeCalculations() );
129 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 with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
StatusCode initialize()
implementing the Gaudi Hooks
virtual ~TileLaserCalibAlg()
ServiceHandle< IROBDataProviderSvc > m_RobSvc
TileLaserCalibAlg(const std::string &name, ISvcLocator *pSvcLocator)