GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 ()
 
virtual Bool_t BuildEvent (TGo4EventElement *dest)
 
 TXXXUnpackProc ()
 
 TXXXUnpackProc (const char *name)
 
virtual ~TXXXUnpackProc ()
 
virtual Bool_t BuildEvent (TGo4EventElement *dest)
 
- 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 ()
 
virtual Bool_t CheckCalibration (const char *classname)
 
virtual void InitEvent (TGo4EventElement *)
 
virtual void FinalizeEvent ()
 
Bool_t AddObject (TNamed *anything, const char *subfolder=0)
 
Bool_t AddHistogram (TH1 *his, const char *subfolder=0, Bool_t replace=kTRUE)
 
Bool_t AddParameter (TGo4Parameter *par, const char *subfolder=0)
 
Bool_t AddAnalysisCondition (TGo4Condition *con, const char *subfolder=0)
 
Bool_t AddPicture (TGo4Picture *pic, const char *subfolder=0)
 
Bool_t AddCanvas (TCanvas *can, const char *subfolder=0)
 
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=0)
 
TH1 * GetHistogram (const char *name)
 
TGo4ParameterGetParameter (const char *name, const char *par_class=0)
 
TGo4ConditionGetAnalysisCondition (const char *name, const char *cond_cl=0)
 
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)
 
virtual void Clear (Option_t *opt="")
 
void SetMakeWithAutosave (Bool_t on=kTRUE)
 
Bool_t IsObjMade ()
 
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)
 
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)
 
TGraph * MakeGraph (const char *fullname, const char *title, Int_t points=0, Double_t *xvalues=0, Double_t *yvalues=0)
 
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=0)
 
TGo4WinCondMakeWinCond (const char *fullname, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, const char *HistoName=0)
 
TGo4PolyCondMakePolyCond (const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=0)
 
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=0)
 
TGo4ShapedCondMakeCircleCond (const char *fullname, Int_t npoints, Double_t cx, Double_t cy, Double_t r, const char *HistoName=0)
 
TGo4ShapedCondMakeBoxCond (const char *fullname, Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta, const char *HistoName=0)
 
TGo4ShapedCondMakeFreeShapeCond (const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=0)
 
TGo4ListCondMakeListCond (const char *fullname, const Int_t num, const Int_t *values, const char *HistoName=0)
 
TGo4ListCondMakeListCond (const char *fullname, const Int_t start, const Int_t stop, const Int_t step=1, const char *HistoName=0)
 
TGo4ListCondMakeListCond (const char *fullname, const char *title, const char *HistoName=0)
 
TGo4ParameterMakeParameter (const char *fullname, const char *classname, const char *newcmd=0)
 
Long_t ExecuteScript (const char *script_name)
 
Long_t ExecutePython (const char *macro_name, Int_t *errcode=0)
 
Long_t ExecuteLine (const char *command, Int_t *errcode=0)
 
Bool_t IsKeepInputEvent ()
 
void SetKeepInputEvent (Bool_t val=kTRUE)
 
Bool_t IsKeepOutputEvent ()
 
void SetKeepOutputEvent (Bool_t val=kTRUE)
 
virtual void UserPreLoop ()
 
virtual void UserPostLoop ()
 
- Public Member Functions inherited from TGo4EventSource
 TGo4EventSource (const char *name)
 
virtual ~TGo4EventSource ()
 
 TGo4EventSource ()
 
Int_t GetCreateStatus () const
 
Int_t GetEventStatus () const
 
const char * GetErrMess () const
 
virtual const char * GetActiveName ()
 
virtual Bool_t CheckEventClass (TClass *cl)
 

Protected Attributes

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

Private Member Functions

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

Private Attributes

TXXXParameterfParam1
 
TXXXParameterfParam2
 
Long_t fEvCount
 

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 27 of file TXXXUnpackProc.h.

Constructor & Destructor Documentation

TXXXUnpackProc::TXXXUnpackProc ( )

Definition at line 35 of file TXXXUnpackProc.cxx.

References fCr1Ch, fCr2Ch, and XXX_NUM_CHAN.

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 65 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::~TXXXUnpackProc ( )
virtual
TXXXUnpackProc::TXXXUnpackProc ( )
TXXXUnpackProc::TXXXUnpackProc ( const char *  name)
virtual TXXXUnpackProc::~TXXXUnpackProc ( )
virtual

Member Function Documentation

Bool_t TXXXUnpackProc::BuildEvent ( TGo4EventElement dest)
virtual
virtual Bool_t TXXXUnpackProc::BuildEvent ( TGo4EventElement dest)
virtual

Fill the destination event dest.

Reimplemented from TGo4EventSource.

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

Member Data Documentation

TGo4ShapedCond* TXXXUnpackProc::fBoxCond
protected

Definition at line 52 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().

TGo4ShapedCond* TXXXUnpackProc::fCircleCond
protected

Definition at line 51 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TGo4CondArray * TXXXUnpackProc::fConArr1
protected

Definition at line 48 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().

TGo4CondArray * TXXXUnpackProc::fConArr2
protected

Definition at line 49 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TGo4Picture * TXXXUnpackProc::fcondSet
protected

Definition at line 60 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().

TGo4WinCond * TXXXUnpackProc::fconHis1
protected

Definition at line 43 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TGo4WinCond * TXXXUnpackProc::fconHis2
protected

Definition at line 44 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TH1 * TXXXUnpackProc::fCr1Ch
protected

Definition at line 36 of file TXXXUnpackProc.h.

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

TH2 * TXXXUnpackProc::fCr1Ch1x2
protected

Definition at line 38 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TH1 * TXXXUnpackProc::fCr2Ch
protected

Definition at line 37 of file TXXXUnpackProc.h.

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

TGo4ShapedCond* TXXXUnpackProc::fEllipseCond
protected

Definition at line 50 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

Long_t TXXXUnpackProc::fEvCount
private

Definition at line 42 of file TXXXUnpackProc.h.

TGo4ShapedCond* TXXXUnpackProc::fFreestyleCond
protected

Definition at line 53 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().

TGraph* TXXXUnpackProc::fGraph
protected

Definition at line 57 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().

TH1 * TXXXUnpackProc::fHis1
protected

Definition at line 39 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TH1 * TXXXUnpackProc::fHis1gate
protected

Definition at line 40 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TH1 * TXXXUnpackProc::fHis2
protected

Definition at line 41 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TH1 * TXXXUnpackProc::fHis2gate
protected

Definition at line 42 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TLatex* TXXXUnpackProc::fLaText
protected

Definition at line 61 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TXXXParameter* TXXXUnpackProc::fParam
protected

Definition at line 58 of file TXXXUnpackProc.h.

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

TXXXParameter* TXXXUnpackProc::fParam1
private

Definition at line 38 of file TXXXUnpackProc.h.

TXXXParameter* TXXXUnpackProc::fParam2
private

Definition at line 39 of file TXXXUnpackProc.h.

TGo4Picture * TXXXUnpackProc::fPicture1
protected

Definition at line 59 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().

TGo4PolyCond * TXXXUnpackProc::fPolyCon1
protected

Definition at line 47 of file TXXXUnpackProc.h.

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

TGo4RollingGraph* TXXXUnpackProc::fRollingGraph1
protected

Definition at line 55 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TGo4RollingGraph* TXXXUnpackProc::fRollingGraph2
protected

Definition at line 56 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TGo4ListCond* TXXXUnpackProc::fWhitelistCon
protected

Definition at line 54 of file TXXXUnpackProc.h.

Referenced by BuildEvent(), and TXXXUnpackProc().

TGo4WinCond * TXXXUnpackProc::fWinCon1
protected

Definition at line 45 of file TXXXUnpackProc.h.

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

TGo4WinCond * TXXXUnpackProc::fWinCon2
protected

Definition at line 46 of file TXXXUnpackProc.h.

Referenced by TXXXUnpackProc().


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