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

#include <GHepFlags.h>

Static Public Member Functions

static const char * Describe (GHepFlag_t flag)
 
static unsigned int NFlags (void)
 

Detailed Description

Definition at line 38 of file GHepFlags.h.

Member Function Documentation

static const char* genie::GHepFlags::Describe ( GHepFlag_t  flag)
inlinestatic

Definition at line 42 of file GHepFlags.h.

43  {
44  switch (flag) {
45  case kGenericErr :
46  return "Generic error";
47  break;
48  case kPauliBlock :
49  return "Pauli-blocked event";
50  break;
51  case kBelowThrNRF :
52  return "E<Ethr in hit nucleon rest frame";
53  break;
54  case kBelowThrERF :
55  return "E<Ethr in hit e- rest frame";
56  break;
57  case kKineGenErr :
58  return "Generic error in kinematic generation";
59  break;
60  case kHadroSysGenErr :
61  return "Generic error in f/s hadronic system generation";
62  break;
63  case kLeptoGenErr :
64  return "Generic error in f/s lepton generation";
65  break;
66  case kDecayErr :
67  return "Generic error during unstable particle decay";
68  break;
69  default:
70  return "Unknown GHEP flag";
71  break;
72  }
73  return "Unknown GHEP flag";
74  }
static unsigned int genie::GHepFlags::NFlags ( void  )
inlinestatic

Definition at line 76 of file GHepFlags.h.

76 { return 16; }

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