Static Public Member Functions | List of all members
genie::NuclearModel Class Reference

Encapsulates an enumeration of nuclear model types. More...

#include <NuclearModel.h>

Static Public Member Functions

static const char * AsString (NuclearModel_t nucmod)
 

Detailed Description

Encapsulates an enumeration of nuclear model types.

Author
Costas Andreopoulos <constantinos.andreopoulos cern.ch> University of Liverpool & STFC Rutherford Appleton Laboratory

Jun 09, 2009

Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org

Definition at line 45 of file NuclearModel.h.

Member Function Documentation

static const char* genie::NuclearModel::AsString ( NuclearModel_t  nucmod)
inlinestatic

Definition at line 48 of file NuclearModel.h.

48  {
49  switch (nucmod) {
50  case kNucmUndefined: return "Undefined nuclear model"; break;
51  case kNucmFermiGas: return "Fermi gas model"; break;
52  case kNucmLocalFermiGas: return "Local Fermi gas model"; break;
53  case kNucmSpectralFunc: return "Spectral function model"; break;
54  case kNucmEffSpectralFunc: return "Effective spectral function model"; break;
55  default: break;
56  }
57  return " ";
58  }

The documentation for this class was generated from the following file: