/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ // $Id$ // $MpId: AliMpPlaneType.h,v 1.5 2006/01/11 10:06:32 ivana Exp $ /// \ingroup basic /// \enum AliMpPlaneType /// Enumeration for refering to bending and non-bending planes. /// /// Authors: David Guez, Ivana Hrivnacova; IPN Orsay #ifndef ALI_MP_PLANE_TYPE_H #define ALI_MP_PLANE_TYPE_H #include #include "AliLog.h" enum AliMpPlaneType { kBendingPlane, ///< bending plane kNonBendingPlane ///< non-bending plane }; inline TString PlaneTypeName(AliMpPlaneType planeType) { switch ( planeType ) { case kBendingPlane: return "bp"; break; case kNonBendingPlane: return "nbp"; break; } // Cannot reach this line AliFatalGeneral("AliMpPlaneType.h", "Unknown plane type"); return "invalidPlane"; } #endif //ALI_MP_PLANE_TYPE_H