#include "THaBeamModule.h"
#include "VarDef.h"
using namespace std;
THaBeamModule::THaBeamModule()
{
}
THaBeamModule::~THaBeamModule()
{
}
const RVarDef* THaBeamModule::GetRVarDef()
{
static const RVarDef vars[] = {
{ "e", "Beam energy", "fBeamIfo.GetE()"},
{ "p", "Lab momentum (GeV)", "fBeamIfo.GetP()"},
{ "px", "Lab momentum x (GeV)", "fBeamIfo.GetPx()"},
{ "py", "Lab momentum y (GeV)", "fBeamIfo.GetPy()"},
{ "pz", "Lab momentum z (GeV)", "fBeamIfo.GetPz()"},
{ "xpos", "x position (m)", "fBeamIfo.GetX()"},
{ "ypos", "y position (m)", "fBeamIfo.GetY()"},
{ "zpos", "z position (m)", "fBeamIfo.GetZ()"},
{ "th", "Tangent theta angle", "fBeamIfo.GetTheta()"},
{ "ph", "Tangent phi angle", "fBeamIfo.GetPhi()"},
{ "pol", "Beam polarization", "fBeamIfo.fPol"},
{ "ok", "Data valid status flag (1=ok)", "fBeamIfo.fOK"},
{ 0 }
};
return vars;
}
ClassImp(THaBeamModule)
Last change: Sat Nov 7 21:26:43 2009
Last generated: 2009-11-07 21:26
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.