]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpStationType.cxx
In mapping:
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpStationType.cxx
CommitLineData
6e045b40 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
3d1463c8 7//-----------------------------------------------------------------------------
6e045b40 8// \enum AliMpStationType
9// Enumeration for refering to a MUON station
10//
11// Author: David Guez, Ivana Hrivnacova; IPN Orsay
3d1463c8 12//-----------------------------------------------------------------------------
6e045b40 13
14#include "AliMpStationType.h"
15
16#include "AliLog.h"
17
18//_____________________________________________________________________________
19TString AliMp::StationTypeName(AliMp::StationType stationType)
20{
21 switch ( stationType ) {
f3ed9a44 22 case kStation12: return "st12"; break;
6e045b40 23 case kStation345: return "slat"; break;
24 case kStationTrigger: return "trigger"; break;
25 }
26
27 // Cannot reach this line
28 AliFatalGeneral("AliMpStationType.h", "Unknown station type");
29 return "invalidStation";
30}