ATLAS Offline Software
Loading...
Searching...
No Matches
GeometryEnvelopeTest.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_GEOMETRYENVELOPETEST_H
6#define ACTSGEOMETRY_GEOMETRYENVELOPETEST_H
7
10
11namespace Acts{
12 class Surface;
13}
14
15namespace ActsTrk{
17 public:
19
20 virtual StatusCode initialize() override final;
21 virtual StatusCode execute(const EventContext& ctx) override final;
22 private:
27 StatusCode checkVolume(const Acts::GeometryContext& tgContext,
28 const Acts::TrackingVolume& volume) const;
32 std::vector<Amg::Vector3D> edges(const Acts::GeometryContext& tgContext,
33 const Acts::TrackingVolume& volume) const;
37 std::vector<Amg::Vector3D> vertices(const Acts::GeometryContext& tgContext,
38 const Acts::Surface& surface) const;
40 ServiceHandle<ActsTrk::ITrackingGeometrySvc> m_trackingGeometrySvc{this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"};
41
42 Gaudi::Property<std::string> m_ITkExitVolume{this, "ITkExitVolume", ""};
43
44 Gaudi::Property<std::string> m_caloExitVolume{this, "CaloExitVolume", ""};
45
46 Gaudi::Property<std::string> m_MsExitVolume{this, "MsExitVolume", ""};
47
48 };
49}
50
51#endif
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeometrySvc
The handle to the tracking geometry service.
virtual StatusCode execute(const EventContext &ctx) override final
Execute method.
Gaudi::Property< std::string > m_caloExitVolume
std::vector< Amg::Vector3D > vertices(const Acts::GeometryContext &tgContext, const Acts::Surface &surface) const
Extracts the vertices from a surface.
virtual StatusCode initialize() override final
Gaudi::Property< std::string > m_MsExitVolume
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
StatusCode checkVolume(const Acts::GeometryContext &tgContext, const Acts::TrackingVolume &volume) const
Checks whether all subvolumes are contained in the volume Method recursively called for each subvolum...
std::vector< Amg::Vector3D > edges(const Acts::GeometryContext &tgContext, const Acts::TrackingVolume &volume) const
Extracts the vertices form the TrackingVolume marking its edges.
Gaudi::Property< std::string > m_ITkExitVolume
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...