GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
genie::GHepStatus Class Reference

GHepParticle Status. More...

#include <GHepStatus.h>

Static Public Member Functions

static const char * AsString (GHepStatus_t Ist)
 

Detailed Description

GHepParticle Status.

Author
Costas Andreopoulos <c.andreopoulos cern.ch> University of Liverpool
Created:
November 20, 2004
License:
Copyright (c) 2003-2024, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org

Definition at line 43 of file GHepStatus.h.

Member Function Documentation

static const char* genie::GHepStatus::AsString ( GHepStatus_t  Ist)
inlinestatic

Definition at line 46 of file GHepStatus.h.

References genie::kIStCorrelatedNucleon, genie::kIStDecayedState, genie::kIStDISPreFragmHadronicState, genie::kIStFinalStateNuclearRemnant, genie::kIStHadronInTheNucleus, genie::kIStInitialState, genie::kIStIntermediateState, genie::kIStNucleonClusterTarget, genie::kIStNucleonTarget, genie::kIStPreDecayResonantState, genie::kIStStableFinalState, and genie::kIStUndefined.

46  {
47  switch (Ist) {
48  case kIStUndefined:
49  return "[undefined status]";
50  break;
51  case kIStInitialState:
52  return "[initial state]";
53  break;
55  return "[stable final state]";
56  break;
58  return "[intermediate state]";
59  break;
60  case kIStDecayedState:
61  return "[decayed state]";
62  break;
64  return "[other energetic initial state nucleons]";
65  break;
66  case kIStNucleonTarget:
67  return "[nucleon target]";
68  break;
70  return "[DIS pre-fragm. hadronic state]";
71  break;
73  return "[resonant pre-decayed state]";
74  break;
76  return "[hadron in the nucleus]";
77  break;
79  return "[nuclear remnant]";
80  break;
82  return "[nucleon cluster target]";
83  break;
84  default: break;
85  }
86  return "[-]";
87  }

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