GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TXXXUnpackProc.h>
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) |
TGo4EventElement * | GetInputEvent () |
virtual Bool_t | CheckInputEvent (const char *classname) |
void | SetCalibration (TGo4EventCalibration *cali) |
TGo4EventCalibration * | GetCalibration () |
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) |
TGo4Parameter * | GetParameter (const char *name, const char *par_class=0) |
TGo4Condition * | GetAnalysisCondition (const char *name, const char *cond_cl=0) |
TGo4Picture * | GetPicture (const char *name) |
TCanvas * | GetCanvas (const char *name) |
TGo4EventElement * | GetInputEvent (const char *stepname) |
TGo4EventElement * | GetOutputEvent (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) |
TGo4WinCond * | MakeWinCond (const char *fullname, Double_t xmin, Double_t xmax, const char *HistoName=0) |
TGo4WinCond * | MakeWinCond (const char *fullname, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, const char *HistoName=0) |
TGo4PolyCond * | MakePolyCond (const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=0) |
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) |
TGo4ShapedCond * | MakeCircleCond (const char *fullname, Int_t npoints, Double_t cx, Double_t cy, Double_t r, const char *HistoName=0) |
TGo4ShapedCond * | MakeBoxCond (const char *fullname, Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta, const char *HistoName=0) |
TGo4ShapedCond * | MakeFreeShapeCond (const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=0) |
TGo4Parameter * | MakeParameter (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 |
TGo4WinCond * | fconHis1 |
TGo4WinCond * | fconHis2 |
TGo4WinCond * | fWinCon1 |
TGo4WinCond * | fWinCon2 |
TGo4PolyCond * | fPolyCon1 |
TGo4CondArray * | fConArr1 |
TGo4CondArray * | fConArr2 |
TGo4ShapedCond * | fEllipseCond |
TGo4ShapedCond * | fCircleCond |
TGo4ShapedCond * | fBoxCond |
TGo4ShapedCond * | fFreestyleCond |
TXXXParameter * | fParam |
TGo4Picture * | fPicture1 |
TGo4Picture * | fcondSet |
TLatex * | fLaText |
Private Member Functions | |
void | CreateRawHistograms (int nbins, double xmin, double xmax) |
Private Attributes | |
TXXXParameter * | fParam1 |
TXXXParameter * | fParam2 |
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,...) |
Definition at line 27 of file TXXXUnpackProc.h.
TXXXUnpackProc::TXXXUnpackProc | ( | ) |
Definition at line 41 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 70 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, fHis1, fHis1gate, fHis2, fHis2gate, fLaText, fParam, fPicture1, fPolyCon1, fWinCon1, fWinCon2, TGo4EventProcessor::GetAnalysisCondition(), TGo4EventProcessor::GetPicture(), TGo4Log::Info(), TGo4Condition::Invert(), TGo4Picture::LPic(), TGo4EventProcessor::MakeBoxCond(), TGo4EventProcessor::MakeCircleCond(), TGo4EventProcessor::MakeEllipseCond(), TGo4EventProcessor::MakeFreeShapeCond(), TGo4EventProcessor::MakeParameter(), TGo4EventProcessor::MakePolyCond(), 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.
|
virtual |
Definition at line 288 of file TXXXUnpackProc.cxx.
References TXXXParameter::fbHisto, fParam, fPolyCon1, fWinCon1, TGo4Log::Info(), TGo4WinCond::PrintCondition(), and TGo4PolyCond::PrintCondition().
TXXXUnpackProc::TXXXUnpackProc | ( | ) |
TXXXUnpackProc::TXXXUnpackProc | ( | const char * | name | ) |
|
virtual |
|
virtual |
Fill the destination event dest.
Reimplemented from TGo4EventSource.
Definition at line 297 of file TXXXUnpackProc.cxx.
References TGo4Log::Error(), TXXXParameter::fbHisto, fCircleCond, fConArr2, fconHis1, fconHis2, fCr1Ch, fCr1Ch1x2, fCr2Ch, fEllipseCond, fHis1, fHis1gate, fHis2, fHis2gate, TXXXUnpackEvent::fiCrate1, TXXXUnpackEvent::fiCrate2, fLaText, fParam, fPolyCon1, TGo4MbsEvent::GetCount(), TGo4MbsSubEvent::GetDataField(), TGo4EventProcessor::GetInputEvent(), TGo4MbsSubEvent::GetIntLen(), TGo4MbsSubEvent::GetSubcrate(), TGo4MbsEvent::NextSubEvent(), TGo4MbsEvent::ResetIterator(), TGo4EventElement::SetValid(), TGo4WinCond::Test(), TGo4PolyCond::Test(), Test, and XXX_NUM_CHAN.
|
virtual |
Fill the destination event dest.
Reimplemented from TGo4EventSource.
|
private |
Definition at line 184 of file TXXXUnpackProc.cxx.
References fCr1Ch, fCr2Ch, TGo4EventProcessor::GetParameter(), TGo4EventProcessor::MakeTH1(), TGo4EventProcessor::RemoveHistogram(), and TXXXCalibPar::SetCalibSpectrum().
|
protected |
Definition at line 52 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
|
protected |
Definition at line 51 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 48 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
|
protected |
Definition at line 49 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 56 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
|
protected |
Definition at line 43 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 44 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 36 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().
|
protected |
Definition at line 38 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 37 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().
|
protected |
Definition at line 50 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
private |
Definition at line 42 of file TXXXUnpackProc.h.
|
protected |
Definition at line 53 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
|
protected |
Definition at line 39 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 40 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 41 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 42 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 57 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 54 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), TXXXUnpackProc(), and ~TXXXUnpackProc().
|
private |
Definition at line 38 of file TXXXUnpackProc.h.
|
private |
Definition at line 39 of file TXXXUnpackProc.h.
|
protected |
Definition at line 55 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
|
protected |
Definition at line 47 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), TXXXUnpackProc(), and ~TXXXUnpackProc().
|
protected |
Definition at line 45 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and ~TXXXUnpackProc().
|
protected |
Definition at line 46 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().