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