ATLAS Offline Software
Loading...
Searching...
No Matches
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>
10namespace FPTracker{
11
13 public:
15 TransversePoint(double, double);
18 double operator[](unsigned int) const;
19 double& operator[](unsigned int);
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
33 TransversePoint operator*(double, const TransversePoint& lhs);
34 std::ostream& operator<<(std::ostream&, const TransversePoint&);
35}
36#endif
TransversePoint & operator-=(const TransversePoint &rhs)
TransversePoint & operator+=(const TransversePoint &rhs)
Point operator-(const Point &lhs, const Point &rhs)
Point operator+(const Point &lhs, const Point &rhs)
Point operator*(double, const Point &lhs)
std::ostream & operator<<(std::ostream &os, const Beamline &bl)