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

AltENuFlavour.h

Go to the documentation of this file.
00001 
00002 // $Id: AltENuFlavour.h,v 1.3 2006/06/15 05:34:07 rhatcher Exp $
00003 //
00004 // AltENuFlavour.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_NU_FLAVOUR_H_
00013 #define _ALT_E_NU_FLAVOUR_H_
00014 
00015 #ifndef ROOT_Rtypes
00016 #if !defined(__CINT__) || defined(__MAKECINT__)
00017 #include "Rtypes.h"
00018 #endif
00019 #endif
00020 
00021 namespace AltENuFlavour
00022 {
00023 
00024   typedef enum ENuFlavour {
00025        eUnspecified  = 0,
00026        eNuE          = 1,
00027        eNuMu         = 2,
00028        eNuTau        = 3
00029   } NuFlavour_t;
00030 
00031   inline const char * asString(NuFlavour_t flavour) {
00032      switch(flavour) {
00033      case eUnspecified : return "unspecified"; break;
00034      case eNuE         : return "nu_e";        break;
00035      case eNuMu        : return "nu_mu";       break;
00036      case eNuTau       : return "nu_tau";      break;
00037      }
00038      return "unkwown enumeration";
00039   }
00040 
00041 }
00042 
00043 #endif // _ALT_E_NU_FLAVOUR_H_

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