Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Phi.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/Phi.h"
00002 #include "GaudiKernel/MsgStream.h"
00003 #include <cmath>
00004 namespace FastShower{
00005   const double Phi::s_upperLimit = M_PI;
00006   const double Phi::s_lowerLimit = -M_PI;
00007   const double Phi::s_range = s_upperLimit - s_lowerLimit ;
00008   
00009   MsgStream& operator << (MsgStream& s, const Phi& phi){
00010     s<<setiosflags(std::ios::fixed);
00011     s<<std::setprecision(3);
00012     s
00013       <<std::setw(8)<< phi.lowerLimit()<<" "
00014       <<std::setw(8)<< phi.upperLimit()<<" "
00015       <<std::setw(8)<< phi.range()<<" "
00016       <<std::setw(8)<< phi.val();
00017     return s;
00018   }
00019   MsgStream& operator << (MsgStream& s, const Phi* phi){
00020     return s<<*phi;
00021   }
00022 }//namespace
00023 
00024 
00025 
00026 
00027 

Generated on Tue Mar 18 11:50:03 2003 for FastShowerUtils by doxygen1.3-rc1