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

AltEInteractionType.h

Go to the documentation of this file.
00001 
00002 // $Id: AltEInteractionType.h,v 1.3 2006/06/15 05:34:07 rhatcher Exp $
00003 //
00004 // AltEInteractionType.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_INTERACTION_TYPE_H_
00013 #define _ALT_E_INTERACTION_TYPE_H_
00014 
00015 #ifndef ROOT_Rtypes
00016 #if !defined(__CINT__) || defined(__MAKECINT__)
00017 #include "Rtypes.h"
00018 #endif
00019 #endif
00020 
00021 namespace AltEInteractionType
00022 {
00023 
00024   typedef enum EInteractionType {
00025        eUnspecified  = 0,
00026        eNuQES        = 1,
00027        eNuSPP        = 2,
00028        eNuDIS        = 3
00029   } InteractionType_t;
00030 
00031   inline const char * asString(InteractionType_t interaction) {
00032      switch(interaction) {
00033      case eUnspecified : return "unspecified"; break;
00034      case eNuQES       : return "neutrino quasi-elastic scattering";  break;
00035      case eNuSPP       : return "neutrino single pion production";    break;
00036      case eNuDIS       : return "neutrino deep inelastic scattering"; break;
00037      }
00038      return "unkown enumeration";
00039   }
00040 
00041 }
00042 
00043 #endif // _ALT_E_INTERACTION_TYPE_H_

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