7#include "GaudiKernel/EventContext.h"
13 ISvcLocator* pSvcLocator)
28 return StatusCode::FAILURE;
30 return StatusCode::SUCCESS;
38 return StatusCode::SUCCESS;
44 std::unique_ptr<Trk::TrackingGeometry> trackingGeometry =
50 for (; gpIter != gpIterE; ++gpIter) {
51 if ((*gpIter)->process(*trackingGeometry).isFailure()) {
52 ATH_MSG_FATAL(
"Processing of TrackingGeometry did not succeed. Abort.");
53 return StatusCode::FAILURE;
59 if (
m_dumpGeo) trackingGeometry->dump(msgStream(),
"TrackingGeometryCondAlg");
62 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
defines and typedefs for IOVSvc
Base class for conditions algorithms.
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
virtual StatusCode execute(const EventContext &ctx) const override final
TrackingGeometryCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
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