00001
00002
00013
00014
00015
00016 #include "Kernel/RichDetectorType.h"
00017
00018
00019 #include "boost/assign/list_of.hpp"
00020
00021
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 }