ATLAS Offline Software
SurfaceIntersectionTest.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 // IntersectionTest.h, (c) ATLAS Detector software
8 
9 #ifndef TRKDETDESCRUNITTESTS_SURFACEINTERSECTIONTEST_H
10 #define TRKDETDESCRUNITTESTS_SURFACEINTERSECTIONTEST_H
11 
12 // Athena & Gaudi includes
13 #include "GaudiKernel/ServiceHandle.h"
14 #include "GaudiKernel/ToolHandle.h"
15 // Trk includes
18 
19 
20 namespace Trk {
21 
30  public:
31 
33  SurfaceIntersectionTest(const std::string& name, ISvcLocator* pSvcLocator);
34 
35  /* finalize */
37 
38  /* specify the test here */
40 
43 
44  private:
45 
46  ToolHandle<ISurfaceBuilder> m_surfaceBuilder;
47 
50 
51  std::vector<size_t> m_surfaces;
52  std::vector<size_t> m_surfaceAttempts;
53  std::vector<size_t> m_surfaceSuccessful;
54  std::vector<std::string> m_surfaceNames;
55  std::vector<bool> m_surfaceNamesSet;
56 
58  std::string m_treeFolder;
59 
60  };
61 }
62 
63 #endif
ISurfaceBuilder.h
Trk::TrkDetDescrUnitTestBase
Definition: TrkDetDescrUnitTestBase.h:27
Trk::SurfaceIntersectionTest::m_eventCounter
size_t m_eventCounter
Definition: SurfaceIntersectionTest.h:49
Trk::SurfaceIntersectionTest
Definition: SurfaceIntersectionTest.h:29
Trk::SurfaceIntersectionTest::m_surfaceNamesSet
std::vector< bool > m_surfaceNamesSet
Definition: SurfaceIntersectionTest.h:55
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk::SurfaceIntersectionTest::m_surfaceSuccessful
std::vector< size_t > m_surfaceSuccessful
Definition: SurfaceIntersectionTest.h:53
Trk::SurfaceIntersectionTest::m_surfaceAttempts
std::vector< size_t > m_surfaceAttempts
Definition: SurfaceIntersectionTest.h:52
Trk::SurfaceIntersectionTest::SurfaceIntersectionTest
SurfaceIntersectionTest(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition: SurfaceIntersectionTest.cxx:22
Trk::SurfaceIntersectionTest::m_testsPerSurface
size_t m_testsPerSurface
Definition: SurfaceIntersectionTest.h:48
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::SurfaceIntersectionTest::initializeTest
StatusCode initializeTest()
initialize the test, i.e.
Definition: SurfaceIntersectionTest.cxx:57
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
Trk::SurfaceIntersectionTest::m_writeTTree
bool m_writeTTree
Definition: SurfaceIntersectionTest.h:57
Trk::SurfaceIntersectionTest::finalize
StatusCode finalize()
Definition: SurfaceIntersectionTest.cxx:41
TrkDetDescrUnitTestBase.h
Trk::SurfaceIntersectionTest::m_surfaceBuilder
ToolHandle< ISurfaceBuilder > m_surfaceBuilder
Definition: SurfaceIntersectionTest.h:46
Trk::SurfaceIntersectionTest::m_surfaces
std::vector< size_t > m_surfaces
Definition: SurfaceIntersectionTest.h:51
Trk::SurfaceIntersectionTest::runTest
StatusCode runTest()
Definition: SurfaceIntersectionTest.cxx:70
Trk::SurfaceIntersectionTest::m_treeFolder
std::string m_treeFolder
Definition: SurfaceIntersectionTest.h:58
Trk::SurfaceIntersectionTest::m_surfaceNames
std::vector< std::string > m_surfaceNames
Definition: SurfaceIntersectionTest.h:54