AliRoot Core  1687b2a (1687b2a)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpStation12Type.cxx
Go to the documentation of this file.
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 //_____________________________________________________________________________
19 {
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 }
TString Station12TypeName(AliMq::Station12Type station12Type)
Return name for given stationType.
value for all non sector stations