CMS 3D CMS Logo

BoundSpan.h
Go to the documentation of this file.
1 #ifndef Geom_BoundSpan_H
2 #define Geom_BoundSpan_H
3 
10 #include <utility>
11 class Surface;
12 
13 class BoundSpan {
14 public:
15  void compute(Surface const& plane);
16 
17  BoundSpan() : m_phiSpan(0., 0.), m_zSpan(0., 0.), m_rSpan(0., 0.) {}
18 
19  std::pair<float, float> const& phiSpan() const { return m_phiSpan; }
20  std::pair<float, float> const& zSpan() const { return m_zSpan; }
21  std::pair<float, float> const& rSpan() const { return m_rSpan; }
22 
23 private:
24  std::pair<float, float> m_phiSpan;
25  std::pair<float, float> m_zSpan;
26  std::pair<float, float> m_rSpan;
27 };
28 
29 #endif
BoundSpan::m_rSpan
std::pair< float, float > m_rSpan
Definition: BoundSpan.h:26
Surface
Definition: Surface.h:36
BoundSpan
Definition: BoundSpan.h:13
BoundSpan::m_phiSpan
std::pair< float, float > m_phiSpan
Definition: BoundSpan.h:24
BoundSpan::phiSpan
std::pair< float, float > const & phiSpan() const
Definition: BoundSpan.h:19
BoundSpan::zSpan
std::pair< float, float > const & zSpan() const
Definition: BoundSpan.h:20
BoundSpan::compute
void compute(Surface const &plane)
Definition: BoundSpan.cc:8
BoundSpan::BoundSpan
BoundSpan()
Definition: BoundSpan.h:17
BoundSpan::m_zSpan
std::pair< float, float > m_zSpan
Definition: BoundSpan.h:25
BoundSpan::rSpan
std::pair< float, float > const & rSpan() const
Definition: BoundSpan.h:21