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
14
15// STL
16#include <fstream>
17#include <memory>
18#include <vector>
19
20
21namespace ActsTrk{
22
23
28public:
30 virtual StatusCode initialize() override;
31 virtual StatusCode execute(const EventContext& ctx) override;
32
33 virtual unsigned int cardinality() const override final { return 1; }
34
35private:
36 ServiceHandle<ActsTrk::ITrackingGeometrySvc> m_trackingGeometrySvc{this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"};
37
40
41 Gaudi::Property<std::string> m_outFile{this, "outFile", "ActsTrackingGeometry.json"};
42
43 bool m_dumped{false};
44
45
46};
47}
48#endif
Utility class to handle the three contexts neeeded in an ACTS reconstruction job 1) GeometryContext -...
Algorithm that uses the Acts JSON plugin to dump the tracking geometry into a JSON format which can b...
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
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...