CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DataFormats/GeometryVector/interface/Theta.h

Go to the documentation of this file.
00001 #ifndef GeometryVector_Geom_Theta_h
00002 #define GeometryVector_Geom_Theta_h
00003 
00004 namespace Geom {
00005 
00011   template <class T>
00012   class Theta {
00013   public:
00014 
00016     Theta() {}
00017 
00019     explicit Theta( const T& val) : theValue(val) {}
00020 
00022     operator T() const { return theValue;}
00023 
00025     T value() const { return theValue;}
00026 
00027   private:
00028     T theValue;
00029   };
00030 
00031 }
00032 #endif