ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardDetectors
FPTracker
FPTracker
FPTracker/FPTracker/TransversePoint.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef FPTRACKER_TRANSVERSEPOINT_H
6
#define FPTRACKER_TRANSVERSEPOINT_H
7
8
#include <ostream>
9
#include <string>
10
namespace
FPTracker
{
11
12
class
TransversePoint
{
13
public
:
14
TransversePoint
();
15
TransversePoint
(
double
,
double
);
16
TransversePoint
&
operator+=
(
const
TransversePoint
& rhs);
17
TransversePoint
&
operator-=
(
const
TransversePoint
& rhs);
18
double
operator[]
(
unsigned
int
)
const
;
19
double
&
operator[]
(
unsigned
int
);
20
TransversePoint
&
operator*=
(
double
);
21
std::string
str
()
const
;
22
double
x
()
const
;
23
double
y
()
const
;
24
double
mag2
()
const
;
25
double
mag
()
const
;
26
private
:
27
double
m_x
;
28
double
m_y
;
29
};
30
31
TransversePoint
operator+
(
const
TransversePoint
& lhs,
const
TransversePoint
& rhs);
32
TransversePoint
operator-
(
const
TransversePoint
& lhs,
const
TransversePoint
& rhs);
33
TransversePoint
operator*
(
double
,
const
TransversePoint
& lhs);
34
std::ostream&
operator<<
(std::ostream&,
const
TransversePoint
&);
35
}
36
#endif
operator*
ElementConstReference operator*() const
Return a reference to the referenced element.
FPTracker::TransversePoint
Definition
FPTracker/FPTracker/TransversePoint.h:12
FPTracker::TransversePoint::m_x
double m_x
Definition
FPTracker/FPTracker/TransversePoint.h:27
FPTracker::TransversePoint::m_y
double m_y
Definition
FPTracker/FPTracker/TransversePoint.h:28
FPTracker::TransversePoint::mag2
double mag2() const
Definition
FPTracker/src/TransversePoint.cxx:25
FPTracker::TransversePoint::str
std::string str() const
Definition
FPTracker/src/TransversePoint.cxx:66
FPTracker::TransversePoint::y
double y() const
Definition
FPTracker/src/TransversePoint.cxx:17
FPTracker::TransversePoint::mag
double mag() const
Definition
FPTracker/src/TransversePoint.cxx:27
FPTracker::TransversePoint::x
double x() const
Definition
FPTracker/src/TransversePoint.cxx:16
FPTracker::TransversePoint::operator[]
double operator[](unsigned int) const
Definition
FPTracker/src/TransversePoint.cxx:32
FPTracker::TransversePoint::TransversePoint
TransversePoint()
Definition
FPTracker/src/TransversePoint.cxx:11
FPTracker::TransversePoint::operator-=
TransversePoint & operator-=(const TransversePoint &rhs)
Definition
FPTracker/src/TransversePoint.cxx:61
FPTracker::TransversePoint::operator*=
TransversePoint & operator*=(double)
Definition
FPTracker/src/TransversePoint.cxx:19
FPTracker::TransversePoint::operator+=
TransversePoint & operator+=(const TransversePoint &rhs)
Definition
FPTracker/src/TransversePoint.cxx:56
FPTracker
Definition
FPTracker/FPTracker/Beamline.h:12
FPTracker::operator-
Point operator-(const Point &lhs, const Point &rhs)
Definition
FPTracker/src/Point.cxx:103
FPTracker::operator+
Point operator+(const Point &lhs, const Point &rhs)
Definition
FPTracker/src/Point.cxx:98
FPTracker::operator<<
std::ostream & operator<<(std::ostream &os, const Beamline &bl)
Definition
FPTracker/src/Beamline.cxx:163
Generated on
for ATLAS Offline Software by
1.16.1