ATLAS Offline Software
MappingTest.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 // MappingTest.h, (c) ATLAS Detector software
8 
9 #ifndef TRKDETDESCRUNITTESTS_MAPPINGTEST_H
10 #define TRKDETDESCRUNITTESTS_MAPPINGTEST_H
11 
12 // Athena & Gaudi includes
13 #include "GaudiKernel/ServiceHandle.h"
14 #include "GaudiKernel/ToolHandle.h"
15 // Trk includes
18 
19 class TTree;
20 
21 namespace Trk {
22 
23  class TrackingGeometry;
24 
25 
34  public:
35 
37  MappingTest(const std::string& name, ISvcLocator* pSvcLocator);
38 
39  /* specify the test here */
41 
42  /* initialize the test, i.e. retrieve the TrackingGeometry Svc */
44 
45  /* book the TTree branches */
47 
48  private:
49  bool m_executed;
50 
53  std::string m_trackingGeometryName;
54 
55  double m_etaCutOff;
56  std::string m_mappingVolumeName;
57 
58  std::string m_mappingTreeName;
60  TTree* m_mappingTree;
61 
66 
74 
80 
81 
82  };
83 }
84 
85 #endif
Trk::MappingTest::m_mappingTree
TTree * m_mappingTree
Definition: MappingTest.h:60
Trk::MappingTest::m_mappingVolumeName
std::string m_mappingVolumeName
only map within this volume
Definition: MappingTest.h:56
Trk::MappingTest::m_assignedPositionR
float m_assignedPositionR
Definition: MappingTest.h:70
Trk::MappingTest::m_unmappedPositionZ
float m_unmappedPositionZ
Definition: MappingTest.h:78
Trk::MappingTest::m_assignedPositionX
float m_assignedPositionX
Definition: MappingTest.h:67
Trk::MappingTest
Definition: MappingTest.h:33
Trk::MappingTest::m_trackingGeometryName
std::string m_trackingGeometryName
The Name of the TrackingGeometry.
Definition: MappingTest.h:53
Trk::MappingTest::runTest
StatusCode runTest()
Definition: MappingTest.cxx:124
Trk::TrkDetDescrUnitTestBase
Definition: TrkDetDescrUnitTestBase.h:27
Trk::MappingTest::m_trackingGeometry
const TrackingGeometry * m_trackingGeometry
The TrackingGeometry to be retrieved.
Definition: MappingTest.h:52
Trk::MappingTest::m_trackingGeometrySvc
ServiceHandle< Trk::ITrackingGeometrySvc > m_trackingGeometrySvc
Service handle for retrieving the TrackingGeometry.
Definition: MappingTest.h:51
Trk::MappingTest::m_unmappedPositionR
float m_unmappedPositionR
Definition: MappingTest.h:79
Trk::MappingTest::m_assignmentDistance
float m_assignmentDistance
Definition: MappingTest.h:73
Trk::MappingTest::m_unmappedTree
TTree * m_unmappedTree
Definition: MappingTest.h:75
Trk::MappingTest::m_etaCutOff
double m_etaCutOff
do not map beyond this point
Definition: MappingTest.h:55
Trk::MappingTest::m_assignedPositionY
float m_assignedPositionY
Definition: MappingTest.h:68
Trk::MappingTest::m_unmappedPositionX
float m_unmappedPositionX
Definition: MappingTest.h:76
Trk::MappingTest::m_mappingTreeName
std::string m_mappingTreeName
Definition: MappingTest.h:58
Trk::MappingTest::m_assignedPositionZ
float m_assignedPositionZ
Definition: MappingTest.h:69
Trk::TrackingGeometry
Definition: TrackingGeometry.h:67
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk::MappingTest::m_mappingPositionX
float m_mappingPositionX
Definition: MappingTest.h:62
Trk::MappingTest::bookTree
StatusCode bookTree()
Definition: MappingTest.cxx:76
Trk::MappingTest::m_mappingTreeDescription
std::string m_mappingTreeDescription
Definition: MappingTest.h:59
Trk::MappingTest::m_mappingPositionZ
float m_mappingPositionZ
Definition: MappingTest.h:64
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Trk::MappingTest::m_unmappedPositionY
float m_unmappedPositionY
Definition: MappingTest.h:77
Trk::MappingTest::m_assignedLayerIndex
int m_assignedLayerIndex
Definition: MappingTest.h:72
TrkDetDescrUnitTestBase.h
Trk::MappingTest::initializeTest
StatusCode initializeTest()
Definition: MappingTest.cxx:62
ITrackingGeometrySvc.h
Trk::MappingTest::m_executed
bool m_executed
Make sure it only runs once.
Definition: MappingTest.h:49
Trk::MappingTest::MappingTest
MappingTest(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition: MappingTest.cxx:24
Trk::MappingTest::m_assignedCorrection
float m_assignedCorrection
Definition: MappingTest.h:71
ServiceHandle< Trk::ITrackingGeometrySvc >
Trk::MappingTest::m_mappingPositionR
float m_mappingPositionR
Definition: MappingTest.h:65
Trk::MappingTest::m_mappingPositionY
float m_mappingPositionY
Definition: MappingTest.h:63