Public Member Functions | Private Attributes

TMeshAnalysis Class Reference

#include <TMeshAnalysis.h>

Inheritance diagram for TMeshAnalysis:
TGo4Analysis TGo4CommandReceiver

List of all members.

Public Member Functions

 TMeshAnalysis ()
 TMeshAnalysis (int argc, char **argv)
virtual ~TMeshAnalysis ()
virtual Int_t UserPreLoop ()
virtual Int_t UserEventFunc ()
virtual Int_t UserPostLoop ()

Private Attributes

TMeshParameterfPar
TGo4MbsEventfMbsEvent
TH1D * fSize
Int_t fEvents
Int_t fLastEvent

Detailed Description

Definition at line 23 of file TMeshAnalysis.h.


Constructor & Destructor Documentation

TMeshAnalysis::TMeshAnalysis (  ) 

Definition at line 34 of file TMeshAnalysis.cxx.

References TGo4Log::Error().

TMeshAnalysis::TMeshAnalysis ( int  argc,
char **  argv 
)

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 45 of file TMeshAnalysis.cxx.

References __GO4BUILDVERSION__, TGo4Analysis::AddAnalysisStep(), TGo4Analysis::AddParameter(), TGo4Version::CheckVersion(), TGo4StepFactory::DefEventProcessor(), TGo4StepFactory::DefInputEvent(), TGo4StepFactory::DefOutputEvent(), TGo4Log::Error(), fPar, TGo4Analysis::GetName(), TGo4Log::Info(), TGo4AnalysisStep::SetProcessEnabled(), TGo4AnalysisStep::SetSourceEnabled(), TGo4Analysis::SetStepChecking(), TGo4AnalysisStep::SetStoreEnabled(), and TGo4Analysis::TGo4AnalysisStep.

TMeshAnalysis::~TMeshAnalysis (  )  [virtual]

Definition at line 232 of file TMeshAnalysis.cxx.

References TGo4Log::Info().


Member Function Documentation

Int_t TMeshAnalysis::UserEventFunc (  )  [virtual]

User defined function which processes the actual analysis. May be called explicitly from analysis client thread, or may run in an implicit loop provided by method RunImplicit, if analysis works in a non threaded standalone mode. To be overridden in the user analysis class.

Reimplemented from TGo4Analysis.

Definition at line 288 of file TMeshAnalysis.cxx.

References fEvents, fLastEvent, fMbsEvent, fSize, TGo4MbsEvent::GetCount(), TGo4MbsEvent::GetDlen(), TGo4Log::Info(), TGo4Analysis::IsNewInputFile(), and TGo4MbsEvent::PrintMbsBufferHeader().

Int_t TMeshAnalysis::UserPostLoop (  )  [virtual]

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

Reimplemented from TGo4Analysis.

Definition at line 263 of file TMeshAnalysis.cxx.

References fEvents, fLastEvent, fMbsEvent, TGo4Log::Info(), TGo4MbsEvent::PrintMbsBufferHeader(), and TGo4MbsEvent::PrintMbsFileHeader().

Int_t TMeshAnalysis::UserPreLoop (  )  [virtual]

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

Reimplemented from TGo4Analysis.

Definition at line 239 of file TMeshAnalysis.cxx.

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


Member Data Documentation

Int_t TMeshAnalysis::fEvents [private]

Definition at line 36 of file TMeshAnalysis.h.

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

Int_t TMeshAnalysis::fLastEvent [private]

Definition at line 37 of file TMeshAnalysis.h.

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

Definition at line 34 of file TMeshAnalysis.h.

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

Definition at line 33 of file TMeshAnalysis.h.

Referenced by TMeshAnalysis().

TH1D* TMeshAnalysis::fSize [private]

Definition at line 35 of file TMeshAnalysis.h.

Referenced by UserEventFunc(), and UserPreLoop().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines