| 
    GSI Object Oriented Online Offline (Go4) GO4-6.4.0
    
   | 
 
#include <TXXXUnpackProc.h>
 Inheritance diagram for TXXXUnpackProc:Public Member Functions | |
| TXXXUnpackProc () | |
| TXXXUnpackProc () | |
| TXXXUnpackProc (const char *name) | |
| TXXXUnpackProc (const char *name) | |
| virtual | ~TXXXUnpackProc () | 
| virtual | ~TXXXUnpackProc () | 
| Bool_t | BuildEvent (TGo4EventElement *dest) override | 
| Fill the destination event dest.   | |
| Bool_t | BuildEvent (TGo4EventElement *dest) override | 
| Fill the destination event dest.   | |
  Public Member Functions inherited from TGo4EventProcessor | |
| TGo4EventProcessor (const char *name) | |
| virtual | ~TGo4EventProcessor () | 
| Bool_t | AddAnalysisCondition (TGo4Condition *con, const char *subfolder=nullptr) | 
| Register condition to go4 framework.   | |
| Bool_t | AddCanvas (TCanvas *can, const char *subfolder=nullptr) | 
| Register TCanvas to go4 framework.   | |
| Bool_t | AddHistogram (TH1 *his, const char *subfolder=nullptr, Bool_t replace=kTRUE) | 
| Register histogram to go4 framework.   | |
| Bool_t | AddObject (TNamed *anything, const char *subfolder=nullptr) | 
| Register user object to go4 framework.   | |
| Bool_t | AddParameter (TGo4Parameter *par, const char *subfolder=nullptr) | 
| Register parameter to go4 framework.   | |
| Bool_t | AddPicture (TGo4Picture *pic, const char *subfolder=nullptr) | 
| Register picture to go4 framework.   | |
| virtual Bool_t | CheckCalibration (const char *classname) | 
| Check if calibration class is valid.   | |
| virtual Bool_t | CheckInputEvent (const char *classname) | 
| Check if input event is valid.   | |
| void | Clear (Option_t *opt="") override | 
| Long64_t | ExecuteLine (const char *command, Int_t *errcode=nullptr) | 
| Process ROOT command line.   | |
| Long64_t | ExecutePython (const char *macro_name, Int_t *errcode=nullptr) | 
| Executes Python script in ROOT interpreter.   | |
| Long64_t | ExecuteScript (const char *script_name) | 
| Executes ROOT script.   | |
| virtual void | FinalizeEvent () | 
| implemented by subclass to do actual processing.   | |
| TGo4Condition * | GetAnalysisCondition (const char *name, const char *cond_cl=nullptr) | 
| Get condition from go4 framework.   | |
| TGo4EventCalibration * | GetCalibration () const | 
| Access to external calibration object.   | |
| TCanvas * | GetCanvas (const char *name) | 
| Get TCanvas from go4 framework.   | |
| TH1 * | GetHistogram (const char *name) | 
| Get histogram from go4 framework.   | |
| TGo4EventElement * | GetInputEvent () | 
| Access to external raw event which is set as association member.   | |
| TGo4EventElement * | GetInputEvent (const char *stepname) | 
| Returns the input event structure of analysis step.   | |
| TNamed * | GetObject (const char *name, const char *folder=nullptr) | 
| Get any object from go4 framework.   | |
| TGo4EventElement * | GetOutputEvent (const char *stepname) | 
| Returns the output event structure of analysis step.   | |
| TGo4Parameter * | GetParameter (const char *name, const char *par_class=nullptr) | 
| Get parameter from go4 framework.   | |
| TGo4Picture * | GetPicture (const char *name) | 
| Get picture from go4 framework.   | |
| virtual void | InitEvent (TGo4EventElement *) | 
| implemented by subclass to assign correct event structures   | |
| Bool_t | IsKeepInputEvent () const | 
| Is marked to keep input event.   | |
| Bool_t | IsKeepOutputEvent () const | 
| Is marked to keep output event.   | |
| Bool_t | IsObjMade () const | 
| Returns kTRUE if object in last Make... call was created, kFALSE when object was retrieved from autosavefile.   | |
| 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.   | |
| 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.   | |
| 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.   | |
| TGo4ShapedCond * | MakeFreeShapeCond (const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=nullptr) | 
| Create free shaped (polygon) condition.   | |
| 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.   | |
| TGraph * | MakeGraph (const char *fullname, const char *title, TF1 *function) | 
| Create a TGraph with values initialized by a function object TF1l.   | |
| TGo4ListCond * | MakeListCond (const char *fullname, const char *title, const char *HistoName=nullptr) | 
| Create "whitlelist" condition with separate values to tes against condition is true if any of the values matches.   | |
| 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 values matches.   | |
| TGo4ListCond * | MakeListCond (const char *fullname, const Int_t start, const Int_t stop, const Int_t step=1, const char *HistoName=nullptr) | 
| Create "whitlelist" condition with separate values to test against condition is true if any of the values matches.   | |
| TGo4Parameter * | MakeParameter (const char *fullname, const char *classname, const char *newcmd=nullptr) | 
| Create parameter of specified class,.   | |
| TGo4PolyCond * | MakePolyCond (const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=nullptr) | 
| Create polygon condition.   | |
| 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.   | |
| 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.   | |
| 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.   | |
| TGo4WinCond * | MakeWinCond (const char *fullname, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, const char *HistoName=nullptr) | 
| Create 2D window condition.   | |
| void | Message (Int_t prio, const char *text,...) | 
| Display a user message.   | |
| 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.   | |
| Bool_t | RemoveHistogram (const char *name) | 
| UnRegister histogram from go4 framework and delete it.   | |
| Bool_t | RemoveParameter (const char *name) | 
| UnRegister parameter from go4 framework and delete it.   | |
| Bool_t | RemovePicture (const char *name) | 
| UnRegister picture from go4 framework and delete it.   | |
| void | SendObjectToGUI (TNamed *ob) | 
| Send any object as copy to gui.   | |
| void | SetCalibration (TGo4EventCalibration *cali) | 
| Sets reference to external raw event which is used by the concrete processor to unpack the interesting information.   | |
| void | SetInputEvent (TGo4EventElement *raw) | 
| Sets reference to external raw event which is used by the concrete processor to unpack the interesting information.   | |
| void | SetKeepInputEvent (Bool_t val=kTRUE) | 
| Mark current input event for reprocessing in next cycle.   | |
| void | SetKeepOutputEvent (Bool_t val=kTRUE) | 
| Mark current input event for reprocessing in next cycle.   | |
| void | SetMakeWithAutosave (Bool_t on=kTRUE) | 
| Set flag to use data from autosave file in Make... methods (default true)   | |
| virtual void | UserPostLoop () | 
| Method called when analysis is stopping.   | |
| virtual void | UserPreLoop () | 
| Method called when analysis is created.   | |
  Public Member Functions inherited from TGo4EventSource | |
| TGo4EventSource () | |
| TGo4EventSource (const char *name) | |
| virtual | ~TGo4EventSource () | 
| virtual Bool_t | CheckEventClass (TClass *cl) | 
| Check that event class is supported by event source.   | |
| void | Clear (Option_t *opt="") override | 
| virtual const char * | GetActiveName () const | 
| Access to the name of the currently active source.   | |
| Int_t | GetCreateStatus () const | 
| Status value of server/file open.   | |
| const char * | GetErrMess () const | 
| Status/ error message of the last event.   | |
| Int_t | GetEventStatus () const | 
| Status of the last event.   | |
Protected Attributes | |
| TGo4ShapedCond * | fBoxCond {nullptr} | 
| TGo4ShapedCond * | fCircleCond {nullptr} | 
| TGo4CondArray * | fConArr1 {nullptr} | 
| TGo4CondArray * | fConArr2 {nullptr} | 
| TGo4Picture * | fcondSet {nullptr} | 
| TGo4WinCond * | fconHis1 {nullptr} | 
| TGo4WinCond * | fconHis2 {nullptr} | 
| TH1 * | fCr1Ch [XXX_NUM_CHAN] = {nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr} | 
| TH2 * | fCr1Ch1x2 {nullptr} | 
| TH1 * | fCr2Ch [XXX_NUM_CHAN] = {nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr} | 
| TGo4ShapedCond * | fEllipseCond {nullptr} | 
| TGo4ShapedCond * | fFreestyleCond {nullptr} | 
| TGraph * | fGraph {nullptr} | 
| TH1 * | fHis1 {nullptr} | 
| TH1 * | fHis1gate {nullptr} | 
| TH1 * | fHis2 {nullptr} | 
| TH1 * | fHis2gate {nullptr} | 
| TLatex * | fLaText {nullptr} | 
| TXXXParameter * | fParam {nullptr} | 
| TGo4Picture * | fPicture1 {nullptr} | 
| TGo4PolyCond * | fPolyCon1 {nullptr} | 
| TGo4RollingGraph * | fRollingGraph1 {nullptr} | 
| TGo4RollingGraph * | fRollingGraph2 {nullptr} | 
| TGo4ListCond * | fWhitelistCon {nullptr} | 
| TGo4WinCond * | fWinCon1 {nullptr} | 
| TGo4WinCond * | fWinCon2 {nullptr} | 
Private Member Functions | |
| void | CreateRawHistograms (int nbins, double xmin, double xmax) | 
Private Attributes | |
| Long_t | fEvCount {0} | 
| TXXXParameter * | fParam1 {nullptr} | 
| TXXXParameter * | fParam2 {nullptr} | 
Additional Inherited Members | |
  Static Public Attributes inherited from TGo4EventSource | |
| static const Int_t | fgiTIMEOUTDEFAULT =1 | 
| Default timeout in seconds for event input.   | |
  Protected Types inherited from TGo4EventSource | |
| enum | { fguTXTLEN = 256 } | 
| text length  More... | |
  Protected Member Functions inherited from TGo4EventProcessor | |
| TGo4EventProcessor () | |
  Protected Member Functions inherited from TGo4EventSource | |
| void | SetCreateStatus (Int_t status) | 
| Status value of event source init (file/server open).   | |
| void | SetErrMess (const char *txt) | 
| To be used for modification of the message by the event source implementation.   | |
| void | SetEventStatus (Int_t status) | 
| Status of the last event.   | |
| void | ThrowEOF (Int_t creastat, Int_t errstat, const char *message,...) | 
| EOF thrower.   | |
| void | ThrowError (Int_t creastat, Int_t errstat, const char *message,...) | 
| Exception thrower.   | |
Definition at line 25 of file TXXXUnpackProc.h.
| TXXXUnpackProc::TXXXUnpackProc | ( | ) | 
Definition at line 36 of file TXXXUnpackProc.cxx.
References TGo4EventProcessor::TGo4EventProcessor(), fCr1Ch, fCr2Ch, and XXX_NUM_CHAN.
Referenced by BuildEvent().
| TXXXUnpackProc::TXXXUnpackProc | ( | const char * | name | ) | 
this is example how arbitrary objects can be add to the picture and than displayed in the gui
Definition at line 46 of file TXXXUnpackProc.cxx.
References TGo4EventProcessor::TGo4EventProcessor(), TGo4EventProcessor::AddAnalysisCondition(), TGo4EventProcessor::AddObject(), TGo4EventProcessor::AddPicture(), fBoxCond, fCircleCond, fConArr1, fConArr2, fcondSet, fconHis1, fconHis2, fCr1Ch, fCr1Ch1x2, fCr2Ch, fEllipseCond, fFreestyleCond, fGraph, fHis1, fHis1gate, fHis2, fHis2gate, fLaText, fParam, fPicture1, fPolyCon1, fRollingGraph1, fRollingGraph2, fWhitelistCon, fWinCon1, fWinCon2, TGo4EventProcessor::GetAnalysisCondition(), TGo4EventProcessor::GetPicture(), TGo4Log::Info(), TGo4EventProcessor::MakeBoxCond(), TGo4EventProcessor::MakeCircleCond(), TGo4EventProcessor::MakeEllipseCond(), TGo4EventProcessor::MakeFreeShapeCond(), MakeGraph(), TGo4EventProcessor::MakeListCond(), TGo4EventProcessor::MakeParameter(), TGo4EventProcessor::MakePolyCond(), TGo4EventProcessor::MakeRollingGraph(), TGo4EventProcessor::MakeTH1(), TGo4EventProcessor::MakeTH2(), TGo4EventProcessor::MakeWinCond(), and XXX_NUM_CHAN.
      
  | 
  virtual | 
Definition at line 256 of file TXXXUnpackProc.cxx.
References fParam, fPolyCon1, fWinCon1, and TGo4Log::Info().
| TXXXUnpackProc::TXXXUnpackProc | ( | ) | 
| TXXXUnpackProc::TXXXUnpackProc | ( | const char * | name | ) | 
      
  | 
  virtual | 
      
  | 
  overridevirtual | 
Fill the destination event dest.
Reimplemented from TGo4EventSource.
Definition at line 266 of file TXXXUnpackProc.cxx.
References TGo4Log::Error(), fCircleCond, fConArr2, fconHis1, fconHis2, fCr1Ch, fCr1Ch1x2, fCr2Ch, fEllipseCond, fHis1, fHis1gate, fHis2, fHis2gate, fLaText, fParam, fPolyCon1, fRollingGraph1, fRollingGraph2, fWhitelistCon, TGo4EventProcessor::GetInputEvent(), TGo4EventElement::SetValid(), TGo4EventProcessor::TGo4EventElement, and XXX_NUM_CHAN.
      
  | 
  overridevirtual | 
Fill the destination event dest.
Reimplemented from TGo4EventSource.
References TXXXUnpackProc(), and TGo4EventProcessor::TGo4EventElement.
      
  | 
  private | 
Definition at line 173 of file TXXXUnpackProc.cxx.
References fCr1Ch, fCr2Ch, TGo4EventProcessor::GetParameter(), TGo4EventProcessor::MakeTH1(), TGo4EventProcessor::RemoveHistogram(), and TXXXCalibPar::SetCalibSpectrum().
      
  | 
  protected | 
Definition at line 50 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
      
  | 
  protected | 
Definition at line 49 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 46 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
      
  | 
  protected | 
Definition at line 47 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 58 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
      
  | 
  protected | 
Definition at line 41 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 42 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 34 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), TXXXUnpackProc(), BuildEvent(), and CreateRawHistograms().
      
  | 
  protected | 
Definition at line 36 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 35 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), TXXXUnpackProc(), BuildEvent(), and CreateRawHistograms().
      
  | 
  protected | 
Definition at line 48 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  private | 
Definition at line 42 of file TXXXUnpackProc.h.
      
  | 
  protected | 
Definition at line 51 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
      
  | 
  protected | 
Definition at line 55 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
      
  | 
  protected | 
Definition at line 37 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 38 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 39 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 40 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 59 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 56 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), ~TXXXUnpackProc(), and BuildEvent().
      
  | 
  private | 
Definition at line 38 of file TXXXUnpackProc.h.
      
  | 
  private | 
Definition at line 39 of file TXXXUnpackProc.h.
      
  | 
  protected | 
Definition at line 57 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
      
  | 
  protected | 
Definition at line 45 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), ~TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 53 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 54 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 52 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and BuildEvent().
      
  | 
  protected | 
Definition at line 43 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and ~TXXXUnpackProc().
      
  | 
  protected | 
Definition at line 44 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().