7#include "GaudiKernel/EventContext.h"
12 ISvcLocator* pSvcLocator)
27 return StatusCode::FAILURE;
29 return StatusCode::SUCCESS;
37 return StatusCode::SUCCESS;
43 std::unique_ptr<Trk::TrackingGeometry> trackingGeometry =
49 for (; gpIter != gpIterE; ++gpIter) {
50 if ((*gpIter)->process(*trackingGeometry).isFailure()) {
51 ATH_MSG_FATAL(
"Processing of TrackingGeometry did not succeed. Abort.");
52 return StatusCode::FAILURE;
58 if (
m_dumpGeo) trackingGeometry->dump(msgStream(),
"TrackingGeometryCondAlg");
61 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
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