19 const char* beam,
const char* epics_var,
22 fScaleFactor(scale_factor), fBeamName(beam), fEpicsVar(epics_var),
69 {
"ecorr",
"Beam energy correction (output-input) (GeV)",
"fEcorr" },
81 if( !
IsOK() )
return -1;
84 if( !
input->IsOK() )
return 2;
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
Option_t Option_t TPoint TPoint const char mode
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="")
THaAnalysisObject * FindModule(const char *name, const char *classname, bool do_error=true)
THaBeamInfo * GetBeamInfo()
THaEpicsEbeam(const char *name, const char *description, const char *beam, const char *epics_var, Double_t scale_factor=1.0)
void SetEpicsIsMomentum(Bool_t mode=true)
virtual Int_t DefineVariables(EMode mode=kDefine)
virtual void Clear(Option_t *opt="")
void SetBeam(const char *beam)
void SetScaleFactor(Double_t fact)
virtual Int_t Process(const THaEvData &)
THaBeamModule * fBeamModule
void SetEpicsVar(const char *epics_var)
virtual Bool_t IsLoadedEpics(const char *) const
virtual double GetEpicsData(const char *tag, UInt_t event=0) const
void PrintInitError(const char *here)
virtual void Clear(Option_t *opt="")
const char * Data() const
Double_t Sqrt(Double_t x)
Double_t Max(Double_t a, Double_t b)