Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TMeshAnalysis Class Reference

#include <TMeshAnalysis.h>

Inheritance diagram for TMeshAnalysis:

TGo4Analysis TGo4CommandReceiver List of all members.

Public Methods

 TMeshAnalysis ()
 TMeshAnalysis (Text_t *input, Int_t type, Int_t port, Text_t *out1, Text_t *out2, Bool_t en1, Bool_t en2)
virtual ~TMeshAnalysis ()
virtual Int_t UserPreLoop ()
 User defined function called once before processing the main event loop. More...

virtual Int_t UserEventFunc ()
 User defined function which processes the actual analysis. More...

virtual Int_t UserPostLoop ()
 User defined function called once after processing the main event loop. More...


Private Attributes

TMeshParameterfPar
TGo4MbsEventfMbsEvent
TH1D * fSize
Int_t fEvents
Int_t fLastEvent

Constructor & Destructor Documentation

TMeshAnalysis::TMeshAnalysis  
 

Definition at line 24 of file TMeshAnalysis.cxx.

TMeshAnalysis::TMeshAnalysis Text_t *    input,
Int_t    type,
Int_t    port,
Text_t *    out1,
Text_t *    out2,
Bool_t    en1,
Bool_t    en2
 

Definition at line 31 of file TMeshAnalysis.cxx.

References TGo4Analysis::AddAnalysisStep(), TGo4Analysis::AddParameter(), TGo4StepFactory::DefEventProcessor(), TGo4StepFactory::DefInputEvent(), TGo4StepFactory::DefOutputEvent(), fPar, GO4EV_MBS_EVENTSERVER, GO4EV_MBS_FILE, GO4EV_MBS_REVSERV, GO4EV_MBS_STREAM, GO4EV_MBS_TRANSPORT, TGo4RevServParameter::SetPort(), TGo4AnalysisStep::SetProcessEnabled(), TGo4AnalysisStep::SetSourceEnabled(), TGo4Analysis::SetStepChecking(), TGo4AnalysisStep::SetStoreEnabled(), and TGo4Analysis::TGo4AnalysisStep.

TMeshAnalysis::~TMeshAnalysis   [virtual]
 

Definition at line 243 of file TMeshAnalysis.cxx.


Member Function Documentation

Int_t TMeshAnalysis::UserPreLoop   [virtual]
 

User defined function called once before processing the main event loop.

Optionally.

Reimplemented from TGo4Analysis.

Definition at line 250 of file TMeshAnalysis.cxx.

References TGo4Analysis::AddHistogram(), fEvents, fLastEvent, fMbsEvent, fSize, TGo4Analysis::GetHistogram(), and TGo4Analysis::GetInputEvent().

Int_t TMeshAnalysis::UserEventFunc   [virtual]
 

User defined function which processes the actual analysis.

May be called explicitely from analysis client thread, or may run in an implicit loop provided by method RunImplicit, if analyis works in a non threaded standalone mode. To be overridden in the user analysis class.

Reimplemented from TGo4Analysis.

Definition at line 321 of file TMeshAnalysis.cxx.

References fEvents, fLastEvent, fMbsEvent, fSize, TGo4MbsEvent::GetCount(), TGo4MbsEvent::GetDlen(), TGo4MbsEvent::GetMbsBufferHeader(), TGo4Analysis::IsNewInputFile(), s_bufhe::l_buf, s_bufhe::l_time, and TGo4Analysis::SetNewInputFile().

Int_t TMeshAnalysis::UserPostLoop   [virtual]
 

User defined function called once after processing the main event loop.

Optionally.

Reimplemented from TGo4Analysis.

Definition at line 274 of file TMeshAnalysis.cxx.

References fEvents, s_filhe::filhe_exp, s_filhe::filhe_file, s_filhe::filhe_label, s_filhe::filhe_lines, s_filhe::filhe_run, s_filhe::filhe_user, fLastEvent, fMbsEvent, TGo4MbsEvent::GetMbsBufferHeader(), TGo4MbsEvent::GetMbsSourceHeader(), i, s_bufhe::l_buf, s_bufhe::l_time, and s_filhe::s_strings.


Member Data Documentation

TMeshParameter* TMeshAnalysis::fPar [private]
 

Definition at line 37 of file TMeshAnalysis.h.

Referenced by TMeshAnalysis().

TGo4MbsEvent* TMeshAnalysis::fMbsEvent [private]
 

Definition at line 38 of file TMeshAnalysis.h.

Referenced by UserEventFunc(), UserPostLoop(), and UserPreLoop().

TH1D* TMeshAnalysis::fSize [private]
 

Definition at line 39 of file TMeshAnalysis.h.

Referenced by UserEventFunc(), and UserPreLoop().

Int_t TMeshAnalysis::fEvents [private]
 

Definition at line 40 of file TMeshAnalysis.h.

Referenced by UserEventFunc(), UserPostLoop(), and UserPreLoop().

Int_t TMeshAnalysis::fLastEvent [private]
 

Definition at line 41 of file TMeshAnalysis.h.

Referenced by UserEventFunc(), UserPostLoop(), and UserPreLoop().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:57 2005 for Go4-v2.10-5 by doxygen1.2.15