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

TMeshAnalysis Class Reference

#include <TMeshAnalysis.h>

Inheritance diagram for TMeshAnalysis:

TGo4Analysis TGo4CommandReceiver List of all members.

Public Member Functions

 TMeshAnalysis ()
 TMeshAnalysis (const char *input, Int_t type, Int_t port, const char *out1, const char *out2, Bool_t en1, Bool_t en2)
virtual ~TMeshAnalysis ()
virtual Int_t UserPreLoop ()
 User defined function called once before processing the main event loop.
virtual Int_t UserEventFunc ()
 User defined function which processes the actual analysis.
virtual Int_t UserPostLoop ()
 User defined function called once after processing the main event loop.

Private Attributes

TMeshParameterfPar
TGo4MbsEventfMbsEvent
TH1D * fSize
Int_t fEvents
Int_t fLastEvent

Constructor & Destructor Documentation

TMeshAnalysis::TMeshAnalysis  ) 
 

Definition at line 28 of file TMeshAnalysis.cxx.

TMeshAnalysis::TMeshAnalysis const char *  input,
Int_t  type,
Int_t  port,
const char *  out1,
const char *  out2,
Bool_t  enable1,
Bool_t  enable2
 

eigth step definitions: Provider for subunit 1 event

ninth step definitions: Provider for subunit 2 event

tenth step definitions: Provider for subunit 3 event

twelth step definitions: Provider for subunit 1/2 combined event

Definition at line 36 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 247 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 254 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 326 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 278 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(), s_bufhe::l_buf, s_bufhe::l_time, s_filhe::s_strings, and cv_string::string.


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 Fri Nov 28 13:01:22 2008 for Go4-v3.04-1 by  doxygen 1.4.2