ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
SCT_ReadoutGeometry
SCT_ReadoutGeometry
SCT_ForwardPolarPosition.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// SCT_ForwardPolarPosition.h
8
// (c) ATLAS Detector software
10
11
#ifndef INDETREADOUTGEOMETRY_SCT_FORWARDPOLARPOSITION_H
12
#define INDETREADOUTGEOMETRY_SCT_FORWARDPOLARPOSITION_H
13
14
#include <string>
15
16
namespace
InDetDD
{
17
25
class
SCT_ForwardPolarPosition
{
26
27
public
:
28
29
// Implicit constructor
30
SCT_ForwardPolarPosition
();
31
32
// Copy constructor:
33
SCT_ForwardPolarPosition
(
const
SCT_ForwardPolarPosition
&polar);
34
38
SCT_ForwardPolarPosition
(
const
double
r
,
const
double
theta
);
39
40
// Destructor:
41
virtual
~SCT_ForwardPolarPosition
() =
default
;
42
43
// Assignment operator:
44
SCT_ForwardPolarPosition
&
operator=
(
const
SCT_ForwardPolarPosition
&polar);
45
47
// Const methods:
49
51
double
r
()
const
;
52
54
double
theta
()
const
;
55
56
//Comparison operator
57
virtual
bool
operator==
(
const
SCT_ForwardPolarPosition
&polar)
const
;
58
59
//Print method:
60
virtual
std::string
print
()
const
;
61
63
// Private data:
65
private
:
66
double
m_r
;
// r coordinate of point
67
double
m_theta
;
// theta coordinate of point
68
};
69
71
// Inline methods:
73
74
inline
double
SCT_ForwardPolarPosition::r
()
const
75
{
76
return
m_r
;
77
}
78
79
inline
double
SCT_ForwardPolarPosition::theta
()
const
80
{
81
return
m_theta
;
82
}
83
84
}
// namespace InDetDD
85
86
#endif
// INDETREADOUTGEOMETRY_SCT_FORWARDPOLARPOSITION_H
87
88
InDetDD::SCT_ForwardPolarPosition::theta
double theta() const
theta coordinate of point:
Definition
SCT_ForwardPolarPosition.h:79
InDetDD::SCT_ForwardPolarPosition::SCT_ForwardPolarPosition
SCT_ForwardPolarPosition()
Definition
SCT_ForwardPolarPosition.cxx:20
InDetDD::SCT_ForwardPolarPosition::operator==
virtual bool operator==(const SCT_ForwardPolarPosition &polar) const
Definition
SCT_ForwardPolarPosition.cxx:50
InDetDD::SCT_ForwardPolarPosition::r
double r() const
r coordinate of point:
Definition
SCT_ForwardPolarPosition.h:74
InDetDD::SCT_ForwardPolarPosition::~SCT_ForwardPolarPosition
virtual ~SCT_ForwardPolarPosition()=default
InDetDD::SCT_ForwardPolarPosition::m_theta
double m_theta
Definition
SCT_ForwardPolarPosition.h:67
InDetDD::SCT_ForwardPolarPosition::print
virtual std::string print() const
Definition
SCT_ForwardPolarPosition.cxx:56
InDetDD::SCT_ForwardPolarPosition::m_r
double m_r
Definition
SCT_ForwardPolarPosition.h:66
InDetDD::SCT_ForwardPolarPosition::operator=
SCT_ForwardPolarPosition & operator=(const SCT_ForwardPolarPosition &polar)
Definition
SCT_ForwardPolarPosition.cxx:40
InDetDD::SCT_ForwardPolarPosition::SCT_ForwardPolarPosition
SCT_ForwardPolarPosition(const SCT_ForwardPolarPosition &polar)
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
Generated on
for ATLAS Offline Software by
1.17.0