]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpPlaneType.h
added headers needed for compilation
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPlaneType.h
index 5ad9bbfd52f1b2f8a77c63f818676624ed2b8250..3f1ddd840dcf8d8cf0ed993741fb38b4341ce9bb 100755 (executable)
@@ -2,21 +2,33 @@
  * See cxx source for full Copyright notice                               */
 
 // $Id$
-// $MpId: AliMpPlaneType.h,v 1.3 2005/08/26 15:43:36 ivana Exp $
+// $MpId: AliMpPlaneType.h,v 1.8 2006/05/24 13:58:07 ivana Exp $
 
 /// \ingroup basic
-/// \enum AliMpPlaneType
+/// \enum AliMp::PlaneType
 /// Enumeration for refering to bending and non-bending planes.
 ///
-/// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+/// \author David Guez, Ivana Hrivnacova; IPN Orsay
  
 #ifndef ALI_MP_PLANE_TYPE_H
 #define ALI_MP_PLANE_TYPE_H
-enum AliMpPlaneType
-{
-  kBendingPlane,    ///< bending plane
-  kNonBendingPlane  ///< non-bending plane
-};
+
+#include <TString.h>
+
+namespace AliMp {
+
+  enum PlaneType
+  {
+    kBendingPlane,    ///< bending plane
+    kNonBendingPlane  ///< non-bending plane
+  };
+
+  /// Return name for given planeType
+  TString PlaneTypeName(AliMp::PlaneType planeType);
+
+
+  /// Return the other plane type
+  AliMp::PlaneType OtherPlaneType(AliMp::PlaneType planeType);
+}  
 
 #endif //ALI_MP_PLANE_TYPE_H