ATLAS Offline Software
Loading...
Searching...
No Matches
TrackingGeometryTest.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6// TrackingGeometryTest.h, (c) ATLAS Detector software
8
9#ifndef TRKDETDESCRUNITTESTS_TRACKINGGEOMETRYTEST_H
10#define TRKDETDESCRUNITTESTS_TRACKINGGEOMETRYTEST_H
11
12// Athena & Gaudi includes
13#include "GaudiKernel/ServiceHandle.h"
14#include "GaudiKernel/ToolHandle.h"
15// Trk includes
19
20#ifdef TRKDETDESCR_MEMUSAGE
22#endif
23
24namespace Trk {
25
26 class TrackingGeometry;
27 class TrackingVolume;
28
36
38 public:
39
41 using TrkDetDescrUnitTestBase::TrkDetDescrUnitTestBase;
42
43 /* specify the test here */
44 StatusCode runTest();
45
46 /* initialize the test, i.e. retrieve the TrackingGeometry Svc */
47 StatusCode initializeTest();
48
49
50 private:
51#ifdef TRKDETDESCR_MEMUSAGE
52 Trk::MemoryLogger m_memoryLogger{};
53#endif
54 bool m_executed = false;
55
57 {this, "TrackingGeometrySvc", "TrackingGeometrySvc/AtlasTrackingGeometrySvc",
58 "Service handle for retrieving the TrackingGeometry"};
60 std::string m_trackingGeometryName = "AtlasTrackingGeometry";
61 ToolHandleArray<Trk::IGeometryProcessor> m_trackingGeometryProcessors
62 {this, "TrackingGeometryProcessors", {},
63 "Tool to write out a Display format for external viewers"};
64
65 };
66}
67
68#endif
A small helper class looking at /proc/<PID>status.
Test to build the TrackingGeometry and process it with analizers, thosw are of type IGeometryProcesso...
const TrackingGeometry * m_trackingGeometry
The TrackingGeometry to be retrieved.
ToolHandleArray< Trk::IGeometryProcessor > m_trackingGeometryProcessors
ServiceHandle< Trk::ITrackingGeometrySvc > m_trackingGeometrySvc
bool m_executed
Make sure it only runs once.
The TrackingGeometry class is the owner of the constructed TrackingVolumes.
Full Volume description used in Tracking, it inherits from Volume to get the geometrical structure,...
Base class for all unit tests in the TrkDetDescr package, gives access to gaussian and flat random nu...
Ensure that the ATLAS eigen extensions are properly loaded.