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

Background.h

Go to the documentation of this file.
00001 
00002 // $Id: Background.h,v 1.2 2008/01/11 23:27:48 boehm Exp $
00003 //
00004 // Background
00005 //
00006 // Background defines Background_t which is an enumeration of the
00007 // possible nue signal and background
00008 //
00009 // Author: C. Smith
00010 //
00012 
00013 #ifndef BACKGROUND_H
00014 #define BACKGROUND_H
00015 
00016 #ifndef ROOT_Rtypes
00017 #if !defined(__CINT__) || defined(__MAKECINT__)
00018 #include "Rtypes.h"
00019 #endif
00020 #endif
00021 
00022 namespace Background {
00023 
00024   typedef enum EBackground {
00025     kNueCC    = 0,
00026     kNC       = 1,
00027     kNuMuCC   = 2,
00028     kBNueCC   = 3, 
00029     kNuTauCC  = 4,
00030     kPiBNueCC = 5,
00031     kKaBNueCC = 6,
00032     kSelCC    = 7,
00033     kUnknown  = 8
00034   } Background_t;
00035 
00036   // no ctor or dtor's - this class consists of only static members
00037 
00038   // Translation enum to/from character strings
00039   const Char_t*             AsString(Background_t background);
00040   Background::Background_t  StringToEnum(const Char_t* chars);
00041   Background::Background_t  TranslateFromMC(Int_t iaction,Int_t inu,
00042                                             Int_t inunoosc,Int_t parentid=0);
00043   Background::Background_t  TranslateFromNueClass(int nueClass);
00044 
00045 }
00046 
00047 #endif // BACKGROUND_H

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