]>
Commit | Line | Data |
---|---|---|
dee1d5f1 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
5f91c9e8 | 4 | // $Id$ |
c0f453df | 5 | // $MpId: AliMpPlaneType.h,v 1.4 2005/10/28 15:03:46 ivana Exp $ |
dee1d5f1 | 6 | |
7 | /// \ingroup basic | |
8 | /// \enum AliMpPlaneType | |
9 | /// Enumeration for refering to bending and non-bending planes. | |
10 | /// | |
11 | /// Authors: David Guez, Ivana Hrivnacova; IPN Orsay | |
5f91c9e8 | 12 | |
13 | #ifndef ALI_MP_PLANE_TYPE_H | |
14 | #define ALI_MP_PLANE_TYPE_H | |
15 | ||
16 | enum AliMpPlaneType | |
17 | { | |
dee1d5f1 | 18 | kBendingPlane, ///< bending plane |
19 | kNonBendingPlane ///< non-bending plane | |
5f91c9e8 | 20 | }; |
21 | ||
d3a2ac14 | 22 | inline |
23 | const char* PlaneTypeName(AliMpPlaneType planeType) | |
24 | { | |
25 | switch ( planeType ) { | |
26 | case kBendingPlane: | |
27 | return "BendingPlane"; | |
28 | break; | |
29 | case kNonBendingPlane: | |
30 | return "NonBendingPlane"; | |
31 | break; | |
c0f453df | 32 | } |
33 | return "invalidPlane"; | |
d3a2ac14 | 34 | } |
35 | ||
5f91c9e8 | 36 | #endif //ALI_MP_PLANE_TYPE_H |