CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/DataFormats/GeometrySurface/interface/BoundSpan.h

Go to the documentation of this file.
00001 #ifndef Geom_BoundSpan_H
00002 #define Geom_BoundSpan_H
00003 
00010 #include <utility>
00011 class Surface;
00012 
00013 class BoundSpan {
00014 public:
00015   void compute(Surface const & plane);
00016 
00017   BoundSpan() :
00018     m_phiSpan( 0., 0.),
00019     m_zSpan(   0., 0.),
00020     m_rSpan(   0., 0.){}
00021   
00022   std::pair<float,float> const & phiSpan() const { return m_phiSpan; }
00023   std::pair<float,float> const & zSpan()   const { return m_zSpan; }
00024   std::pair<float,float> const & rSpan()   const { return m_rSpan; }
00025 
00026 private:
00027   std::pair<float,float> m_phiSpan;
00028   std::pair<float,float> m_zSpan;
00029   std::pair<float,float> m_rSpan;
00030 
00031 };
00032 
00033 #endif