Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AltEWeakCurrent.h

Go to the documentation of this file.
00001 
00002 // $Id: AltEWeakCurrent.h,v 1.3 2006/06/15 05:34:07 rhatcher Exp $
00003 //
00004 // AltNeuralNetEnum.h
00005 //    -- Enumerations used by Alt package Neural Nets
00006 //
00007 // Costas Andreopoulos <C.V.Andreopoulos@rl.ac.uk>
00008 // CCLRC, Rutherford Appleton Laboratory
00009 // July 01, 2003
00011 
00012 #ifndef _ALT_E_WEAK_CURRENT_H_
00013 #define _ALT_E_WEAK_CURRENT_H_
00014 
00015 #ifndef ROOT_Rtypes
00016 #if !defined(__CINT__) || defined(__MAKECINT__)
00017 #include "Rtypes.h"
00018 #endif
00019 #endif
00020 
00021 namespace AltEWeakCurrent
00022 {
00023 
00024   typedef enum EWeakCurrent {
00025        eUnspecified = 0,
00026        eNC          = 1,
00027        eCC          = 2
00028   } WeakCurrent_t;
00029 
00030   inline const char * asString(WeakCurrent_t current) {
00031      switch(current) {
00032      case eUnspecified : return "unspecified";     break;
00033      case eNC          : return "neutral current"; break;
00034      case eCC          : return "charge current";  break;
00035      }
00036      return "unkown enumeration";
00037   }
00038 
00039 }
00040 
00041 #endif // _ALT_E_WEAK_CURRENT_H_

Generated on Mon Feb 15 11:06:21 2010 for loon by  doxygen 1.3.9.1