14 #ifndef TGO4EVENTPROCESSOR_H
15 #define TGO4EVENTPROCESSOR_H
42 #ifndef TGo4EllipseCond
43 #define TGo4EllipseCond TGo4ShapedCond
120 Bool_t
AddObject(TNamed * anything,
const char* subfolder = 0);
123 Bool_t
AddHistogram(TH1* his,
const char* subfolder = 0, Bool_t replace = kTRUE);
135 Bool_t
AddCanvas(TCanvas* can,
const char* subfolder = 0);
153 TNamed *
GetObject(
const char* name,
const char* folder = 0);
190 void Message(Int_t prio,
const char* text, ...);
200 virtual void Clear(Option_t* opt=
"");
222 TH1*
MakeTH1(
char type,
const char* fullname,
const char* title,
223 Int_t nbinsx, Double_t xlow, Double_t xup,
224 const char* xtitle = 0,
const char* ytitle = 0);
240 TH2*
MakeTH2(
char type,
const char* fullname,
const char* title,
241 Int_t nbinsx, Double_t xlow, Double_t xup,
242 Int_t nbinsy, Double_t ylow, Double_t yup,
243 const char* xtitle = 0,
const char* ytitle = 0,
const char* ztitle =0);
251 Double_t xmin, Double_t xmax,
252 const char* HistoName = 0);
261 Double_t xmin, Double_t xmax,
262 Double_t ymin, Double_t ymax,
263 const char* HistoName = 0);
276 Double_t (*points) [2],
277 const char* HistoName = 0);
290 Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta=0,
291 const char* HistoName = 0);
301 Int_t npoints, Double_t cx, Double_t cy, Double_t r,
302 const char* HistoName = 0);
313 const char* HistoName = 0);
328 Double_t (*points) [2],
329 const char* HistoName = 0);
345 const char* classname,
346 const char* newcmd = 0);
355 Long_t
ExecutePython(
const char* macro_name, Int_t* errcode=0);
361 Long_t
ExecuteLine(
const char* command, Int_t* errcode=0);
421 #endif //TGO4EVENTPROCESSOR_H
TNamed * GetObject(const char *name, const char *folder=0)
void SetKeepOutputEvent(Bool_t val=kTRUE)
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)
virtual Bool_t CheckInputEvent(const char *classname)
TGo4WinCond * MakeWinCond(const char *fullname, Double_t xmin, Double_t xmax, 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)
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)