Line data Source code
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 0 : switch ( station12Type ) {
23 0 : case kStation1: return "st1"; break;
24 0 : case kStation2: return "st2"; break;
25 0 : case kNotSt12: return ""; break;
26 : }
27 :
28 : // Cannot reach this line
29 0 : AliFatalGeneral("AliMpStation12Type.h", "Unknown sector station type");
30 0 : return "invalidStation12";
31 0 : }
|