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 
18  m_phiSpan( 0., 0.),
19  m_zSpan( 0., 0.),
20  m_rSpan( 0., 0.){}
21 
22  std::pair<float,float> const & phiSpan() const { return m_phiSpan; }
23  std::pair<float,float> const & zSpan() const { return m_zSpan; }
24  std::pair<float,float> const & rSpan() const { return m_rSpan; }
25 
26 private:
27  std::pair<float,float> m_phiSpan;
28  std::pair<float,float> m_zSpan;
29  std::pair<float,float> m_rSpan;
30 
31 };
32 
33 #endif
std::pair< float, float > const & zSpan() const
Definition: BoundSpan.h:23
std::pair< float, float > m_zSpan
Definition: BoundSpan.h:28
std::pair< float, float > const & rSpan() const
Definition: BoundSpan.h:24
std::pair< float, float > m_rSpan
Definition: BoundSpan.h:29
std::pair< float, float > const & phiSpan() const
Definition: BoundSpan.h:22
void compute(Surface const &plane)
Definition: BoundSpan.cc:8
BoundSpan()
Definition: BoundSpan.h:17
std::pair< float, float > m_phiSpan
Definition: BoundSpan.h:27