ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetAlignTools
InDetSurveyConstraintTool
src
SurveyConstraintPoint.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// Description:
6
// Class SurveyConstraintPoint
7
//
8
// Author List:
9
// Tobias Golling
10
//
11
//------------------------------------------------------------------------
12
#include "
InDetSurveyConstraintTool/SurveyConstraintPoint.h
"
13
14
//----------------
15
// Constructors --
16
//----------------
17
18
SurveyConstraintPoint::SurveyConstraintPoint
( ) {
19
}
20
21
22
SurveyConstraintPoint::SurveyConstraintPoint
(
const
Amg::Vector3D
&
survey
,
23
const
Amg::Vector3D
&
current
)
24
:
m_survey
(
survey
),
25
m_current
(
current
){
26
}
27
28
// Copy Constructor
29
SurveyConstraintPoint::SurveyConstraintPoint
(
const
SurveyConstraintPoint
& other )
30
:
m_survey
(other.
survey
()),
31
m_current
(other.
current
()){
32
}
33
34
//--------------
35
// Destructor --
36
//--------------
37
38
SurveyConstraintPoint::~SurveyConstraintPoint
( ){
39
}
40
41
//-------------
42
// Operators --
43
//-------------
44
45
SurveyConstraintPoint
&
46
SurveyConstraintPoint::operator=
(
const
SurveyConstraintPoint
& rhs){
47
if
(&rhs !=
this
){
48
m_survey
= rhs.
survey
();
49
m_current
= rhs.
current
();
50
}
51
return
*
this
;
52
}
53
54
bool
55
SurveyConstraintPoint::operator==
(
const
SurveyConstraintPoint
& rhs )
const
{
56
return
this
== &rhs;
57
}
58
59
bool
60
SurveyConstraintPoint::operator!=
(
const
SurveyConstraintPoint
& rhs )
const
{
61
return
this
!= &rhs;
62
}
SurveyConstraintPoint.h
SurveyConstraintPoint
Definition
SurveyConstraintPoint.h:25
SurveyConstraintPoint::operator=
SurveyConstraintPoint & operator=(const SurveyConstraintPoint &)
Definition
SurveyConstraintPoint.cxx:46
SurveyConstraintPoint::current
const Amg::Vector3D & current() const
Definition
SurveyConstraintPoint.h:50
SurveyConstraintPoint::SurveyConstraintPoint
SurveyConstraintPoint()
Definition
SurveyConstraintPoint.cxx:18
SurveyConstraintPoint::m_current
Amg::Vector3D m_current
Definition
SurveyConstraintPoint.h:93
SurveyConstraintPoint::m_survey
Amg::Vector3D m_survey
Definition
SurveyConstraintPoint.h:92
SurveyConstraintPoint::operator!=
bool operator!=(const SurveyConstraintPoint &) const
Definition
SurveyConstraintPoint.cxx:60
SurveyConstraintPoint::survey
const Amg::Vector3D & survey() const
Definition
SurveyConstraintPoint.h:49
SurveyConstraintPoint::~SurveyConstraintPoint
virtual ~SurveyConstraintPoint()
Definition
SurveyConstraintPoint.cxx:38
SurveyConstraintPoint::operator==
bool operator==(const SurveyConstraintPoint &) const
Definition
SurveyConstraintPoint.cxx:55
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
Generated on
for ATLAS Offline Software by
1.17.0