ATLAS Offline Software
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 
10 namespace 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__
TrkDriftCircleMath
Function object to check whether two Segments are sub/super sets or different.
Definition: IMdtSegmentFinder.h:13
TrkDriftCircleMath::Road::m_width
double m_width
Definition: Road.h:44
TrkDriftCircleMath::Road::chamberAngle
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
TrkDriftCircleMath::Road::m_chamberAngle
double m_chamberAngle
Definition: Road.h:43
TrkDriftCircleMath::LocVec2D
Implementation of 2 dimensional vector class.
Definition: LocVec2D.h:16
TrkDriftCircleMath::Road
TrkDriftCircleMath::Road - encodes the road given to the segment finder in station coordinates.
Definition: Road.h:15
TrkDriftCircleMath::Road::width
double width() const
returns the width angle of the road
Definition: Road.h:38
TrkDriftCircleMath::Road::angle
double angle() const
returns the angle of the road in local coordinates
Definition: Road.h:32
TrkDriftCircleMath::Road::m_angle
double m_angle
Definition: Road.h:42
TrkDriftCircleMath::Road::pos
const LocVec2D & pos() const
returns the position of the road in local coordinates
Definition: Road.h:29
LocVec2D.h
TrkDriftCircleMath::Road::Road
Road(const LocVec2D &roadPos, double roadAngle, double chamberAngle, double roadAngularWidth)
constructor
Definition: Road.cxx:9
TrkDriftCircleMath::Road::m_pos
LocVec2D m_pos
Definition: Road.h:41
TrkDriftCircleMath::Road::~Road
~Road()=default
destructor