7#include "GaudiKernel/EventContext.h"
13 ISvcLocator* pSvcLocator)
28 return StatusCode::FAILURE;
30 return StatusCode::SUCCESS;
35 const EventContext& ctx = Gaudi::Hive::currentContext();
39 return StatusCode::SUCCESS;
45 std::unique_ptr<Trk::TrackingGeometry> trackingGeometry =
51 for (; gpIter != gpIterE; ++gpIter) {
52 if ((*gpIter)->process(*trackingGeometry).isFailure()) {
53 ATH_MSG_FATAL(
"Processing of TrackingGeometry did not succeed. Abort.");
54 return StatusCode::FAILURE;
60 if (
m_dumpGeo) trackingGeometry->dump(msgStream(),
"TrackingGeometryCondAlg");
63 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
defines and typedefs for IOVSvc
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
static EventIDRange infiniteMixed()
Produces an mixed EventIDRange that is infinite in Time and RunLumi.
void addDependency(const EventIDRange &range)
StatusCode record(const EventIDRange &range, T *t)
record handle, with explicit range DEPRECATED
TrackingGeometryCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute() override final
SG::WriteCondHandleKey< TrackingGeometry > m_trackingGeometryWriteKey
Output conditions object.
Gaudi::Property< bool > m_dumpGeo
ToolHandleArray< Trk::IGeometryProcessor > m_geometryProcessors
ToolHandle< Trk::IGeometryBuilderCond > m_trackingGeometryBuilder
virtual StatusCode initialize() override final