]>
Commit | Line | Data |
---|---|---|
777fcd8b | 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: AliMpCathodType.h,v 1.8 2006/05/24 13:58:07 ivana Exp $ | |
6 | ||
7 | /// \ingroup basic | |
78649106 | 8 | /// \enum AliMp::CathodType |
777fcd8b | 9 | /// Enumeration for refering to cath0 and cath1. |
10 | /// | |
11 | /// \author Ivana Hrivnacova; IPN Orsay | |
12 | ||
13 | #ifndef ALI_MP_CATHOD_TYPE_H | |
14 | #define ALI_MP_CATHOD_TYPE_H | |
15 | ||
16 | #include <Rtypes.h> | |
17 | #include <TString.h> | |
18 | ||
19 | namespace AliMp { | |
20 | ||
21 | enum CathodType | |
22 | { | |
23 | kCath0, ///< cathod 0 | |
24 | kCath1 ///< cathod 1 | |
25 | }; | |
26 | ||
27 | /// Convert integer number in enum; | |
28 | AliMp::CathodType GetCathodType(Int_t cathodNumber); | |
29 | ||
30 | /// Return name for given cathodType | |
31 | TString CathodTypeName(AliMp::CathodType cathodType); | |
32 | ||
33 | /// Return the other cathod type | |
34 | AliMp::CathodType OtherCathodType(AliMp::CathodType cathodType); | |
35 | ||
36 | } | |
37 | ||
38 | #endif //ALI_MP_CATHOD_TYPE_H |