GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
TXXXUnpackProc Class Reference

#include <TXXXUnpackProc.h>

+ Inheritance diagram for TXXXUnpackProc:

Public Member Functions

 TXXXUnpackProc ()
 
 TXXXUnpackProc (const char *name)
 
virtual ~TXXXUnpackProc ()
 
Bool_t BuildEvent (TGo4EventElement *dest) override
 
 TXXXUnpackProc ()
 
 TXXXUnpackProc (const char *name)
 
virtual ~TXXXUnpackProc ()
 
Bool_t BuildEvent (TGo4EventElement *dest) override
 
- Public Member Functions inherited from TGo4EventProcessor
 TGo4EventProcessor (const char *name)
 
virtual ~TGo4EventProcessor ()
 
void SetInputEvent (TGo4EventElement *raw)
 
TGo4EventElementGetInputEvent ()
 
virtual Bool_t CheckInputEvent (const char *classname)
 
void SetCalibration (TGo4EventCalibration *cali)
 
TGo4EventCalibrationGetCalibration () const
 
virtual Bool_t CheckCalibration (const char *classname)
 
virtual void InitEvent (TGo4EventElement *)
 
virtual void FinalizeEvent ()
 
Bool_t AddObject (TNamed *anything, const char *subfolder=nullptr)
 
Bool_t AddHistogram (TH1 *his, const char *subfolder=nullptr, Bool_t replace=kTRUE)
 
Bool_t AddParameter (TGo4Parameter *par, const char *subfolder=nullptr)
 
Bool_t AddAnalysisCondition (TGo4Condition *con, const char *subfolder=nullptr)
 
Bool_t AddPicture (TGo4Picture *pic, const char *subfolder=nullptr)
 
Bool_t AddCanvas (TCanvas *can, const char *subfolder=nullptr)
 
Bool_t RemoveHistogram (const char *name)
 
Bool_t RemoveParameter (const char *name)
 
Bool_t RemoveAnalysisCondition (const char *name)
 
Bool_t RemovePicture (const char *name)
 
Bool_t RemoveCanvas (const char *name)
 
TNamed * GetObject (const char *name, const char *folder=nullptr)
 
TH1 * GetHistogram (const char *name)
 
TGo4ParameterGetParameter (const char *name, const char *par_class=nullptr)
 
TGo4ConditionGetAnalysisCondition (const char *name, const char *cond_cl=nullptr)
 
TGo4PictureGetPicture (const char *name)
 
TCanvas * GetCanvas (const char *name)
 
TGo4EventElementGetInputEvent (const char *stepname)
 
TGo4EventElementGetOutputEvent (const char *stepname)
 
void Message (Int_t prio, const char *text,...)
 
void SendObjectToGUI (TNamed *ob)
 
void Clear (Option_t *opt="") override
 
void SetMakeWithAutosave (Bool_t on=kTRUE)
 
Bool_t IsObjMade () const
 
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)
 
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)
 
TGraph * MakeGraph (const char *fullname, const char *title, Int_t points=0, Double_t *xvalues=nullptr, Double_t *yvalues=nullptr)
 
TGraph * MakeGraph (const char *fullname, const char *title, TF1 *function)
 
TGo4RollingGraphMakeRollingGraph (const char *fullname, const char *title, Int_t points=0, Int_t average=1)
 
TGo4WinCondMakeWinCond (const char *fullname, Double_t xmin, Double_t xmax, const char *HistoName=nullptr)
 
TGo4WinCondMakeWinCond (const char *fullname, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, const char *HistoName=nullptr)
 
TGo4PolyCondMakePolyCond (const char *fullname, Int_t npoints, Double_t(*points) [2], const char *HistoName=nullptr)
 
TGo4ShapedCondMakeEllipseCond (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)
 
TGo4ShapedCondMakeCircleCond (const char *fullname, Int_t npoints, Double_t cx, Double_t cy, Double_t r, const char *HistoName=nullptr)
 
TGo4ShapedCondMakeBoxCond (const char *fullname, Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta, const char *HistoName=nullptr)
 
TGo4ShapedCondMakeFreeShapeCond (const char *fullname, Int_t npoints, Double_t(*points) [2], const char *HistoName=nullptr)
 
TGo4ListCondMakeListCond (const char *fullname, const Int_t num, const Int_t *values, const char *HistoName=nullptr)
 
TGo4ListCondMakeListCond (const char *fullname, const Int_t start, const Int_t stop, const Int_t step=1, const char *HistoName=nullptr)
 
TGo4ListCondMakeListCond (const char *fullname, const char *title, const char *HistoName=nullptr)
 
TGo4ParameterMakeParameter (const char *fullname, const char *classname, const char *newcmd=nullptr)
 
Long64_t ExecuteScript (const char *script_name)
 
Long64_t ExecutePython (const char *macro_name, Int_t *errcode=nullptr)
 
Long64_t ExecuteLine (const char *command, Int_t *errcode=nullptr)
 
Bool_t IsKeepInputEvent () const
 
void SetKeepInputEvent (Bool_t val=kTRUE)
 
Bool_t IsKeepOutputEvent () const
 
void SetKeepOutputEvent (Bool_t val=kTRUE)
 
virtual void UserPreLoop ()
 
virtual void UserPostLoop ()
 
- Public Member Functions inherited from TGo4EventSource
 TGo4EventSource ()
 
 TGo4EventSource (const char *name)
 
virtual ~TGo4EventSource ()
 
void Clear (Option_t *opt="") override
 
Int_t GetCreateStatus () const
 
Int_t GetEventStatus () const
 
const char * GetErrMess () const
 
virtual const char * GetActiveName () const
 
virtual Bool_t CheckEventClass (TClass *cl)
 

Protected Attributes

TH1 * fCr1Ch [XXX_NUM_CHAN] = {nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr}
 
TH1 * fCr2Ch [XXX_NUM_CHAN] = {nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr}
 
TH2 * fCr1Ch1x2 {nullptr}
 
TH1 * fHis1 {nullptr}
 
TH1 * fHis1gate {nullptr}
 
TH1 * fHis2 {nullptr}
 
TH1 * fHis2gate {nullptr}
 
TGo4WinCondfconHis1 {nullptr}
 
TGo4WinCondfconHis2 {nullptr}
 
TGo4WinCondfWinCon1 {nullptr}
 
TGo4WinCondfWinCon2 {nullptr}
 
TGo4PolyCondfPolyCon1 {nullptr}
 
TGo4CondArrayfConArr1 {nullptr}
 
TGo4CondArrayfConArr2 {nullptr}
 
TGo4ShapedCondfEllipseCond {nullptr}
 
TGo4ShapedCondfCircleCond {nullptr}
 
TGo4ShapedCondfBoxCond {nullptr}
 
TGo4ShapedCondfFreestyleCond {nullptr}
 
TGo4ListCondfWhitelistCon {nullptr}
 
TGo4RollingGraphfRollingGraph1 {nullptr}
 
TGo4RollingGraphfRollingGraph2 {nullptr}
 
TGraph * fGraph {nullptr}
 
TXXXParameterfParam {nullptr}
 
TGo4PicturefPicture1 {nullptr}
 
TGo4PicturefcondSet {nullptr}
 
TLatex * fLaText {nullptr}
 

Private Member Functions

void CreateRawHistograms (int nbins, double xmin, double xmax)
 

Private Attributes

TXXXParameterfParam1 {nullptr}
 
TXXXParameterfParam2 {nullptr}
 
Long_t fEvCount {0}
 

Additional Inherited Members

- Static Public Attributes inherited from TGo4EventSource
static const Int_t fgiTIMEOUTDEFAULT =1
 
- Protected Types inherited from TGo4EventSource
enum  { fguTXTLEN = 256 }
 
- Protected Member Functions inherited from TGo4EventProcessor
 TGo4EventProcessor ()
 
- Protected Member Functions inherited from TGo4EventSource
void SetErrMess (const char *txt)
 
void SetEventStatus (Int_t status)
 
void SetCreateStatus (Int_t status)
 
void ThrowError (Int_t creastat, Int_t errstat, const char *message,...)
 
void ThrowEOF (Int_t creastat, Int_t errstat, const char *message,...)
 

Detailed Description

Definition at line 25 of file TXXXUnpackProc.h.

Constructor & Destructor Documentation

◆ TXXXUnpackProc() [1/4]

TXXXUnpackProc::TXXXUnpackProc ( )

Definition at line 36 of file TXXXUnpackProc.cxx.

References fCr1Ch, fCr2Ch, and XXX_NUM_CHAN.

◆ TXXXUnpackProc() [2/4]

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::AddAnalysisCondition(), TGo4Picture::AddCondition(), TGo4EventProcessor::AddObject(), TGo4Picture::AddObject(), TGo4EventProcessor::AddPicture(), TGo4Condition::Disable(), TGo4CondArray::Disable(), TGo4Condition::Enable(), TXXXParameter::fbHisto, 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(), TGo4Condition::Invert(), TGo4Picture::LPic(), TGo4EventProcessor::MakeBoxCond(), TGo4EventProcessor::MakeCircleCond(), TGo4EventProcessor::MakeEllipseCond(), TGo4EventProcessor::MakeFreeShapeCond(), TGo4EventProcessor::MakeGraph(), TGo4EventProcessor::MakeListCond(), TGo4EventProcessor::MakeParameter(), TGo4EventProcessor::MakePolyCond(), TGo4EventProcessor::MakeRollingGraph(), TGo4EventProcessor::MakeTH1(), TGo4EventProcessor::MakeTH2(), TGo4EventProcessor::MakeWinCond(), TGo4Picture::Pic(), TGo4WinCond::PrintCondition(), TGo4PolyCond::PrintCondition(), TGo4CondArray::ResetCounts(), TGo4Picture::SetAxisLabelFontSize(), TGo4Picture::SetDivision(), TGo4Picture::SetDrawOption(), TGo4Picture::SetFillAtt(), TGo4Picture::SetHisTitle(), TGo4Condition::SetHistogram(), TGo4Picture::SetLineAtt(), TGo4Picture::SetLinesDivision(), TGo4Picture::SetStatsAttr(), TGo4Picture::SetTitleAttr(), TGo4CondArray::SetValues(), and XXX_NUM_CHAN.

◆ ~TXXXUnpackProc() [1/2]

TXXXUnpackProc::~TXXXUnpackProc ( )
virtual

◆ TXXXUnpackProc() [3/4]

TXXXUnpackProc::TXXXUnpackProc ( )

◆ TXXXUnpackProc() [4/4]

TXXXUnpackProc::TXXXUnpackProc ( const char *  name)

◆ ~TXXXUnpackProc() [2/2]

virtual TXXXUnpackProc::~TXXXUnpackProc ( )
virtual

Member Function Documentation

◆ BuildEvent() [1/2]

Bool_t TXXXUnpackProc::BuildEvent ( TGo4EventElement dest)
overridevirtual

◆ BuildEvent() [2/2]

Bool_t TXXXUnpackProc::BuildEvent ( TGo4EventElement dest)
overridevirtual

Fill the destination event dest.

Reimplemented from TGo4EventSource.

◆ CreateRawHistograms()

void TXXXUnpackProc::CreateRawHistograms ( int  nbins,
double  xmin,
double  xmax 
)
private

Member Data Documentation

◆ fBoxCond

TGo4ShapedCond* TXXXUnpackProc::fBoxCond {nullptr}
protected

Definition at line 50 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().

◆ fCircleCond

TGo4ShapedCond* TXXXUnpackProc::fCircleCond {nullptr}
protected

Definition at line 49 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

◆ fConArr1

TGo4CondArray * TXXXUnpackProc::fConArr1 {nullptr}
protected

Definition at line 46 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().

◆ fConArr2

TGo4CondArray * TXXXUnpackProc::fConArr2 {nullptr}
protected

Definition at line 47 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().

◆ fcondSet

TGo4Picture * TXXXUnpackProc::fcondSet {nullptr}
protected

Definition at line 58 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().

◆ fconHis1

TGo4WinCond * TXXXUnpackProc::fconHis1 {nullptr}
protected

Definition at line 41 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().

◆ fconHis2

TGo4WinCond * TXXXUnpackProc::fconHis2 {nullptr}
protected

Definition at line 42 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().

◆ fCr1Ch

TH1 * TXXXUnpackProc::fCr1Ch = {nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr}
protected

Definition at line 34 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().

◆ fCr1Ch1x2

TH2 * TXXXUnpackProc::fCr1Ch1x2 {nullptr}
protected

Definition at line 36 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().

◆ fCr2Ch

TH1 * TXXXUnpackProc::fCr2Ch = {nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr}
protected

Definition at line 35 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().

◆ fEllipseCond

TGo4ShapedCond* TXXXUnpackProc::fEllipseCond {nullptr}
protected

Definition at line 48 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

◆ fEvCount

Long_t TXXXUnpackProc::fEvCount {0}
private

Definition at line 42 of file TXXXUnpackProc.h.

Referenced by CreateRawHistograms().

◆ fFreestyleCond

TGo4ShapedCond* TXXXUnpackProc::fFreestyleCond {nullptr}
protected

Definition at line 51 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().

◆ fGraph

TGraph* TXXXUnpackProc::fGraph {nullptr}
protected

Definition at line 55 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().

◆ fHis1

TH1 * TXXXUnpackProc::fHis1 {nullptr}
protected

Definition at line 37 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().

◆ fHis1gate

TH1 * TXXXUnpackProc::fHis1gate {nullptr}
protected

Definition at line 38 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().

◆ fHis2

TH1 * TXXXUnpackProc::fHis2 {nullptr}
protected

Definition at line 39 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().

◆ fHis2gate

TH1 * TXXXUnpackProc::fHis2gate {nullptr}
protected

Definition at line 40 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().

◆ fLaText

TLatex* TXXXUnpackProc::fLaText {nullptr}
protected

Definition at line 59 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

◆ fParam

TXXXParameter* TXXXUnpackProc::fParam {nullptr}
protected

Definition at line 56 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), TXXXUnpackProc(), and ~TXXXUnpackProc().

◆ fParam1

TXXXParameter* TXXXUnpackProc::fParam1 {nullptr}
private

Definition at line 38 of file TXXXUnpackProc.h.

◆ fParam2

TXXXParameter* TXXXUnpackProc::fParam2 {nullptr}
private

Definition at line 39 of file TXXXUnpackProc.h.

◆ fPicture1

TGo4Picture * TXXXUnpackProc::fPicture1 {nullptr}
protected

Definition at line 57 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().

◆ fPolyCon1

TGo4PolyCond * TXXXUnpackProc::fPolyCon1 {nullptr}
protected

Definition at line 45 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), CreateRawHistograms(), TXXXUnpackProc(), and ~TXXXUnpackProc().

◆ fRollingGraph1

TGo4RollingGraph* TXXXUnpackProc::fRollingGraph1 {nullptr}
protected

Definition at line 53 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

◆ fRollingGraph2

TGo4RollingGraph* TXXXUnpackProc::fRollingGraph2 {nullptr}
protected

Definition at line 54 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

◆ fWhitelistCon

TGo4ListCond* TXXXUnpackProc::fWhitelistCon {nullptr}
protected

Definition at line 52 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

◆ fWinCon1

TGo4WinCond * TXXXUnpackProc::fWinCon1 {nullptr}
protected

Definition at line 43 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc(), and ~TXXXUnpackProc().

◆ fWinCon2

TGo4WinCond * TXXXUnpackProc::fWinCon2 {nullptr}
protected

Definition at line 44 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().


The documentation for this class was generated from the following files: