Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SaggedLineSurface.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // SaggedLineSurface.cxx, (c) ATLAS Detector software
8 
9 // Trk
12 
13 // From Dan Levin: MDT
14 // linear density of wire: lambda=wireLinearDensity=19.3 [gm/cm^3] * PI*
15 //(25 *10^-4 )^2 [cm^2] = 378.954 microgram/cm
16 // From Dan Levin: MDT
17 // wireTen=350 for most chambers, 285 gm for some NIKHEF chambers (BOL),
18 
21  m_saggingDescriptor(nullptr),
22  m_saggedLineDirection{}
23 {}
24 
26  const Amg::Transform3D& htrans,
27  double radius,
28  double halez,
30  : Trk::StraightLineSurface(htrans, radius, halez)
31  , m_saggingDescriptor(lsd)
32  , m_saggedLineDirection{}
33 {}
34 
36  : Trk::StraightLineSurface(htrans)
37  , m_saggingDescriptor(nullptr)
38  , m_saggedLineDirection{}
39 {}
40 
42  const Trk::TrkDetElementBase& detelement,
43  const Identifier& id)
44  : Trk::StraightLineSurface(detelement, id)
45  , m_saggingDescriptor()
46  , m_saggedLineDirection{}
47 {}
48 
50  double wireLength, double wireTension, double linearDensity) :
51  Trk::StraightLineSurface(detelement,id),
52  m_saggingDescriptor(new Trk::LineSaggingDescriptor(wireLength, wireTension, linearDensity)), m_saggedLineDirection{}
53 {
54 
55 }
56 
59  m_saggingDescriptor(new Trk::LineSaggingDescriptor(sls.distortionDescriptor())),
60  m_saggedLineDirection{}
61 {}
62 
64 {
65  delete m_saggingDescriptor;
66 }
67 
69 {
70  if (this != &sls ) {
72  delete m_saggingDescriptor;
73  m_saggedLineDirection=sls.m_saggedLineDirection;
74  m_saggingDescriptor=new Trk::LineSaggingDescriptor(sls.distortionDescriptor());
75  }
76  return *this;
77 }
78 
CSV_InDetExporter.new
new
Definition: CSV_InDetExporter.py:145
Trk::SaggedLineSurface::distortionDescriptor
const LineSaggingDescriptor & distortionDescriptor() const
Get the Distortion descriptor
Definition: SaggedLineSurface.h:81
Trk::TrkDetElementBase
Definition: TrkDetElementBase.h:52
Trk::SaggedLineSurface::operator=
Trk::SaggedLineSurface & operator=(const Trk::SaggedLineSurface &sls)
Definition: SaggedLineSurface.cxx:68
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
Trk::LineSaggingDescriptor
Definition: LineSaggingDescriptor.h:31
ParticleGun_SamplingFraction.radius
radius
Definition: ParticleGun_SamplingFraction.py:96
CylinderBounds.h
SaggedLineSurface.h
Trk::SaggedLineSurface
Definition: SaggedLineSurface.h:33
Trk::SaggedLineSurface::SaggedLineSurface
SaggedLineSurface()
Default Constructor - needed for pool and inherited classes.
Definition: SaggedLineSurface.cxx:19
Trk::SaggedLineSurface::~SaggedLineSurface
virtual ~SaggedLineSurface()
Destructor.
Definition: SaggedLineSurface.cxx:63
Trk::SaggedLineSurface::m_saggedLineDirection
CxxUtils::CachedValue< Amg::Vector3D > m_saggedLineDirection
nominal end position
Definition: SaggedLineSurface.h:73
Trk::StraightLineSurface::operator=
StraightLineSurface & operator=(const StraightLineSurface &slsf)
Assignment operator.
Definition: StraightLineSurface.cxx:76
Trk::StraightLineSurface
Definition: StraightLineSurface.h:51
Identifier
Definition: IdentifierFieldParser.cxx:14