GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 <c.andreopoulos cern.ch> University of Liverpool
Created:
Jun 09, 2009
License:
Copyright (c) 2003-2024, 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.

References genie::kNucmEffSpectralFunc, genie::kNucmFermiGas, genie::kNucmLocalFermiGas, genie::kNucmSpectralFunc, and genie::kNucmUndefined.

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: