Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4EventProcessor Class Reference

#include <TGo4EventProcessor.h>

Inheritance diagram for TGo4EventProcessor:

TGo4EventSource TGo4SimpleEventProcessor TMeshB12AnlProc TMeshB1AnlProc TMeshB2AnlProc TMeshB3AnlProc TMeshFinalProc TMeshProviderProc TMeshUnpackProc TXXXAnlProc TXXXProc TXXXProc TXXXUnpackProc TYYYUnpackProc List of all members.

Public Member Functions

 TGo4EventProcessor (const char *name)
 ~TGo4EventProcessor ()
void SetInputEvent (TGo4EventElement *raw)
 Sets reference to external raw event which is used by the concrete processor to unpack the interesting information.
TGo4EventElementGetInputEvent ()
 Access to external raw event which is set as association member.
virtual Bool_t CheckInputEvent (const char *classname)
 Check if input event is valid.
void SetCalibration (TGo4EventCalibration *cali)
 Sets reference to external raw event which is used by the concrete processor to unpack the interesting information.
TGo4EventCalibrationGetCalibration ()
 Access to external calibration object.
virtual Bool_t CheckCalibration (const char *classname)
 Check if calibration class is valid.
Bool_t AddObject (TNamed *anything, const Text_t *subfolder=0)
 Register user object to go4 framework.
Bool_t AddHistogram (TH1 *his, const Text_t *subfolder=0, Bool_t replace=kTRUE)
 Register histogram to go4 framework.
Bool_t AddParameter (TGo4Parameter *par, const Text_t *subfolder=0)
 Register paramter to go4 framework.
Bool_t AddAnalysisCondition (TGo4Condition *con, const Text_t *subfolder=0)
 Register condition to go4 framework.
Bool_t AddPicture (TGo4Picture *pic, const Text_t *subfolder=0)
 Register picture to go4 framework.
Bool_t AddCanvas (TCanvas *can, const Text_t *subfolder=0)
 Register TCanvas to go4 framework.
Bool_t RemoveHistogram (const Text_t *name)
 UnRegister histogram from go4 framework and delete it.
Bool_t RemoveParameter (const Text_t *name)
 UnRegister parameter from go4 framework and delete it.
Bool_t RemoveAnalysisCondition (const Text_t *name)
 UnRegister condition from go4 framework and delete it.
Bool_t RemovePicture (const Text_t *name)
 UnRegister picture from go4 framework and delete it.
Bool_t RemoveCanvas (const Text_t *name)
 UnRegister canvas from go4 framework and delete it.
TNamed * GetObject (const Text_t *name, const Text_t *folder=0)
 Get any object from go4 framework.
TH1 * GetHistogram (const Text_t *name)
 Get histogram from go4 framework.
TGo4ParameterGetParameter (const Text_t *name)
 Get paramter from go4 framework.
TGo4ConditionGetAnalysisCondition (const Text_t *name)
 Get condition from go4 framework.
TGo4PictureGetPicture (const Text_t *name)
 Get picture from go4 framework.
TCanvas * GetCanvas (const Text_t *name)
 Get TCanvas from go4 framework.
TGo4EventElementGetInputEvent (const Text_t *stepname)
 Returns the input event structure of analysis step.
TGo4EventElementGetOutputEvent (const Text_t *stepname)
 Returns the output event structure of analysis step.
void Message (Int_t prio, const Text_t *text,...)
 Display a user message.
void SendObjectToGUI (TNamed *ob)
 Send any object as copy to gui.
virtual void Clear (Option_t *opt="")

Protected Member Functions

 TGo4EventProcessor ()
 Default ctor for root streamer.

Private Attributes

TGo4EventElementfxInputEvent
 1
TGo4EventCalibrationfxCalibration
 

Friends

class TGo4EventElement

Constructor & Destructor Documentation

TGo4EventProcessor::TGo4EventProcessor const char *  name  ) 
 

Definition at line 26 of file TGo4EventProcessor.cxx.

References TRACE.

TGo4EventProcessor::~TGo4EventProcessor  ) 
 

Definition at line 32 of file TGo4EventProcessor.cxx.

References TRACE.

TGo4EventProcessor::TGo4EventProcessor  )  [inline, protected]
 

Default ctor for root streamer.

Definition at line 207 of file TGo4EventProcessor.h.


Member Function Documentation

void TGo4EventProcessor::SetInputEvent TGo4EventElement raw  )  [inline]
 

Sets reference to external raw event which is used by the concrete processor to unpack the interesting information.

Definition at line 72 of file TGo4EventProcessor.h.

References fxInputEvent.

Referenced by main(), TGo4AnalysisStep::Process(), and TMeshProviderProc::SetRealInput().

TGo4EventElement* TGo4EventProcessor::GetInputEvent  )  [inline]
 

Access to external raw event which is set as association member.

Definition at line 80 of file TGo4EventProcessor.h.

References fxInputEvent.

Referenced by TMeshFinalProc::Analysis(), TMeshB3AnlProc::Analysis(), TMeshB2AnlProc::Analysis(), TMeshB1AnlProc::Analysis(), TMeshB12AnlProc::Analysis(), TXXXProc::BuildEvent(), TGo4SimpleEventProcessor::BuildSimpleEvent(), GetInputEvent(), TGo4AnalysisStepManager::GetInputEvent(), TMeshProviderProc::SetRealInput(), TMeshUnpackProc::UnpackBranch1(), TMeshUnpackProc::UnpackBranch2(), TMeshUnpackProc::UnpackBranch3(), TXXXAnlProc::XXXEventAnalysis(), TXXXUnpackProc::XXXUnpack(), and TYYYUnpackProc::YYYUnpack().

Bool_t TGo4EventProcessor::CheckInputEvent const char *  classname  )  [virtual]
 

Check if input event is valid.

Tests the pointer for zero, and if not zero, compares classname of the input event with given string. To be used from the Fill method and from the analysis method init event classes.

Definition at line 37 of file TGo4EventProcessor.cxx.

References fxInputEvent, and TRACE.

void TGo4EventProcessor::SetCalibration TGo4EventCalibration cali  )  [inline]
 

Sets reference to external raw event which is used by the concrete processor to unpack the interesting information.

Definition at line 98 of file TGo4EventProcessor.h.

References fxCalibration.

TGo4EventCalibration* TGo4EventProcessor::GetCalibration  )  [inline]
 

Access to external calibration object.

Definition at line 106 of file TGo4EventProcessor.h.

References fxCalibration.

Referenced by TGo4AnalysisStep::StoreCalibration().

Bool_t TGo4EventProcessor::CheckCalibration const char *  classname  )  [virtual]
 

Check if calibration class is valid.

Tests the pointer for zero, and if not zero, compares classname of the calibration instance with given string. To be used from the Fill method and from the analysis method init event classes.

Definition at line 59 of file TGo4EventProcessor.cxx.

References fxCalibration, and TRACE.

Bool_t TGo4EventProcessor::AddObject TNamed *  anything,
const Text_t *  subfolder = 0
 

Register user object to go4 framework.

Shortcut forwarded to analysis instance

Definition at line 79 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Referenced by TXXXAnlProc::TXXXAnlProc().

Bool_t TGo4EventProcessor::AddHistogram TH1 *  his,
const Text_t *  subfolder = 0,
Bool_t  replace = kTRUE
 

Register histogram to go4 framework.

Shortcut forwarded to analysis instance

Definition at line 84 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Referenced by TXXXAnlProc::TXXXAnlProc(), TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc().

Bool_t TGo4EventProcessor::AddParameter TGo4Parameter par,
const Text_t *  subfolder = 0
 

Register paramter to go4 framework.

Shortcut forwarded to analysis instance

Definition at line 89 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Referenced by TXXXAnlProc::TXXXAnlProc().

Bool_t TGo4EventProcessor::AddAnalysisCondition TGo4Condition con,
const Text_t *  subfolder = 0
 

Register condition to go4 framework.

Shortcut forwarded to analysis instance

Definition at line 104 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Referenced by TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc().

Bool_t TGo4EventProcessor::AddPicture TGo4Picture pic,
const Text_t *  subfolder = 0
 

Register picture to go4 framework.

Shortcut forwarded to analysis instance

Definition at line 94 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

Bool_t TGo4EventProcessor::AddCanvas TCanvas *  can,
const Text_t *  subfolder = 0
 

Register TCanvas to go4 framework.

Shortcut forwarded to analysis instance

Definition at line 99 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Bool_t TGo4EventProcessor::RemoveHistogram const Text_t *  name  ) 
 

UnRegister histogram from go4 framework and delete it.

Shortcut forwarded to analysis instance

Definition at line 109 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Bool_t TGo4EventProcessor::RemoveParameter const Text_t *  name  ) 
 

UnRegister parameter from go4 framework and delete it.

Shortcut forwarded to analysis instance

Definition at line 114 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Bool_t TGo4EventProcessor::RemoveAnalysisCondition const Text_t *  name  ) 
 

UnRegister condition from go4 framework and delete it.

Shortcut forwarded to analysis instance

Definition at line 129 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Bool_t TGo4EventProcessor::RemovePicture const Text_t *  name  ) 
 

UnRegister picture from go4 framework and delete it.

Shortcut forwarded to analysis instance

Definition at line 119 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Bool_t TGo4EventProcessor::RemoveCanvas const Text_t *  name  ) 
 

UnRegister canvas from go4 framework and delete it.

Shortcut forwarded to analysis instance

Definition at line 124 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

TNamed * TGo4EventProcessor::GetObject const Text_t *  name,
const Text_t *  folder = 0
 

Get any object from go4 framework.

Shortcut forwarded to analysis instance

Definition at line 134 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Referenced by TXXXAnlProc::TXXXAnlProc().

TH1 * TGo4EventProcessor::GetHistogram const Text_t *  name  ) 
 

Get histogram from go4 framework.

Shortcut forwarded to analysis instance

Definition at line 140 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Referenced by TXXXAnlProc::TXXXAnlProc(), TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc().

TGo4Parameter * TGo4EventProcessor::GetParameter const Text_t *  name  ) 
 

Get paramter from go4 framework.

Shortcut forwarded to analysis instance

Definition at line 145 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Referenced by TXXXAnlProc::TXXXAnlProc(), TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc().

TGo4Condition * TGo4EventProcessor::GetAnalysisCondition const Text_t *  name  ) 
 

Get condition from go4 framework.

Shortcut forwarded to analysis instance

Definition at line 160 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Referenced by TXXXAnlProc::TXXXAnlProc(), TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc().

TGo4Picture * TGo4EventProcessor::GetPicture const Text_t *  name  ) 
 

Get picture from go4 framework.

Shortcut forwarded to analysis instance

Definition at line 150 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

TCanvas * TGo4EventProcessor::GetCanvas const Text_t *  name  ) 
 

Get TCanvas from go4 framework.

Shortcut forwarded to analysis instance

Definition at line 155 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

TGo4EventElement * TGo4EventProcessor::GetInputEvent const Text_t *  stepname  ) 
 

Returns the input event structure of analysis step.

Argument indicates the step by name. Shortcut forwarded to analysis instance

Definition at line 165 of file TGo4EventProcessor.cxx.

References GetInputEvent(), and TGo4Analysis::Instance().

TGo4EventElement * TGo4EventProcessor::GetOutputEvent const Text_t *  stepname  ) 
 

Returns the output event structure of analysis step.

Argument indicates the step by name. Shortcut forwarded to analysis instance

Definition at line 170 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

void TGo4EventProcessor::Message Int_t  prio,
const Text_t *  text,
  ...
 

Display a user message.

Argument pri defines message priority: <0: display raw text on local terminal like plain printf 0: display on local terminal only; if debug output is enabled 1: local terminal and info message in gui log panel (if gui mode) 2: local terminal and warning message in gui log panel (if gui mode) 3: local terminal and error message in gui log panel (if gui mode)

Definition at line 175 of file TGo4EventProcessor.cxx.

References __MESSAGETEXTLENGTH__, and TGo4Analysis::Instance().

void TGo4EventProcessor::SendObjectToGUI TNamed *  ob  ) 
 

Send any object as copy to gui.

Shortcut forwarded to analysis instance

Definition at line 185 of file TGo4EventProcessor.cxx.

References TGo4Analysis::Instance().

void TGo4EventProcessor::Clear Option_t *  opt = ""  )  [virtual]
 

Reimplemented from TGo4EventSource.

Definition at line 191 of file TGo4EventProcessor.cxx.


Friends And Related Function Documentation

friend class TGo4EventElement [friend]
 

Definition at line 58 of file TGo4EventProcessor.h.


Member Data Documentation

TGo4EventElement* TGo4EventProcessor::fxInputEvent [private]
 

1

Definition at line 212 of file TGo4EventProcessor.h.

Referenced by CheckInputEvent(), GetInputEvent(), and SetInputEvent().

TGo4EventCalibration* TGo4EventProcessor::fxCalibration [private]
 

Definition at line 215 of file TGo4EventProcessor.h.

Referenced by CheckCalibration(), GetCalibration(), and SetCalibration().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:51 2008 for Go4-v3.04-1 by  doxygen 1.4.2