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

TXXXAnalysis Class Reference

#include <TXXXAnalysis.h>

Inheritance diagram for TXXXAnalysis:

TGo4Analysis TGo4Analysis TGo4CommandReceiver TGo4CommandReceiver List of all members.

Public Member Functions

 TXXXAnalysis ()
 TXXXAnalysis (const char *input, Int_t type, Int_t port, const char *out, Bool_t enable)
virtual ~TXXXAnalysis ()
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.
 TXXXAnalysis ()
 TXXXAnalysis (Text_t *input, Int_t type, Int_t port, Text_t *out1, Text_t *out2, Bool_t en1, Bool_t en2)
virtual ~TXXXAnalysis ()
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

TFile * fUserFile
TGo4MbsEventfMbsEvent
TXXXParamfPar
TXXXControlfCtl
Int_t fEvents
Int_t fLastEvent
TFile * fUserFile
TGo4MbsEventfMbsEvent
TXXXUnpackEventfRawEvent
TXXXAnlEventfCalEvent
TXXXParameterfPar
TGo4FitterEnvelopefFitEnvSize
TGo4FitterEnvelopefFitEnvSpectrum
TH1D * fSize

Constructor & Destructor Documentation

TXXXAnalysis::TXXXAnalysis  ) 
 

Definition at line 28 of file TXXXAnalysis.cxx.

TXXXAnalysis::TXXXAnalysis const char *  input,
Int_t  type,
Int_t  port,
const char *  out,
Bool_t  enable
 

Definition at line 31 of file TXXXAnalysis.cxx.

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

TXXXAnalysis::~TXXXAnalysis  )  [virtual]
 

Definition at line 116 of file TXXXAnalysis.cxx.

TXXXAnalysis::TXXXAnalysis  ) 
 

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

Definition at line 46 of file TXXXAnalysis.cxx.

References TGo4Analysis::AddAnalysisStep(), TGo4Analysis::AddParameter(), fPar, TXXXParam::frP1, TXXXParam::frP2, GO4EV_MBS_EVENTSERVER, GO4EV_MBS_FILE, GO4EV_MBS_RANDOM, GO4EV_MBS_REVSERV, GO4EV_MBS_STREAM, GO4EV_MBS_TRANSPORT, TGo4AnalysisStep::SetErrorStopEnabled(), TGo4FileStoreParameter::SetOverwriteMode(), TGo4RevServParameter::SetPort(), TGo4AnalysisStep::SetProcessEnabled(), TGo4AnalysisStep::SetSourceEnabled(), TGo4AnalysisStep::SetStoreEnabled(), and TGo4Analysis::TGo4AnalysisStep.

virtual TXXXAnalysis::~TXXXAnalysis  )  [virtual]
 


Member Function Documentation

Int_t TXXXAnalysis::UserPreLoop  )  [virtual]
 

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

Optionally.

Reimplemented from TGo4Analysis.

Definition at line 122 of file TXXXAnalysis.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, TGo4Analysis::GetInputEvent(), TGo4MbsEvent::GetMbsSourceHeader(), s_filhe::s_strings, and cv_string::string.

Int_t TXXXAnalysis::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 163 of file TXXXAnalysis.cxx.

References fEvents, fLastEvent, fMbsEvent, TGo4MbsEvent::GetCount(), TGo4Analysis::IsNewInputFile(), and TGo4Analysis::SetNewInputFile().

Int_t TXXXAnalysis::UserPostLoop  )  [virtual]
 

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

Optionally.

Reimplemented from TGo4Analysis.

Definition at line 152 of file TXXXAnalysis.cxx.

References fEvents, fLastEvent, and fMbsEvent.

virtual Int_t TXXXAnalysis::UserPreLoop  )  [virtual]
 

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

Optionally.

Reimplemented from TGo4Analysis.

virtual Int_t TXXXAnalysis::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.

virtual Int_t TXXXAnalysis::UserPostLoop  )  [virtual]
 

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

Optionally.

Reimplemented from TGo4Analysis.


Member Data Documentation

TFile* TXXXAnalysis::fUserFile [private]
 

Definition at line 35 of file TXXXAnalysis.h.

TGo4MbsEvent* TXXXAnalysis::fMbsEvent [private]
 

Definition at line 36 of file TXXXAnalysis.h.

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

TXXXParam* TXXXAnalysis::fPar [private]
 

Definition at line 37 of file TXXXAnalysis.h.

Referenced by TXXXAnalysis().

TXXXControl* TXXXAnalysis::fCtl [private]
 

Definition at line 38 of file TXXXAnalysis.h.

Referenced by TXXXAnalysis().

Int_t TXXXAnalysis::fEvents [private]
 

Definition at line 47 of file TXXXAnalysis.h.

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

Int_t TXXXAnalysis::fLastEvent [private]
 

Definition at line 48 of file TXXXAnalysis.h.

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

TFile* TXXXAnalysis::fUserFile [private]
 

Definition at line 39 of file TXXXAnalysis.h.

TGo4MbsEvent* TXXXAnalysis::fMbsEvent [private]
 

Definition at line 40 of file TXXXAnalysis.h.

TXXXUnpackEvent* TXXXAnalysis::fRawEvent [private]
 

Definition at line 41 of file TXXXAnalysis.h.

TXXXAnlEvent* TXXXAnalysis::fCalEvent [private]
 

Definition at line 42 of file TXXXAnalysis.h.

TXXXParameter* TXXXAnalysis::fPar [private]
 

Definition at line 43 of file TXXXAnalysis.h.

TGo4FitterEnvelope* TXXXAnalysis::fFitEnvSize [private]
 

Definition at line 44 of file TXXXAnalysis.h.

TGo4FitterEnvelope* TXXXAnalysis::fFitEnvSpectrum [private]
 

Definition at line 45 of file TXXXAnalysis.h.

TH1D* TXXXAnalysis::fSize [private]
 

Definition at line 46 of file TXXXAnalysis.h.


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