]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpCathodType.cxx
MUON + CheckCompiler
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpCathodType.cxx
diff --git a/MUON/mapping/AliMpCathodType.cxx b/MUON/mapping/AliMpCathodType.cxx
deleted file mode 100644 (file)
index 9a84653..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
-
-// $Id$
-// $MpId: AliMpCathodType.h,v 1.8 2006/05/24 13:58:07 ivana Exp $
-
-//-----------------------------------------------------------------------------
-// \ingroup basic
-// \enum AliMpCathodType
-// Enumeration for refering to cath0 and cath1.
-//
-// \author Ivana Hrivnacova; IPN Orsay
-//-----------------------------------------------------------------------------
-#include "AliMpCathodType.h"
-
-#include "AliLog.h"
-
-//_____________________________________________________________________________
-AliMp::CathodType AliMp::GetCathodType(Int_t cathodNumber)
-{
-/// Return cathod type for a given cathod number of Int_t type
-
-  switch ( cathodNumber ) {
-    case kCath0:  return kCath0;  break;
-    case kCath1:  return kCath1;  break;
-    default:  
-      // Should reach this line
-      AliErrorGeneral("AliMpCathodType.h", "Wrong cathod number"); 
-      return kCath0;
-  }
-  
-  // Should reach this line
-  AliErrorGeneral("AliMpCathodType.h", "Wrong cathod number"); 
-  return kCath0;
-}       
-
-//_____________________________________________________________________________
-TString AliMp::CathodTypeName(AliMp::CathodType cathodType)
-{
-/// Return cathod type name for a given cathod type
-
-  switch ( cathodType ) {
-    case kCath0:  return "cath0";  break;
-    case kCath1:  return "cath1"; break;
-  }
-  
-  // Cannot reach this line
-  AliFatalGeneral("AliMpCathodType.h", "Unknown cathod type"); 
-  return "invalidCathod";
-}       
-
-//_____________________________________________________________________________
-AliMp::CathodType AliMp::OtherCathodType(AliMp::CathodType cathodType)
-{
-/// Return the other cathod type for a given cathod type
-
-  switch ( cathodType ) {
-    case kCath0: return kCath1;  break;
-    case kCath1: return kCath0;  break;
-  }
-  
-  // Cannot reach this line
-  AliFatalGeneral("AliMpCathodType.h", "Unknown cathod type"); 
-  return kCath0;
-}