ATLAS Offline Software
TangentToCircles.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef DCMATH_TANGENTTOCIRCLES_H
6 #define DCMATH_TANGENTTOCIRCLES_H
7 
8 #include <cmath>
9 #include <vector>
10 
13 
14 namespace TrkDriftCircleMath {
15 
17  public:
18  typedef std::vector<Line> LineVec;
19 
20  public:
21  TangentToCircles() : m_debug(false) {}
22 
23  static LineVec tangentLines(const DriftCircle& dc1, const DriftCircle& dc2) ;
24 
25  void debug(bool debug) { m_debug = debug; }
26 
27  private:
28  bool m_debug;
29  };
30 
31 } // namespace TrkDriftCircleMath
32 
33 #endif
TrkDriftCircleMath
Function object to check whether two Segments are sub/super sets or different.
Definition: IMdtSegmentFinder.h:13
TrkDriftCircleMath::TangentToCircles::tangentLines
static LineVec tangentLines(const DriftCircle &dc1, const DriftCircle &dc2)
Definition: TangentToCircles.cxx:11
DriftCircle.h
TrkDriftCircleMath::DriftCircle
This class represents a drift time measurement.
Definition: DriftCircle.h:22
Line.h
TrkDriftCircleMath::TangentToCircles::m_debug
bool m_debug
Definition: TangentToCircles.h:28
TrkDriftCircleMath::TangentToCircles::TangentToCircles
TangentToCircles()
Definition: TangentToCircles.h:21
TrkDriftCircleMath::TangentToCircles::debug
void debug(bool debug)
Definition: TangentToCircles.h:25
TrkDriftCircleMath::TangentToCircles
Definition: TangentToCircles.h:16
TrkDriftCircleMath::TangentToCircles::LineVec
std::vector< Line > LineVec
Definition: TangentToCircles.h:18