GENIEGenerator
Loading...
Searching...
No Matches
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 <c.andreopoulos \at cern.ch> University of Liverpool
Created:\n October 22, 2005
License:\n Copyright (c) 2003-2025, 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

◆ AsString()

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 }
@ kAlgCmpDiffConfig
Definition AlgCmp.h:31
@ kAlgCmpIdentical
Definition AlgCmp.h:30
@ kAlgCmpUnknown
Definition AlgCmp.h:29
@ kAlgCmpDiffAlg
Definition AlgCmp.h:32

References genie::kAlgCmpDiffAlg, genie::kAlgCmpDiffConfig, genie::kAlgCmpIdentical, and genie::kAlgCmpUnknown.


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