GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TXXXUnpackProc.h>
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 |
![]() | |
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 () 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) |
TGo4Parameter * | GetParameter (const char *name, const char *par_class=nullptr) |
TGo4Condition * | GetAnalysisCondition (const char *name, const char *cond_cl=nullptr) |
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) |
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) |
TGo4RollingGraph * | MakeRollingGraph (const char *fullname, const char *title, Int_t points=0, Int_t average=1) |
TGo4WinCond * | MakeWinCond (const char *fullname, Double_t xmin, Double_t xmax, const char *HistoName=nullptr) |
TGo4WinCond * | MakeWinCond (const char *fullname, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, const char *HistoName=nullptr) |
TGo4PolyCond * | MakePolyCond (const char *fullname, Int_t npoints, Double_t(*points) [2], const char *HistoName=nullptr) |
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) |
TGo4ShapedCond * | MakeCircleCond (const char *fullname, Int_t npoints, Double_t cx, Double_t cy, Double_t r, const char *HistoName=nullptr) |
TGo4ShapedCond * | MakeBoxCond (const char *fullname, Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta, const char *HistoName=nullptr) |
TGo4ShapedCond * | MakeFreeShapeCond (const char *fullname, Int_t npoints, Double_t(*points) [2], const char *HistoName=nullptr) |
TGo4ListCond * | MakeListCond (const char *fullname, const Int_t num, const Int_t *values, const char *HistoName=nullptr) |
TGo4ListCond * | MakeListCond (const char *fullname, const Int_t start, const Int_t stop, const Int_t step=1, const char *HistoName=nullptr) |
TGo4ListCond * | MakeListCond (const char *fullname, const char *title, const char *HistoName=nullptr) |
TGo4Parameter * | MakeParameter (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 () |
![]() | |
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} |
TGo4WinCond * | fconHis1 {nullptr} |
TGo4WinCond * | fconHis2 {nullptr} |
TGo4WinCond * | fWinCon1 {nullptr} |
TGo4WinCond * | fWinCon2 {nullptr} |
TGo4PolyCond * | fPolyCon1 {nullptr} |
TGo4CondArray * | fConArr1 {nullptr} |
TGo4CondArray * | fConArr2 {nullptr} |
TGo4ShapedCond * | fEllipseCond {nullptr} |
TGo4ShapedCond * | fCircleCond {nullptr} |
TGo4ShapedCond * | fBoxCond {nullptr} |
TGo4ShapedCond * | fFreestyleCond {nullptr} |
TGo4ListCond * | fWhitelistCon {nullptr} |
TGo4RollingGraph * | fRollingGraph1 {nullptr} |
TGo4RollingGraph * | fRollingGraph2 {nullptr} |
TGraph * | fGraph {nullptr} |
TXXXParameter * | fParam {nullptr} |
TGo4Picture * | fPicture1 {nullptr} |
TGo4Picture * | fcondSet {nullptr} |
TLatex * | fLaText {nullptr} |
Private Member Functions | |
void | CreateRawHistograms (int nbins, double xmin, double xmax) |
Private Attributes | |
TXXXParameter * | fParam1 {nullptr} |
TXXXParameter * | fParam2 {nullptr} |
Long_t | fEvCount {0} |
Additional Inherited Members | |
![]() | |
static const Int_t | fgiTIMEOUTDEFAULT =1 |
![]() | |
enum | { fguTXTLEN = 256 } |
![]() | |
TGo4EventProcessor () | |
![]() | |
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 25 of file TXXXUnpackProc.h.
TXXXUnpackProc::TXXXUnpackProc | ( | ) |
Definition at line 36 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 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.
|
virtual |
Definition at line 256 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 |
|
overridevirtual |
Fill the destination event dest.
Reimplemented from TGo4EventSource.
Definition at line 266 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, TGo4RollingGraph::Fill(), fLaText, fParam, fPolyCon1, fRollingGraph1, fRollingGraph2, fWhitelistCon, TGo4MbsEvent::GetCount(), TGo4EventProcessor::GetInputEvent(), TGo4MbsEvent::NextSubEvent(), TGo4MbsEvent::ResetIterator(), TGo4EventElement::SetValid(), TGo4ListCond::Test(), TGo4WinCond::Test(), TGo4PolyCond::Test(), and XXX_NUM_CHAN.
Referenced by CreateRawHistograms().
|
overridevirtual |
Fill the destination event dest.
Reimplemented from TGo4EventSource.
|
private |
Definition at line 173 of file TXXXUnpackProc.cxx.
References BuildEvent(), TGo4Log::Error(), fConArr2, fconHis1, fconHis2, fCr1Ch, fCr1Ch1x2, fCr2Ch, fEvCount, fHis1, fHis1gate, fHis2, fHis2gate, fPolyCon1, TGo4EventProcessor::GetInputEvent(), TGo4EventProcessor::GetParameter(), TGo4Log::Info(), TGo4EventProcessor::MakeTH1(), TGo4MbsEvent::NextSubEvent(), TGo4EventProcessor::RemoveHistogram(), TGo4MbsEvent::ResetIterator(), TXXXModule::SetAux(), TXXXModule::SetData(), TXXXModule::SetTest(), TGo4EventElement::SetValid(), TGo4WinCond::Test(), TGo4PolyCond::Test(), and XXX_NUM_CRATES.
|
protected |
Definition at line 50 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 46 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
|
protected |
Definition at line 47 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().
|
protected |
Definition at line 58 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
|
protected |
Definition at line 41 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().
|
protected |
Definition at line 42 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().
|
protected |
Definition at line 34 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().
|
protected |
Definition at line 36 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().
|
protected |
Definition at line 35 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().
|
protected |
Definition at line 48 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
private |
Definition at line 42 of file TXXXUnpackProc.h.
Referenced by CreateRawHistograms().
|
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 BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().
|
protected |
Definition at line 38 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().
|
protected |
Definition at line 39 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().
|
protected |
Definition at line 40 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHistograms(), and TXXXUnpackProc().
|
protected |
Definition at line 59 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 56 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 57 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
|
protected |
Definition at line 45 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHistograms(), TXXXUnpackProc(), and ~TXXXUnpackProc().
|
protected |
Definition at line 53 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 54 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
protected |
Definition at line 52 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
|
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().