]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpStationType.cxx
Adding comment lines to class description needed for Root documentation,
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpStationType.cxx
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 // $Id$
5 // $MpId: AliMpStationType.h,v 1.9 2006/05/24 13:58:07 ivana Exp $
6
7 //-----------------------------------------------------------------------------
8 // \enum AliMpStationType
9 // Enumeration for refering to a MUON station
10 //
11 // Author: David Guez, Ivana Hrivnacova; IPN Orsay
12 //-----------------------------------------------------------------------------
13  
14 #include "AliMpStationType.h"
15
16 #include "AliLog.h" 
17
18 //_____________________________________________________________________________
19 TString AliMp::StationTypeName(AliMp::StationType stationType)
20 {
21   switch ( stationType ) {
22     case kStation1:       return "st1";     break;
23     case kStation2:       return "st2";     break;
24     case kStation345:     return "slat";    break;
25     case kStationTrigger: return "trigger"; break;
26   }
27   
28   // Cannot reach this line
29   AliFatalGeneral("AliMpStationType.h", "Unknown station type"); 
30   return "invalidStation";
31 }