ATLAS Offline Software
Loading...
Searching...
No Matches
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
16namespace InDetDD {
17
26
27 public:
28
29 // Implicit constructor
31
32 // Copy constructor:
34
38 SCT_ForwardPolarPosition(const double r,const double theta);
39
40 // Destructor:
41 virtual ~SCT_ForwardPolarPosition() = default;
42
43 // Assignment operator:
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
double theta() const
theta coordinate of point:
virtual bool operator==(const SCT_ForwardPolarPosition &polar) const
double r() const
r coordinate of point:
virtual ~SCT_ForwardPolarPosition()=default
SCT_ForwardPolarPosition & operator=(const SCT_ForwardPolarPosition &polar)
SCT_ForwardPolarPosition(const SCT_ForwardPolarPosition &polar)
Message Stream Member.