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

Enumeration of kinematic variables. More...

#include <KineVar.h>

Static Public Member Functions

static string AsString (KineVar_t kv)
 

Detailed Description

Enumeration of kinematic variables.

Author
Costas Andreopoulos <c.andreopoulos cern.ch> University of Liverpool
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 72 of file KineVar.h.

Member Function Documentation

static string genie::KineVar::AsString ( KineVar_t  kv)
inlinestatic

Definition at line 77 of file KineVar.h.

References genie::kKVctl, genie::kKVctp, genie::kKVn1, genie::kKVn2, genie::kKVn3, genie::kKVNull, genie::kKVphikq, genie::kKVphip, genie::kKVPn, genie::kKVQ0, genie::kKVQ2, genie::kKVq2, genie::kKVQ3, genie::kKVSelctl, genie::kKVSelctp, genie::kKVSelphikq, genie::kKVSelphip, genie::kKVSelQ0, genie::kKVSelQ2, genie::kKVSelq2, genie::kKVSelQ3, genie::kKVSelRad, genie::kKVSelt, genie::kKVSelTk, genie::kKVSelTl, genie::kKVSelv, genie::kKVSelW, genie::kKVSelx, genie::kKVSely, genie::kKVt, genie::kKVTk, genie::kKVTl, genie::kKVv, genie::kKVW, genie::kKVx, and genie::kKVy.

Referenced by genie::Kinematics::GetKV(), genie::KPhaseSpace::Limits(), genie::Kinematics::Print(), and genie::Kinematics::SetKV().

78  {
79  switch (kv) {
80  case(kKVNull) : return "** Undefined kinematic variable **"; break;
81  case(kKVx) : return " *Running* Bjorken x"; break;
82  case(kKVy) : return " *Running* Inelasticity y"; break;
83  case(kKVQ2) : return " *Running* Momentum transfer Q2 (>0)"; break;
84  case(kKVq2) : return " *Running* Momentum transfer q2 (<0)"; break;
85  case(kKVW) : return " *Running* Hadronic invariant mass W"; break;
86  case(kKVt) : return " *Running* COH 4p transfer to nucleus"; break;
87  case(kKVTk) : return " *Running* meson kinetic energy"; break;
88  case(kKVTl) : return " *Running* lepton kinetic energy"; break;
89  case(kKVctl) : return " *Running* cosine of lepton theta"; break;
90  case(kKVphikq) : return " *Running* ASK phi kq"; break;
91  case(kKVSelx) : return "*Selected* Bjorken x"; break;
92  case(kKVSely) : return "*Selected* Inelasticity y"; break;
93  case(kKVSelQ2) : return "*Selected* Momentum transfer Q2 (>0)"; break;
94  case(kKVSelq2) : return "*Selected* Momentum transfer q2 (<0)"; break;
95  case(kKVSelW) : return "*Selected* Hadronic invariant mass W"; break;
96  case(kKVSelt) : return "*Selected* COH 4p transfer to nucleus"; break;
97  case(kKVSelTk) : return "*Selected* ASK kaon kinetic energy"; break;
98  case(kKVSelTl) : return "*Selected* ASK lepton kinetic energy"; break;
99  case(kKVSelctl) : return "*Selected* ASK cosine lepton theta"; break;
100  case(kKVSelphikq): return "*Selected* ASK phi kq"; break;
101  case(kKVSelRad) : return "*Selected* Struck particle position"; break;
102  case(kKVPn) : return " *Running* Hit nucleon momentum"; break;
103  case(kKVv) : return " *Running* Energy transfer"; break;
104  case(kKVphip) : return " *Running* SPP final pion phi"; break;
105  case(kKVctp) : return " *Running* SPP cosine final pion theta"; break;
106  case(kKVSelv) : return "*Selected* Energy transfer"; break;
107  case(kKVQ0) : return " *Running* Energy transfer (Q0)" ; break;
108  case(kKVQ3) : return " *Running* three momentum transfer" ; break;
109  case(kKVSelQ0) : return "*Selected* energy transfer (Q0) " ; break;
110  case(kKVSelQ3) : return "*Selected* three momentum transfer" ; break;
111  case(kKVn1) : return " *Running* Normalized variable n1" ; break;
112  case(kKVn2) : return " *Running* Normalized variable n2" ; break;
113  case(kKVn3) : return " *Running* Normalized variable n3" ; break;
114  case(kKVSelphip) : return "*Selected* SPP final pion phi"; break;
115  case(kKVSelctp) : return "*Selected* SPP cosine final pion theta"; break;
116  default : return "** Unknown kinematic variable **"; break;
117  }
118  return "** Unknown kinematic variable **";
119  }

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