ATLAS Offline Software
TrackingGeometryTest.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 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 
24 namespace Trk {
25 
26  class TrackingGeometry;
27  class TrackingVolume;
28 
38  public:
39 
41  TrackingGeometryTest(const std::string& name, ISvcLocator* pSvcLocator);
42 
43  /* specify the test here */
45 
46  /* initialize the test, i.e. retrieve the TrackingGeometry Svc */
48 
49 
50  private:
51 #ifdef TRKDETDESCR_MEMUSAGE
52  Trk::MemoryLogger m_memoryLogger;
53 #endif
54  bool m_executed;
55 
58  std::string m_trackingGeometryName;
59  ToolHandleArray<Trk::IGeometryProcessor> m_trackingGeometryProcessors;
60 
61  };
62 }
63 
64 #endif
Trk::TrackingGeometryTest::m_trackingGeometrySvc
ServiceHandle< Trk::ITrackingGeometrySvc > m_trackingGeometrySvc
Service handle for retrieving the TrackingGeometry.
Definition: TrackingGeometryTest.h:56
Trk::TrkDetDescrUnitTestBase
Definition: TrkDetDescrUnitTestBase.h:27
Trk::TrackingGeometryTest::TrackingGeometryTest
TrackingGeometryTest(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition: TrackingGeometryTest.cxx:22
Trk::MemoryLogger
Definition: MemoryLogger.h:31
Trk::TrackingGeometryTest::m_trackingGeometryName
std::string m_trackingGeometryName
The Name of the TrackingGeometry.
Definition: TrackingGeometryTest.h:58
Trk::TrackingGeometryTest
Definition: TrackingGeometryTest.h:37
Trk::TrackingGeometry
Definition: TrackingGeometry.h:67
Trk::TrackingGeometryTest::m_trackingGeometryProcessors
ToolHandleArray< Trk::IGeometryProcessor > m_trackingGeometryProcessors
Tool to write out a Display format for external viewers.
Definition: TrackingGeometryTest.h:59
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MemoryLogger.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
IGeometryProcessor.h
Trk::TrackingGeometryTest::m_trackingGeometry
const TrackingGeometry * m_trackingGeometry
The TrackingGeometry to be retrieved.
Definition: TrackingGeometryTest.h:57
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrkDetDescrUnitTestBase.h
ITrackingGeometrySvc.h
Trk::TrackingGeometryTest::m_executed
bool m_executed
Make sure it only runs once.
Definition: TrackingGeometryTest.h:54
Trk::TrackingGeometryTest::runTest
StatusCode runTest()
Definition: TrackingGeometryTest.cxx:74
Trk::TrackingGeometryTest::initializeTest
StatusCode initializeTest()
Definition: TrackingGeometryTest.cxx:39
ServiceHandle< Trk::ITrackingGeometrySvc >