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

TGo4AnalysisClientStatus Class Reference

#include <TGo4AnalysisClientStatus.h>

Inheritance diagram for TGo4AnalysisClientStatus:

TGo4ClientStatus TGo4TaskStatus TGo4Status List of all members.

Public Member Functions

 TGo4AnalysisClientStatus ()
 TGo4AnalysisClientStatus (const char *name)
virtual ~TGo4AnalysisClientStatus ()
Double_t GetRate () const
Double_t GetAvRate () const
Double_t GetTime () const
UInt_t GetCurrentCount () const
const char * GetDateTime () const
const char * GetCurrentSource () const
Bool_t IsAnalysisRunning ()
virtual Int_t PrintStatus (Text_t *buffer=0, Int_t buflen=0)
 basic method to printout status information on stdout; to be overridden by specific subclass

Private Member Functions

void SetRates (Double_t rate, Double_t average, UInt_t counts, Double_t time)
void SetCurrentSource (const char *name)
void SetRunning (Bool_t on)

Private Attributes

UInt_t fuCurrentCount
 Number of events processed since last start.
Double_t fdRate
 Current eventrate (events/sec).
Double_t fdAveRate
 Average eventrate since last reset (events/sec).
Double_t fdTime
 Time sum since last reset.
TString fxDateString
 Time and date of the last update of this status as sql string.
TString fxEventSource
 Name of eventsource of first step / current filelist name.
Bool_t fbAnalysisRunning
 True running state of analysis, independent of event rate.

Friends

class TGo4AnalysisClient

Constructor & Destructor Documentation

TGo4AnalysisClientStatus::TGo4AnalysisClientStatus  ) 
 

Definition at line 24 of file TGo4AnalysisClientStatus.cxx.

TGo4AnalysisClientStatus::TGo4AnalysisClientStatus const char *  name  ) 
 

Definition at line 34 of file TGo4AnalysisClientStatus.cxx.

References TRACE.

TGo4AnalysisClientStatus::~TGo4AnalysisClientStatus  )  [virtual]
 

Definition at line 45 of file TGo4AnalysisClientStatus.cxx.


Member Function Documentation

Double_t TGo4AnalysisClientStatus::GetRate  )  const [inline]
 

Definition at line 33 of file TGo4AnalysisClientStatus.h.

References fdRate.

Referenced by PrintStatus(), and TGo4RootBrowserProxy::UpdateRatemeter().

Double_t TGo4AnalysisClientStatus::GetAvRate  )  const [inline]
 

Definition at line 35 of file TGo4AnalysisClientStatus.h.

References fdAveRate.

Referenced by PrintStatus().

Double_t TGo4AnalysisClientStatus::GetTime  )  const [inline]
 

Definition at line 37 of file TGo4AnalysisClientStatus.h.

References fdTime.

Referenced by PrintStatus(), and TGo4RootBrowserProxy::UpdateRatemeter().

UInt_t TGo4AnalysisClientStatus::GetCurrentCount  )  const [inline]
 

Definition at line 39 of file TGo4AnalysisClientStatus.h.

References fuCurrentCount.

Referenced by PrintStatus(), and TGo4RootBrowserProxy::UpdateRatemeter().

const char* TGo4AnalysisClientStatus::GetDateTime  )  const [inline]
 

Definition at line 41 of file TGo4AnalysisClientStatus.h.

References fxDateString.

Referenced by PrintStatus(), and TGo4RootBrowserProxy::UpdateRatemeter().

const char* TGo4AnalysisClientStatus::GetCurrentSource  )  const [inline]
 

Definition at line 43 of file TGo4AnalysisClientStatus.h.

References fxEventSource.

Referenced by PrintStatus().

Bool_t TGo4AnalysisClientStatus::IsAnalysisRunning  )  [inline]
 

Definition at line 45 of file TGo4AnalysisClientStatus.h.

References fbAnalysisRunning.

Referenced by PrintStatus(), TGo4AnalysisProxy::ReceiveStatus(), and TGo4RootBrowserProxy::UpdateRatemeter().

Int_t TGo4AnalysisClientStatus::PrintStatus Text_t *  buffer = 0,
Int_t  buflen = 0
[virtual]
 

basic method to printout status information on stdout; to be overridden by specific subclass

Reimplemented from TGo4ClientStatus.

Definition at line 49 of file TGo4AnalysisClientStatus.cxx.

References GetAvRate(), GetCurrentCount(), GetCurrentSource(), GetDateTime(), GetRate(), GetTime(), IsAnalysisRunning(), TGo4Status::PrintBuffer(), TGo4ClientStatus::PrintStatus(), and TRACE.

void TGo4AnalysisClientStatus::SetRates Double_t  rate,
Double_t  average,
UInt_t  counts,
Double_t  time
[private]
 

Definition at line 86 of file TGo4AnalysisClientStatus.cxx.

References fdAveRate, fdRate, fdTime, fuCurrentCount, fxDateString, and TRACE.

Referenced by TGo4AnalysisClient::UpdateStatus().

void TGo4AnalysisClientStatus::SetCurrentSource const char *  name  )  [inline, private]
 

Definition at line 54 of file TGo4AnalysisClientStatus.h.

References fxEventSource.

Referenced by TGo4AnalysisClient::UpdateStatus().

void TGo4AnalysisClientStatus::SetRunning Bool_t  on  )  [inline, private]
 

Definition at line 59 of file TGo4AnalysisClientStatus.h.

References fbAnalysisRunning.

Referenced by TGo4AnalysisClient::UpdateStatus().


Friends And Related Function Documentation

friend class TGo4AnalysisClient [friend]
 

Definition at line 23 of file TGo4AnalysisClientStatus.h.


Member Data Documentation

UInt_t TGo4AnalysisClientStatus::fuCurrentCount [private]
 

Number of events processed since last start.

Definition at line 65 of file TGo4AnalysisClientStatus.h.

Referenced by GetCurrentCount(), and SetRates().

Double_t TGo4AnalysisClientStatus::fdRate [private]
 

Current eventrate (events/sec).

Definition at line 68 of file TGo4AnalysisClientStatus.h.

Referenced by GetRate(), and SetRates().

Double_t TGo4AnalysisClientStatus::fdAveRate [private]
 

Average eventrate since last reset (events/sec).

Definition at line 71 of file TGo4AnalysisClientStatus.h.

Referenced by GetAvRate(), and SetRates().

Double_t TGo4AnalysisClientStatus::fdTime [private]
 

Time sum since last reset.

in s.

Definition at line 74 of file TGo4AnalysisClientStatus.h.

Referenced by GetTime(), and SetRates().

TString TGo4AnalysisClientStatus::fxDateString [private]
 

Time and date of the last update of this status as sql string.

Definition at line 77 of file TGo4AnalysisClientStatus.h.

Referenced by GetDateTime(), and SetRates().

TString TGo4AnalysisClientStatus::fxEventSource [private]
 

Name of eventsource of first step / current filelist name.

Definition at line 80 of file TGo4AnalysisClientStatus.h.

Referenced by GetCurrentSource(), and SetCurrentSource().

Bool_t TGo4AnalysisClientStatus::fbAnalysisRunning [private]
 

True running state of analysis, independent of event rate.

Definition at line 83 of file TGo4AnalysisClientStatus.h.

Referenced by IsAnalysisRunning(), and SetRunning().


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