ATLAS Offline Software
Loading...
Searching...
No Matches
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
19class TTree;
20
21namespace Trk {
22
23 class TrackingGeometry;
24
25
32
34 public:
35
37 MappingTest(const std::string& name, ISvcLocator* pSvcLocator);
38
39 /* specify the test here */
40 StatusCode runTest();
41
42 /* initialize the test, i.e. retrieve the TrackingGeometry Svc */
43 StatusCode initializeTest();
44
45 /* book the TTree branches */
46 StatusCode bookTree();
47
48 private:
50
54
55 double m_etaCutOff;
56 std::string m_mappingVolumeName;
57
58 std::string m_mappingTreeName;
61
66
74
80
81
82 };
83}
84
85#endif
StatusCode runTest()
TTree * m_unmappedTree
Definition MappingTest.h:75
float m_mappingPositionY
Definition MappingTest.h:63
ServiceHandle< Trk::ITrackingGeometrySvc > m_trackingGeometrySvc
Service handle for retrieving the TrackingGeometry.
Definition MappingTest.h:51
StatusCode initializeTest()
StatusCode bookTree()
float m_assignedPositionZ
Definition MappingTest.h:69
float m_unmappedPositionZ
Definition MappingTest.h:78
float m_unmappedPositionX
Definition MappingTest.h:76
float m_assignmentDistance
Definition MappingTest.h:73
bool m_executed
Make sure it only runs once.
Definition MappingTest.h:49
float m_mappingPositionX
Definition MappingTest.h:62
double m_etaCutOff
do not map beyond this point
Definition MappingTest.h:55
std::string m_mappingTreeDescription
Definition MappingTest.h:59
float m_assignedCorrection
Definition MappingTest.h:71
float m_mappingPositionR
Definition MappingTest.h:65
float m_assignedPositionY
Definition MappingTest.h:68
TTree * m_mappingTree
Definition MappingTest.h:60
float m_assignedPositionR
Definition MappingTest.h:70
float m_mappingPositionZ
Definition MappingTest.h:64
MappingTest(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
float m_unmappedPositionY
Definition MappingTest.h:77
const TrackingGeometry * m_trackingGeometry
The TrackingGeometry to be retrieved.
Definition MappingTest.h:52
std::string m_mappingVolumeName
only map within this volume
Definition MappingTest.h:56
std::string m_trackingGeometryName
The Name of the TrackingGeometry.
Definition MappingTest.h:53
float m_unmappedPositionR
Definition MappingTest.h:79
std::string m_mappingTreeName
Definition MappingTest.h:58
float m_assignedPositionX
Definition MappingTest.h:67
The TrackingGeometry class is the owner of the constructed TrackingVolumes.
TrkDetDescrUnitTestBase(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Ensure that the ATLAS eigen extensions are properly loaded.