ATLAS Offline Software
Tracking
Acts
ActsGeometry
ActsGeometry
ActsTrackingGeometryTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ACTSGEOMETRY_ACTSTRACKINGGEOMETRYTOOL_H
6
#define ACTSGEOMETRY_ACTSTRACKINGGEOMETRYTOOL_H
7
8
// ATHENA
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "GaudiKernel/EventContext.h"
11
#include "GaudiKernel/IInterface.h"
12
#include "GaudiKernel/ServiceHandle.h"
13
#include "
StoreGate/ReadCondHandleKey.h
"
14
15
// PACKAGE
16
#include "
ActsGeometryInterfaces/ActsGeometryContext.h
"
17
#include "
ActsGeometryInterfaces/IActsTrackingGeometryTool.h
"
18
#include "
ActsGeometryInterfaces/IActsTrackingGeometrySvc.h
"
19
20
// ACTS
21
22
namespace
Acts
{
23
class
TrackingGeometry;
24
}
25
26
class
ActsGeometryContext
;
27
28
29
class
ActsTrackingGeometryTool
:
public
extends<AthAlgTool, IActsTrackingGeometryTool>
30
{
31
32
public
:
33
StatusCode
initialize
()
override
;
34
35
ActsTrackingGeometryTool
(
const
std::string &
type
,
const
std::string &
name
,
36
const
IInterface *
parent
);
37
38
virtual
39
std::shared_ptr<const Acts::TrackingGeometry>
40
trackingGeometry
()
const override
;
41
42
virtual
43
const
ActsGeometryContext
&
44
getGeometryContext
(
const
EventContext& ctx)
const override
;
45
const
ActsGeometryContext
&
46
getGeometryContext
()
const override
;
47
48
virtual
const
ActsGeometryContext
&
getNominalGeometryContext
()
const override
;
49
50
private
:
51
ServiceHandle<IActsTrackingGeometrySvc>
m_trackingGeometrySvc
{
this
,
"TrackingGeometrySvc"
,
"ActsTrackingGeometrySvc"
};
52
53
SG::ReadHandleKey<ActsGeometryContext>
m_rchk
{
54
this
,
"ActsAlignmentKey"
,
"ActsAlignment"
,
"cond read key for the alignment"
};
55
};
56
57
#endif
ActsTrackingGeometryTool::getGeometryContext
const ActsGeometryContext & getGeometryContext() const override
Definition:
ActsTrackingGeometryTool.cxx:49
ActsGeometryContext.h
SG::ReadHandleKey< ActsGeometryContext >
ActsTrackingGeometryTool::initialize
StatusCode initialize() override
Definition:
ActsTrackingGeometryTool.cxx:14
Acts
Definition:
ChamberAssembleTool.h:18
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IActsTrackingGeometrySvc.h
AthAlgTool.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
ActsTrackingGeometryTool::ActsTrackingGeometryTool
ActsTrackingGeometryTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
ActsTrackingGeometryTool.cxx:7
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition:
ActsGeometryContext.h:27
ReadCondHandleKey.h
ActsTrackingGeometryTool::getNominalGeometryContext
virtual const ActsGeometryContext & getNominalGeometryContext() const override
Definition:
ActsTrackingGeometryTool.cxx:45
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
ActsTrackingGeometryTool::m_trackingGeometrySvc
ServiceHandle< IActsTrackingGeometrySvc > m_trackingGeometrySvc
Definition:
ActsTrackingGeometryTool.h:51
ActsTrackingGeometryTool::m_rchk
SG::ReadHandleKey< ActsGeometryContext > m_rchk
Definition:
ActsTrackingGeometryTool.h:53
ActsTrackingGeometryTool
Definition:
ActsTrackingGeometryTool.h:30
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
ActsTrackingGeometryTool::trackingGeometry
virtual std::shared_ptr< const Acts::TrackingGeometry > trackingGeometry() const override
Definition:
ActsTrackingGeometryTool.cxx:26
IActsTrackingGeometryTool.h
ServiceHandle< IActsTrackingGeometrySvc >
Generated on Sun Dec 22 2024 21:06:37 for ATLAS Offline Software by
1.8.18