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

Enumeration of scattering types. More...

#include <ScatteringType.h>

Static Public Member Functions

static string AsString (ScatteringType_t type)
 

Detailed Description

Enumeration of scattering types.

Author
Costas Andreopoulos <c.andreopoulos cern.ch> University of Liverpool

Changes required to implement the GENIE Boosted Dark Matter module were installed by Josh Berger (Univ. of Wisconsin)

Created:
May 06, 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 62 of file ScatteringType.h.

Member Function Documentation

static string genie::ScatteringType::AsString ( ScatteringType_t  type)
inlinestatic

Definition at line 67 of file ScatteringType.h.

References genie::kScAMNuGamma, genie::kScCoherentElastic, genie::kScCoherentProduction, genie::kScDarkMatterDeepInelastic, genie::kScDarkMatterElastic, genie::kScDarkMatterElectron, genie::kScDeepInelastic, genie::kScDiffractive, genie::kScGlashowResonance, genie::kScIMDAnnihilation, genie::kScInverseBetaDecay, genie::kScInverseMuDecay, genie::kScMEC, genie::kScNorm, genie::kScNuElectronElastic, genie::kScPhotonCoherent, genie::kScPhotonResonance, genie::kScQuasiElastic, genie::kScResonant, genie::kScSingleKaon, genie::kScSinglePion, and genie::kScUnknown.

Referenced by genie::ProcessInfo::ScatteringTypeAsString().

68  {
69  switch (type) {
70  case(kScUnknown) : return "Uknown to GENIE"; break;
71  case(kScQuasiElastic) : return "QES"; break;
72  case(kScSingleKaon) : return "1Kaon"; break;
73  case(kScDeepInelastic) : return "DIS"; break;
74  case(kScResonant) : return "RES"; break;
75  case(kScCoherentProduction) : return "COH"; break;
76  case(kScDiffractive) : return "DFR"; break;
77  case(kScNuElectronElastic) : return "NuEEL"; break;
78  case(kScInverseMuDecay) : return "IMD"; break;
79  case(kScAMNuGamma) : return "AMNuGamma"; break;
80  case(kScMEC) : return "MEC"; break;
81  case(kScCoherentElastic) : return "CEvNS"; break;
82  case(kScInverseBetaDecay) : return "IBD"; break;
83  case(kScGlashowResonance) : return "GLR"; break;
84  case(kScIMDAnnihilation) : return "IMDAnh"; break;
85  case(kScNorm) : return "Norm"; break;
86  case(kScPhotonCoherent) : return "PhotonCOH"; break;
87  case(kScPhotonResonance) : return "PhotonRES"; break;
88  case(kScSinglePion) : return "1Pion"; break;
89  case(kScDarkMatterElastic) : return "DMEL"; break;
90  case(kScDarkMatterDeepInelastic) : return "DMDIS"; break;
91  case(kScDarkMatterElectron) : return "DME"; break;
92  default : return "Unknown"; break;
93  }
94  return "Unknown";
95  }

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