INukeMode.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::IntranukeMode
5 
6 \brief An enumeration of intranuke modes
7 
8 \author Steve Dytman <dytman+@pitt.edu>, Pittsburgh Univ.
9  Hugh Gallagher <gallag@minos.phy.tufts.edu>, Tufts Univ.
10  Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>, Rutherford Lab.
11 
12 \created October 3, 2006
13 
14 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
15  For the full text of the license visit http://copyright.genie-mc.org
16 
17 */
18 //____________________________________________________________________________
19 
20 #ifndef _INTRANUKE_MODE_H_
21 #define _INTRANUKE_MODE_H_
22 
23 #include <string>
24 
25 using std::string;
26 
27 namespace genie {
28 
29 typedef enum EINukeMode {
30 
34 
35 } INukeMode_t;
36 
37 class INukeMode {
38 
39 public:
40  //__________________________________________________________________________
41  static string AsString(INukeMode_t mode) {
42  switch (mode) {
43  case kIMdUndefined: return "** Undefined Intranuke mode **"; break;
44  case kIMdHN: return "hN Intranuke mode"; break;
45  case kIMdHA: return "hA Intranuke mode"; break;
46  default: break;
47  }
48  return "** Undefined Intranuke mode ** ";
49  }
50  //__________________________________________________________________________
51 };
52 
53 } // genie
54 #endif // _INTRANUKE_MODE_H_
static string AsString(INukeMode_t mode)
Definition: INukeMode.h:41
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
std::string string
Definition: nybbler.cc:12
EINukeMode
Definition: INukeMode.h:29
enum genie::EINukeMode INukeMode_t