11#include "ActsPlugins/Json/TrackingGeometryJsonConverter.hpp"
25 return StatusCode::SUCCESS;
31 return StatusCode::SUCCESS;
34 if (!outFile.good()) {
36 return StatusCode::FAILURE;
43 const Acts::GeometryContext tgContext =
m_ctxProvider.getGeometryContext(ctx);
45 using Config_t = Acts::TrackingGeometryJsonConverter::Config;
47 Config_t cfg = Config_t::defaultConfig();
55 outFile<<trackGeo.dump(4);
59 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
std::unique_ptr< const Acts::Logger > makeActsAthenaLogger(IMessageSvc *svc, const std::string &name, int level, std::optional< std::string > parent_name)
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeometrySvc
Gaudi::Property< std::string > m_outFile
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
ActsTrk::ContextUtility m_ctxProvider
Context provider for geometry, magnetic field and calibration contexts.
virtual StatusCode initialize() override
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...