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

#include "/cvmfs/nova.opensciencegrid.org/externals/genie/v3_00_06_p01a/Linux64bit+3.10-2.17-e19-debug/GENIE-Generator/src/Framework/GHEP/GHepFlags.h"

Static Public Member Functions

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

Detailed Description

Definition at line 39 of file GHepFlags.h.

Member Function Documentation

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

Definition at line 43 of file GHepFlags.h.

References genie::kBelowThrERF, genie::kBelowThrNRF, genie::kDecayErr, genie::kGenericErr, genie::kHadroSysGenErr, genie::kKineGenErr, genie::kLeptoGenErr, and genie::kPauliBlock.

Referenced by genie::GHepRecord::Print().

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

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