ATLAS Offline Software
Loading...
Searching...
No Matches
WriteTrackingGeometry.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ACTSGEOMETRY_WriteTrackingGeometry_H
6#define ACTSGEOMETRY_WriteTrackingGeometry_H
7
8// ATHENA
10
11// PACKAGE
13
14// STL
15#include <fstream>
16#include <memory>
17#include <vector>
18
19
20namespace ActsTrk{
21
22
27public:
29 virtual StatusCode initialize() override;
30 virtual StatusCode execute(const EventContext& ctx) override;
31
32 virtual unsigned int cardinality() const override final { return 1; }
33
34private:
35 PublicToolHandle<ActsTrk::ITrackingGeometryTool> m_trackingGeometryTool{this, "TrackingGeometryTool", "ActsTrackingGeometryTool"};
36
37 Gaudi::Property<std::string> m_outFile{this, "outFile", "ActsTrackingGeometry.json"};
38
39 bool m_dumped{false};
40
41
42};
43}
44#endif
Algorithm that uses the Acts JSON plugin to dump the tracking geometry into a JSON format which can b...
PublicToolHandle< ActsTrk::ITrackingGeometryTool > m_trackingGeometryTool
Gaudi::Property< std::string > m_outFile
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
virtual StatusCode initialize() override
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual unsigned int cardinality() const override final
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...