| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

RichDetectorType.cpp

Go to the documentation of this file.
00001 
00002 //-----------------------------------------------------------------------------
00013 //-----------------------------------------------------------------------------
00014 
00015 // local
00016 #include "Kernel/RichDetectorType.h"
00017 
00018 // boost
00019 #include "boost/assign/list_of.hpp"
00020 
00021 // Text conversion for DetectorType enumeration
00022 std::string Rich::text( const Rich::DetectorType detector )
00023 {
00024   switch( detector )
00025   {
00026   case Rich::Rich1:              return "Rich1";
00027   case Rich::Rich2:              return "Rich2";
00028   case Rich::InvalidDetector:    return "Invalid Detector";
00029   default:                       return "SHOULD NEVER SEE THIS";
00030   }
00031 }
00032 
00033 const Rich::Detectors & Rich::detectors()
00034 {
00035   static Rich::Detectors dets =
00036     boost::assign::list_of(Rich::Rich1)(Rich::Rich2);
00037   return dets;
00038 }
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:03:13 2011 for LHCbKernel by doxygen 1.4.7