ATLAS Offline Software
Loading...
Searching...
No Matches
Road.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 __TRK_DRIFT_CICLE_MATH__ROAD_H__
6#define __TRK_DRIFT_CICLE_MATH__ROAD_H__
7
9
10namespace TrkDriftCircleMath {
11
15 class Road {
16 public:
23 Road(const LocVec2D& roadPos, double roadAngle, double chamberAngle, double roadAngularWidth);
24
26 ~Road() = default;
27
29 const LocVec2D& pos() const { return m_pos; }
30
32 double angle() const { return m_angle; }
33
35 double chamberAngle() const { return m_chamberAngle; }
36
38 double width() const { return m_width; }
39
40 private:
42 double m_angle;
44 double m_width;
45 };
46
47} // namespace TrkDriftCircleMath
48
49#endif // __TRK_DRIFT_CICLE_MATH__ROAD_H__
Implementation of 2 dimensional vector class.
Definition LocVec2D.h:16
~Road()=default
destructor
double chamberAngle() const
returns the angle of the line from the chamber center to the IP in local AMDB chamber coordinates
Definition Road.h:35
const LocVec2D & pos() const
returns the position of the road in local coordinates
Definition Road.h:29
double width() const
returns the width angle of the road
Definition Road.h:38
Road(const LocVec2D &roadPos, double roadAngle, double chamberAngle, double roadAngularWidth)
constructor
Definition Road.cxx:9
double angle() const
returns the angle of the road in local coordinates
Definition Road.h:32
Function object to check whether two Segments are sub/super sets or different.