45 Error(
Here(
"Init"),
"Current run not initialized. "
46 "Failed to initialize beam apparatus %s (\"%s\"). ",
52 Error(
Here(
"Init"),
"Current run has no parameters?!? "
53 "Failed to initialize beam apparatus %s (\"%s\"). ",
67 {
"x",
"reconstructed x-position at nom. interaction point",
"fPosition.fX" },
68 {
"y",
"reconstructed y-position at nom. interaction point",
"fPosition.fY" },
69 {
"z",
"reconstructed z-position at nom. interaction point",
"fPosition.fZ" },
70 {
"dir.x",
"reconstructed x-component of beam direction",
"fDirection.fX" },
71 {
"dir.y",
"reconstructed y-component of beam direction",
"fDirection.fY" },
72 {
"dir.z",
"reconstructed z-component of beam direction",
"fDirection.fZ" },
Option_t Option_t TPoint TPoint const char mode
R__EXTERN class THaRunBase * gHaRun
static Int_t DefineVarsFromList(const void *list, EType type, EMode mode, const char *def_prefix, const TObject *obj, const char *prefix, const char *here, const char *comment_subst="")
virtual const char * Here(const char *) const
void SetBeam(THaBeam *obj)
void Set(const TVector3 &pvect, const TVector3 &position, Double_t pol=0.0)
static const RVarDef * GetRVarDef()
THaBeam(const char *name, const char *description)
virtual Int_t DefineVariables(EMode mode=kDefine)
THaRunParameters * fRunParam
THaRunParameters * GetParameters() const
Double_t GetBeamP() const
Double_t GetBeamPol() const
const char * GetName() const override
const char * GetTitle() const override
virtual void Error(const char *method, const char *msgfmt,...) const