26GO4TRACE((15,
"TGo4EventProcessor::TGo4EventProcessor()",__LINE__, __FILE__));
31GO4TRACE((15,
"TGo4EventProcessor::~TGo4EventProcessor()",__LINE__, __FILE__));
36 GO4TRACE((12,
"TGo4EventProcessor::CheckInputEvent()",__LINE__, __FILE__));
44 GO4TRACE((12,
"TGo4EventProcessor::CheckCalibration()",__LINE__, __FILE__));
149 va_start(args, text);
162 TGo4Log::Info(
"Default Clear of event processor %s", GetName());
177 Int_t nbinsx, Double_t xlow, Double_t xup,
178 const char *xtitle,
const char *ytitle)
186 Int_t nbinsx, Double_t xlow, Double_t xup,
187 Int_t nbinsy, Double_t ylow, Double_t yup,
188 const char *xtitle,
const char *ytitle,
const char *ztitle)
193 xtitle, ytitle, ztitle);
214 Double_t xmin, Double_t xmax,
215 const char *HistoName)
221 Double_t xmin, Double_t xmax,
222 Double_t ymin, Double_t ymax,
223 const char *HistoName)
233 Double_t (*points) [2],
234 const char *HistoName)
241 Double_t a1, Double_t a2, Double_t theta,
const char *HistoName)
247 Double_t r,
const char *HistoName)
253 Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta,
254 const char *HistoName )
261 Double_t (*points) [2],
262 const char *HistoName)
287 const char *classname,
#define __MESSAGETEXTLENGTH__
TGo4ShapedCond * MakeFreeShapeCond(const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=nullptr)
Create free shaped (polygon) condition.
TGo4EventElement * GetInputEvent(const char *stepname) const
Returns the input event structure of analysis step.
TGo4ListCond * MakeListCond(const char *fullname, const Int_t num, const Int_t *values, const char *HistoName=nullptr)
Create "whitlelist" condition with separate values to test against condition is true if any of the va...
TGo4ShapedCond * MakeCircleCond(const char *fullname, Int_t npoints, Double_t cx, Double_t cy, Double_t r, const char *HistoName=nullptr)
Create circular shaped polygon condition.
static TGo4Analysis * Instance()
return analysis instance
Bool_t IsObjMade() const
Returns kTRUE if object in last Make... call was created, kFALSE when object was retrieved from autos...
Long64_t ExecuteScript(const char *script_name)
Executes ROOT script.
void Message(Int_t prio, const char *text,...)
Display a user message.
TGraph * MakeGraph(const char *fullname, const char *title, Int_t points=0, Double_t *xvalues=nullptr, Double_t *yvalues=nullptr)
Create a TGraph with initial values as specified by points, xvalues and yvalues.
TGo4Parameter * MakeParameter(const char *fullname, const char *classname, const char *cmd=nullptr)
Create parameter of specified class,.
TCanvas * GetCanvas(const char *name)
Retrieves a TCanvas by name from the Canvases folder.
TNamed * GetObject(const char *name, const char *folder=nullptr)
Searches for object by name in all directories.
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=nullptr, const char *ytitle=nullptr, const char *ztitle=nullptr)
Create two dimensional histogram of specified type.
TGo4WinCond * MakeWinCond(const char *fullname, Double_t xmin, Double_t xmax, const char *HistoName=nullptr)
Create 1D window condition.
Bool_t RemoveHistogram(const char *name, Bool_t del=kTRUE)
Removes histogram from histogram dir by name.
TGo4PolyCond * MakePolyCond(const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=nullptr, Bool_t shapedcond=kFALSE)
Create polygon condition.
Bool_t AddAnalysisCondition(TGo4Condition *con, const char *subfolder=nullptr)
Puts a new analysis condition object in corresponding list.
void SetMakeWithAutosave(Bool_t on=kTRUE)
Set flag to use data from autosave file in Make... methods (default true)
Bool_t AddPicture(TGo4Picture *pic, const char *subfolder=nullptr)
Puts a new picture object in corresponding folder.
Bool_t AddObject(TNamed *anything, const char *subfolder=nullptr, Bool_t replace=kTRUE)
Add any external object to the user object folder.
TGo4EventElement * GetOutputEvent(const char *stepname) const
Returns the output event (detector) structure of analysis step.
Bool_t AddParameter(TGo4Parameter *par, const char *subfolder=nullptr)
Puts a new parameter object in corresponding folder.
Bool_t RemoveCanvas(const char *name)
Removes TCanvas by name.
TH1 * GetHistogram(const char *name)
Search histogram in histogram list (directory).
Bool_t RemovePicture(const char *name)
Removes picture by name.
Long64_t ExecuteLine(const char *command, Int_t *errcode=nullptr)
Process ROOT command line.
Long64_t ExecutePython(const char *script_name, Int_t *errcode=nullptr)
Executes Python script in ROOT interpreter.
Bool_t AddHistogram(TH1 *his, const char *subfolder=nullptr, Bool_t replace=kTRUE)
Add external histogram to go4 histogram directory.
TGo4RollingGraph * MakeRollingGraph(const char *fullname, const char *title, Int_t points=0, Int_t average=1)
Create a go4 rolling graph (generic trending plot) with properties points and average.
TGo4Picture * GetPicture(const char *name)
Retrieves a picture object by name from the object folder.
Bool_t AddCanvas(TCanvas *can, const char *subfolder=nullptr)
Puts a new TCanvas in corresponding folder.
Bool_t RemoveAnalysisCondition(const char *name)
Removes analysis condition from list by name.
TGo4ShapedCond * MakeBoxCond(const char *fullname, Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta, const char *HistoName=nullptr)
Create tilted rectangular box shaped polygon condition.
TGo4Condition * GetAnalysisCondition(const char *name, const char *cond_cl=nullptr)
Retrieves an analysis condition from list by name.
TH1 * MakeTH1(char type, const char *fullname, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, const char *xtitle=nullptr, const char *ytitle=nullptr)
Create one dimensional histogram of specified type.
TGo4Parameter * GetParameter(const char *name, const char *parameter_class=nullptr)
Retrieves a parameter object by name from the object folder.
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=nullptr)
Create ellipse shaped polygon condition.
Bool_t RemoveParameter(const char *name)
Removes parameter by name.
void SendObjectToGUI(TObject *ob)
User May send any named object via data channel to the gui.
Bool_t AddPicture(TGo4Picture *pic, const char *subfolder=nullptr)
Register picture to go4 framework.
Bool_t AddCanvas(TCanvas *can, const char *subfolder=nullptr)
Register TCanvas to go4 framework.
TGraph * MakeGraph(const char *fullname, const char *title, Int_t points=0, Double_t *xvalues=nullptr, Double_t *yvalues=nullptr)
Create a TGraph with initial values as specified by points, xvalues and yvalues.
TH1 * MakeTH1(char type, const char *fullname, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, const char *xtitle=nullptr, const char *ytitle=nullptr)
Create one dimensional histogram of specified type.
TGo4Picture * GetPicture(const char *name)
Get picture from go4 framework.
TGo4RollingGraph * MakeRollingGraph(const char *fullname, const char *title, Int_t points=0, Int_t average=1)
Create a go4 rolling graph (generic trending plot) with properties points and average.
TGo4Parameter * GetParameter(const char *name, const char *par_class=nullptr)
Get parameter from go4 framework.
void SendObjectToGUI(TNamed *ob)
Send any object as copy to gui.
virtual Bool_t CheckCalibration(const char *classname)
Check if calibration class is valid.
TNamed * GetObject(const char *name, const char *folder=nullptr)
Get any object from go4 framework.
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=nullptr, const char *ytitle=nullptr, const char *ztitle=nullptr)
Create two dimensional histogram of specified type.
TGo4ShapedCond * MakeCircleCond(const char *fullname, Int_t npoints, Double_t cx, Double_t cy, Double_t r, const char *HistoName=nullptr)
Create circular shaped polygon condition.
void Clear(Option_t *opt="") override
Long64_t ExecutePython(const char *macro_name, Int_t *errcode=nullptr)
Executes Python script in ROOT interpreter.
virtual Bool_t CheckInputEvent(const char *classname)
Check if input event is valid.
TGo4Parameter * MakeParameter(const char *fullname, const char *classname, const char *newcmd=nullptr)
Create parameter of specified class,.
TGo4WinCond * MakeWinCond(const char *fullname, Double_t xmin, Double_t xmax, const char *HistoName=nullptr)
Create 1D window condition.
Bool_t AddAnalysisCondition(TGo4Condition *con, const char *subfolder=nullptr)
Register condition to go4 framework.
TCanvas * GetCanvas(const char *name)
Get TCanvas from go4 framework.
Bool_t AddHistogram(TH1 *his, const char *subfolder=nullptr, Bool_t replace=kTRUE)
Register histogram to go4 framework.
TGo4EventElement * fxInputEvent
1
void Message(Int_t prio, const char *text,...)
Display a user message.
Bool_t AddObject(TNamed *anything, const char *subfolder=nullptr)
Register user object to go4 framework.
TGo4ListCond * MakeListCond(const char *fullname, const Int_t num, const Int_t *values, const char *HistoName=nullptr)
Create "whitlelist" condition with separate values to test against condition is true if any of the va...
virtual ~TGo4EventProcessor()
Bool_t RemovePicture(const char *name)
UnRegister picture from go4 framework and delete it.
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=nullptr)
Create ellipse shaped polygon condition.
Long64_t ExecuteScript(const char *script_name)
Executes ROOT script.
Long64_t ExecuteLine(const char *command, Int_t *errcode=nullptr)
Process ROOT command line.
TGo4EventCalibration * fxCalibration
aggregation
Bool_t RemoveParameter(const char *name)
UnRegister parameter from go4 framework and delete it.
void SetMakeWithAutosave(Bool_t on=kTRUE)
Set flag to use data from autosave file in Make... methods (default true)
TGo4EventElement * GetOutputEvent(const char *stepname)
Returns the output event structure of analysis step.
Bool_t IsObjMade() const
Returns kTRUE if object in last Make... call was created, kFALSE when object was retrieved from autos...
TGo4ShapedCond * MakeFreeShapeCond(const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=nullptr)
Create free shaped (polygon) condition.
Bool_t RemoveAnalysisCondition(const char *name)
UnRegister condition from go4 framework and delete it.
Bool_t RemoveCanvas(const char *name)
UnRegister canvas from go4 framework and delete it.
TGo4EventElement * GetInputEvent()
Access to external raw event which is set as association member.
TGo4PolyCond * MakePolyCond(const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=nullptr)
Create polygon condition.
TGo4ShapedCond * MakeBoxCond(const char *fullname, Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta, const char *HistoName=nullptr)
Create tilted rectangular box shaped polygon condition.
Bool_t RemoveHistogram(const char *name)
UnRegister histogram from go4 framework and delete it.
TH1 * GetHistogram(const char *name)
Get histogram from go4 framework.
Bool_t AddParameter(TGo4Parameter *par, const char *subfolder=nullptr)
Register parameter to go4 framework.
friend class TGo4EventElement
TGo4Condition * GetAnalysisCondition(const char *name, const char *cond_cl=nullptr)
Get condition from go4 framework.
Condition that checks a value against a list of "good" (or bad) values.
static void Info(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 1.
Base class for all parameter aggregations, e.g.
Picture cconfiguration in Go4.
Graphs that renew themselves iteratively to monitor a value.