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

#include <TGo4CompositeProcessor.h>

+ Inheritance diagram for TGo4CompositeProcessor:

Public Member Functions

 TGo4CompositeProcessor ()
 
 TGo4CompositeProcessor (const char *name)
 
virtual ~TGo4CompositeProcessor ()
 
Bool_t BuildEvent (TGo4EventElement *) override
 
void InitEvent (TGo4EventElement *) override
 
void FinalizeEvent () override
 
virtual void ProcessSubevent (TGo4MbsSubEvent *subevt)
 
Short_t GetTriggerNumber () const
 
Int_t GetEventNumber () const
 
- 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)
 
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 Member Functions

void AddSubProcessor (TGo4EventProcessor *)
 
- 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,...)
 

Protected Attributes

TGo4MbsEventfMbsInput {nullptr}
 
Short_t fMbsTriggerNumber {0}
 
Int_t fMbsEventNumber {0}
 

Private Attributes

TObjArray fSubProcessors
 

Additional Inherited Members

- Static Public Attributes inherited from TGo4EventSource
static const Int_t fgiTIMEOUTDEFAULT =1
 
- Protected Types inherited from TGo4EventSource
enum  { fguTXTLEN = 256 }
 

Detailed Description

Definition at line 25 of file TGo4CompositeProcessor.h.

Constructor & Destructor Documentation

◆ TGo4CompositeProcessor() [1/2]

TGo4CompositeProcessor::TGo4CompositeProcessor ( )

Definition at line 18 of file TGo4CompositeProcessor.cxx.

◆ TGo4CompositeProcessor() [2/2]

TGo4CompositeProcessor::TGo4CompositeProcessor ( const char *  name)

Definition at line 27 of file TGo4CompositeProcessor.cxx.

◆ ~TGo4CompositeProcessor()

TGo4CompositeProcessor::~TGo4CompositeProcessor ( )
virtual

Definition at line 35 of file TGo4CompositeProcessor.cxx.

References fSubProcessors.

Member Function Documentation

◆ AddSubProcessor()

void TGo4CompositeProcessor::AddSubProcessor ( TGo4EventProcessor proc)
protected

Definition at line 40 of file TGo4CompositeProcessor.cxx.

References fSubProcessors.

Referenced by GetEventNumber().

◆ BuildEvent()

Bool_t TGo4CompositeProcessor::BuildEvent ( TGo4EventElement dest)
overridevirtual

◆ FinalizeEvent()

void TGo4CompositeProcessor::FinalizeEvent ( )
inlineoverridevirtual

Reimplemented from TGo4EventProcessor.

Definition at line 41 of file TGo4CompositeProcessor.h.

References ProcessSubevent().

Referenced by BuildEvent().

◆ GetEventNumber()

Int_t TGo4CompositeProcessor::GetEventNumber ( ) const
inline

Returns event number of main MBS event

Definition at line 50 of file TGo4CompositeProcessor.h.

References AddSubProcessor(), and fMbsEventNumber.

◆ GetTriggerNumber()

Short_t TGo4CompositeProcessor::GetTriggerNumber ( ) const
inline

Returns trigger number of main MBS event

Definition at line 47 of file TGo4CompositeProcessor.h.

References fMbsTriggerNumber.

◆ InitEvent()

void TGo4CompositeProcessor::InitEvent ( TGo4EventElement )
inlineoverridevirtual

Reimplemented from TGo4EventProcessor.

Definition at line 38 of file TGo4CompositeProcessor.h.

Referenced by BuildEvent().

◆ ProcessSubevent()

void TGo4CompositeProcessor::ProcessSubevent ( TGo4MbsSubEvent subevt)
virtual

Definition at line 45 of file TGo4CompositeProcessor.cxx.

Referenced by BuildEvent(), and FinalizeEvent().

Member Data Documentation

◆ fMbsEventNumber

Int_t TGo4CompositeProcessor::fMbsEventNumber {0}
protected

Definition at line 58 of file TGo4CompositeProcessor.h.

Referenced by BuildEvent(), and GetEventNumber().

◆ fMbsInput

TGo4MbsEvent* TGo4CompositeProcessor::fMbsInput {nullptr}
protected

Definition at line 56 of file TGo4CompositeProcessor.h.

Referenced by BuildEvent().

◆ fMbsTriggerNumber

Short_t TGo4CompositeProcessor::fMbsTriggerNumber {0}
protected

Definition at line 57 of file TGo4CompositeProcessor.h.

Referenced by BuildEvent(), and GetTriggerNumber().

◆ fSubProcessors

TObjArray TGo4CompositeProcessor::fSubProcessors
private

Definition at line 61 of file TGo4CompositeProcessor.h.

Referenced by AddSubProcessor(), BuildEvent(), and ~TGo4CompositeProcessor().


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