14 #ifndef TGO4EVENTPROCESSOR_H
15 #define TGO4EVENTPROCESSOR_H
45 #ifndef TGo4EllipseCond
46 #define TGo4EllipseCond TGo4ShapedCond
123 Bool_t
AddObject(TNamed * anything,
const char* subfolder = 0);
126 Bool_t
AddHistogram(TH1* his,
const char* subfolder = 0, Bool_t replace = kTRUE);
138 Bool_t
AddCanvas(TCanvas* can,
const char* subfolder = 0);
156 TNamed *
GetObject(
const char* name,
const char* folder = 0);
193 void Message(Int_t prio,
const char* text, ...);
203 virtual void Clear(Option_t* opt=
"");
225 TH1*
MakeTH1(
char type,
const char* fullname,
const char* title,
226 Int_t nbinsx, Double_t xlow, Double_t xup,
227 const char* xtitle = 0,
const char* ytitle = 0);
243 TH2*
MakeTH2(
char type,
const char* fullname,
const char* title,
244 Int_t nbinsx, Double_t xlow, Double_t xup,
245 Int_t nbinsy, Double_t ylow, Double_t yup,
246 const char* xtitle = 0,
const char* ytitle = 0,
const char* ztitle =0);
252 TGraph*
MakeGraph(
const char* fullname,
const char* title, Int_t points = 0, Double_t* xvalues = 0,
253 Double_t* yvalues = 0);
258 TGraph*
MakeGraph(
const char* fullname,
const char* title, TF1*
function);
274 Double_t xmin, Double_t xmax,
275 const char* HistoName = 0);
284 Double_t xmin, Double_t xmax,
285 Double_t ymin, Double_t ymax,
286 const char* HistoName = 0);
299 Double_t (*points) [2],
300 const char* HistoName = 0);
313 Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta=0,
314 const char* HistoName = 0);
324 Int_t npoints, Double_t cx, Double_t cy, Double_t r,
325 const char* HistoName = 0);
336 const char* HistoName = 0);
351 Double_t (*points) [2],
352 const char* HistoName = 0);
374 TGo4ListCond*
MakeListCond(
const char* fullname,
const Int_t start,
const Int_t stop,
const Int_t step = 1,
const char* HistoName = 0);
399 const char* classname,
400 const char* newcmd = 0);
409 Long_t
ExecutePython(
const char* macro_name, Int_t* errcode=0);
415 Long_t
ExecuteLine(
const char* command, Int_t* errcode=0);
475 #endif //TGO4EVENTPROCESSOR_H
TNamed * GetObject(const char *name, const char *folder=0)
void SetKeepOutputEvent(Bool_t val=kTRUE)
Graphs that renew themselves iteratively to monitor a value.
Bool_t RemoveParameter(const char *name)
TGo4Parameter * MakeParameter(const char *fullname, const char *classname, const char *newcmd=0)
Bool_t IsKeepInputEvent()
TGo4ShapedCond * MakeBoxCond(const char *fullname, Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta, const char *HistoName=0)
Bool_t AddHistogram(TH1 *his, const char *subfolder=0, Bool_t replace=kTRUE)
TGo4ShapedCond * MakeFreeShapeCond(const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=0)
virtual ~TGo4EventProcessor()
Bool_t RemovePicture(const char *name)
TGo4Picture * GetPicture(const char *name)
virtual void UserPreLoop()
TH2 * MakeTH2(char type, const char *fullname, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup, const char *xtitle=0, const char *ytitle=0, const char *ztitle=0)
TGo4RollingGraph * MakeRollingGraph(const char *fullname, const char *title, Int_t points=0, Int_t average=1)
virtual Bool_t CheckInputEvent(const char *classname)
TGo4WinCond * MakeWinCond(const char *fullname, Double_t xmin, Double_t xmax, const char *HistoName=0)
TGo4ListCond * MakeListCond(const char *fullname, const Int_t num, const Int_t *values, const char *HistoName=0)
Bool_t IsKeepOutputEvent()
TGo4Condition * GetAnalysisCondition(const char *name, const char *cond_cl=0)
TGo4PolyCond * MakePolyCond(const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=0)
TGo4EventCalibration * fxCalibration
Bool_t RemoveCanvas(const char *name)
virtual void UserPostLoop()
Bool_t AddParameter(TGo4Parameter *par, const char *subfolder=0)
virtual void InitEvent(TGo4EventElement *)
TGo4ShapedCond * MakeCircleCond(const char *fullname, Int_t npoints, Double_t cx, Double_t cy, Double_t r, const char *HistoName=0)
TCanvas * GetCanvas(const char *name)
TGraph * MakeGraph(const char *fullname, const char *title, Int_t points=0, Double_t *xvalues=0, Double_t *yvalues=0)
Bool_t AddCanvas(TCanvas *can, const char *subfolder=0)
void SetKeepInputEvent(Bool_t val=kTRUE)
void SetInputEvent(TGo4EventElement *raw)
Long_t ExecuteScript(const char *script_name)
TGo4Parameter * GetParameter(const char *name, const char *par_class=0)
virtual Bool_t CheckCalibration(const char *classname)
TGo4EventElement * GetInputEvent()
void SetCalibration(TGo4EventCalibration *cali)
Bool_t AddAnalysisCondition(TGo4Condition *con, const char *subfolder=0)
Long_t ExecuteLine(const char *command, Int_t *errcode=0)
virtual void FinalizeEvent()
Bool_t AddPicture(TGo4Picture *pic, const char *subfolder=0)
Bool_t AddObject(TNamed *anything, const char *subfolder=0)
TH1 * MakeTH1(char type, const char *fullname, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, const char *xtitle=0, const char *ytitle=0)
void Message(Int_t prio, const char *text,...)
virtual void Clear(Option_t *opt="")
TGo4EventElement * fxInputEvent
void SendObjectToGUI(TNamed *ob)
TGo4EventElement * GetOutputEvent(const char *stepname)
Bool_t RemoveAnalysisCondition(const char *name)
TH1 * GetHistogram(const char *name)
Long_t ExecutePython(const char *macro_name, Int_t *errcode=0)
void SetMakeWithAutosave(Bool_t on=kTRUE)
TGo4EventCalibration * GetCalibration()
TGo4ShapedCond * MakeEllipseCond(const char *fullname, Int_t npoints, Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta=0, const char *HistoName=0)
Bool_t RemoveHistogram(const char *name)