39 case DN_CUORE: { s =
"Cuore";
break; }
40 case DN_HALLA: { s =
"HallA";
break; }
41 case DN_HALLC: { s =
"HallC";
break; }
46 default: { s =
"UNKNOWN";
break; }
55 int digit = (run/100000);
56 if(digit >= 0 && digit < 9) {
63 std::stringstream msg;
64 msg<<
"Cannot convert run: \""<<run<<
"\" into run detector name";
65 err.SetDescription(__FILE__,__LINE__,msg.str());
DetectorName_
possible detector names
class wrapper to DetectorName_
std::string AsString() const
convert to string
DetectorName_ fDetectorName
QError Set(const int run)
convert from run number
const DetectorName & operator=(const DetectorName &rhs)
operator =
error class with error type and description