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

An enumeration of reference frames. More...

#include <RefFrame.h>

Static Public Member Functions

static const char * AsString (RefFrame_t rf)
 

Detailed Description

An enumeration of reference frames.

Author
Costas Andreopoulos <constantinos.andreopoulos cern.ch> University of Liverpool & STFC Rutherford Appleton Laboratory

May 04, 2004

Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org

Definition at line 35 of file RefFrame.h.

Member Function Documentation

static const char* genie::RefFrame::AsString ( RefFrame_t  rf)
inlinestatic

Definition at line 39 of file RefFrame.h.

40  {
41  switch (rf) {
42  case (kRfLab) : return "[LAB]"; break;
43  case (kRfCM) : return "[Center of mass]"; break;
44  case (kRfHCM) : return "[Hadronic center of mass]"; break;
45  case (kRfTgtRest) : return "[Nuclear target @ rest]"; break;
46  case (kRfHitNucRest) : return "[Hit nucleon @ rest]"; break;
47  case (kRfHitElRest) : return "[Hit electron@ rest]"; break;
48  case (kRfUndefined) :
49  default : return "** Undefined reference frame ** ";
50  }
51  }

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