Project
Loading...
Searching...
No Matches
ActsGeometryService.h
Go to the documentation of this file.
1// Copyright 2019-2026 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
17
18#ifndef ALICEO2_ACTS_ACTSGEOMETRYSERVICE_H
19#define ALICEO2_ACTS_ACTSGEOMETRYSERVICE_H
20
21#include <memory>
22#include <vector>
23
24#include "Acts/Geometry/TrackingGeometry.hpp"
25
29
30namespace o2::acts
31{
32
49{
50 public:
53 const Acts::TrackingGeometry& getGeometry() const;
54 std::shared_ptr<const Acts::TrackingGeometry> getGeometryShared() const;
55
56 const SurfaceIndexMap& getIndex() const;
57
58 const Acts::GeometryContext& getNominalContext() const;
59
60 bool isBuilt() const;
61
64};
65
69
72std::vector<o2::framework::ServiceSpec> defaultServicesWithActsGeometry();
73
74} // namespace o2::acts
75
76#endif // ALICEO2_ACTS_ACTSGEOMETRYSERVICE_H
Lookup between O2 sensor indices and ACTS surfaces.
Process-wide provider of the ACTS tracking geometry.
static TrackingGeometryManager & getManager()
Escape hatch for configuration (builder, material map) from init().
const SurfaceIndexMap & getIndex() const
const Acts::GeometryContext & getNominalContext() const
const Acts::TrackingGeometry & getGeometry() const
std::shared_ptr< const Acts::TrackingGeometry > getGeometryShared() const
static TrackingGeometryManager & instance()
o2::framework::ServiceSpec actsGeometryServiceSpec()
std::vector< o2::framework::ServiceSpec > defaultServicesWithActsGeometry()