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

Encapsulates an enumeration of possible algorithm comparisons. More...

#include <AlgCmp.h>

Static Public Member Functions

static const char * AsString (AlgCmp_t alg)
 

Detailed Description

Encapsulates an enumeration of possible algorithm comparisons.

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

October 22, 2005

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

Definition at line 37 of file AlgCmp.h.

Member Function Documentation

static const char* genie::AlgCmp::AsString ( AlgCmp_t  alg)
inlinestatic

Definition at line 41 of file AlgCmp.h.

41  {
42  switch (alg) {
43  case kAlgCmpIdentical: return "Algorithm [same], configuration [same]"; break;
44  case kAlgCmpDiffConfig: return "Algorithm [same], configuration [diff]"; break;
45  case kAlgCmpDiffAlg: return "Algorithm [diff]"; break;
46  case kAlgCmpUnknown: return "Undefined algorithm comparison result"; break;
47  default: break;
48  }
49  return " ";
50  }

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