ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkDetDescr
TrkDistortedSurfaces
TrkDistortedSurfaces
SaggedLineSurface.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// SaggedLineSurface.h, (c) ATLAS Detector software
8
9
#ifndef TRKDISTORTEDSURFACES_SAGGEDLINESURFACE_H
10
#define TRKDISTORTEDSURFACES_SAGGEDLINESURFACE_H
11
12
// Geo & Maths
13
#include "
GeoPrimitives/GeoPrimitives.h
"
14
// Trk
15
#include "
TrkDistortedSurfaces/LineSaggingDescriptor.h
"
16
#include "
TrkSurfaces/StraightLineSurface.h
"
17
#include "
CxxUtils/CachedValue.h
"
18
namespace
Trk
{
19
20
class
TrkDetElementBase
;
21
30
31
class
SaggedLineSurface
final
32
:
public
StraightLineSurface
33
{
34
public
:
36
SaggedLineSurface
();
37
39
SaggedLineSurface
(
const
Amg::Transform3D
& htrans,
40
double
radius,
41
double
halez,
42
LineSaggingDescriptor
* lsd);
43
44
SaggedLineSurface
(
const
Amg::Transform3D
& htrans);
45
47
SaggedLineSurface
(
const
TrkDetElementBase
& detelement,
const
Identifier
&
id
);
48
50
SaggedLineSurface
(
51
const
TrkDetElementBase
& detelement,
52
const
Identifier
&
id
,
53
double
wireLength,
54
double
wireTension,
55
double
linearDensity);
56
58
SaggedLineSurface
(
const
SaggedLineSurface
& sls);
59
61
virtual
~SaggedLineSurface
();
62
63
Trk::SaggedLineSurface
&
operator=
(
const
Trk::SaggedLineSurface
& sls);
64
66
const
StraightLineSurface
&
surfaceRepresentation
()
const
;
67
69
const
LineSaggingDescriptor
&
distortionDescriptor
()
const
;
70
71
protected
:
72
LineSaggingDescriptor
*
m_saggingDescriptor
;
73
CxxUtils::CachedValue<Amg::Vector3D>
m_saggedLineDirection
;
74
};
75
77
inline
const
StraightLineSurface
&
SaggedLineSurface::surfaceRepresentation
()
const
78
{
return
(*
this
); }
79
81
inline
const
LineSaggingDescriptor
&
SaggedLineSurface::distortionDescriptor
()
const
82
{
return
(*
m_saggingDescriptor
); }
83
84
}
// end of namespace Trk
85
86
#endif
// TRKDISTORTEDSURFACES_SAGGEDLINESURFACE_H
87
CachedValue.h
Cached value with atomic update.
GeoPrimitives.h
LineSaggingDescriptor.h
StraightLineSurface.h
CxxUtils::CachedValue
Cached value with atomic update.
Definition
CachedValue.h:55
Trk::LineSaggingDescriptor
Fill in documentation.
Definition
LineSaggingDescriptor.h:31
Trk::SaggedLineSurface
The distorted surface itself is the nominal surface.
Definition
SaggedLineSurface.h:33
Trk::SaggedLineSurface::SaggedLineSurface
SaggedLineSurface()
Default Constructor - needed for pool and inherited classes.
Definition
SaggedLineSurface.cxx:19
Trk::SaggedLineSurface::surfaceRepresentation
const StraightLineSurface & surfaceRepresentation() const
Get the Surface representation.
Definition
SaggedLineSurface.h:77
Trk::SaggedLineSurface::m_saggingDescriptor
LineSaggingDescriptor * m_saggingDescriptor
the distortion descriptor
Definition
SaggedLineSurface.h:72
Trk::SaggedLineSurface::distortionDescriptor
const LineSaggingDescriptor & distortionDescriptor() const
Get the Distortion descriptor.
Definition
SaggedLineSurface.h:81
Trk::SaggedLineSurface::operator=
Trk::SaggedLineSurface & operator=(const Trk::SaggedLineSurface &sls)
Definition
SaggedLineSurface.cxx:68
Trk::SaggedLineSurface::m_saggedLineDirection
CxxUtils::CachedValue< Amg::Vector3D > m_saggedLineDirection
nominal end position
Definition
SaggedLineSurface.h:73
Trk::SaggedLineSurface::~SaggedLineSurface
virtual ~SaggedLineSurface()
Destructor.
Definition
SaggedLineSurface.cxx:63
Trk::StraightLineSurface::StraightLineSurface
StraightLineSurface()
Default Constructor - needed for persistency.
Definition
StraightLineSurface.cxx:25
Trk::TrkDetElementBase
This is the base class for all tracking detector elements with read-out relevant information.
Definition
TrkDetElementBase.h:52
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition
GeoPrimitives.h:46
Identifier
Definition
IdentifierFieldParser.cxx:14
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0