]>
Commit | Line | Data |
---|---|---|
1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
4 | // $Id$ | |
5 | ||
6 | //----------------------------------------------------------------------------- | |
7 | // Enum AliMq::Station12Type | |
8 | // Enumeration for refering to a MUON station12 type. | |
9 | // | |
10 | // Author: Ivana Hrivnacova; IPN Orsay | |
11 | //----------------------------------------------------------------------------- | |
12 | ||
13 | #include "AliMpStation12Type.h" | |
14 | ||
15 | #include "AliLog.h" | |
16 | ||
17 | //_____________________________________________________________________________ | |
18 | TString AliMq::Station12TypeName(AliMq::Station12Type station12Type) | |
19 | { | |
20 | /// Return the station12 name for given station12 type | |
21 | ||
22 | switch ( station12Type ) { | |
23 | case kStation1: return "st1"; break; | |
24 | case kStation2: return "st2"; break; | |
25 | case kNotSt12: return ""; break; | |
26 | } | |
27 | ||
28 | // Cannot reach this line | |
29 | AliFatalGeneral("AliMpStation12Type.h", "Unknown sector station type"); | |
30 | return "invalidStation12"; | |
31 | } |