Public Member Functions | Private Member Functions | Private Attributes | Friends

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
ULong64_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)

Private Member Functions

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

Private Attributes

ULong64_t fuCurrentCount
Double_t fdRate
Double_t fdAveRate
Double_t fdTime
TString fxDateString
TString fxEventSource
Bool_t fbAnalysisRunning

Friends

class TGo4AnalysisClient

Detailed Description

Definition at line 21 of file TGo4AnalysisClientStatus.h.


Constructor & Destructor Documentation

TGo4AnalysisClientStatus::TGo4AnalysisClientStatus (  ) 

Definition at line 21 of file TGo4AnalysisClientStatus.cxx.

TGo4AnalysisClientStatus::TGo4AnalysisClientStatus ( const char *  name  ) 

Definition at line 31 of file TGo4AnalysisClientStatus.cxx.

References GO4TRACE.

TGo4AnalysisClientStatus::~TGo4AnalysisClientStatus (  )  [virtual]

Definition at line 42 of file TGo4AnalysisClientStatus.cxx.


Member Function Documentation

Double_t TGo4AnalysisClientStatus::GetAvRate (  )  const [inline]

Definition at line 35 of file TGo4AnalysisClientStatus.h.

References fdAveRate.

Referenced by TGo4AnalysisStatusMonitor::linkedObjectUpdated(), and PrintStatus().

ULong64_t TGo4AnalysisClientStatus::GetCurrentCount (  )  const [inline]
const char* TGo4AnalysisClientStatus::GetCurrentSource (  )  const [inline]
const char* TGo4AnalysisClientStatus::GetDateTime (  )  const [inline]
Double_t TGo4AnalysisClientStatus::GetRate (  )  const [inline]
Double_t TGo4AnalysisClientStatus::GetTime (  )  const [inline]
Bool_t TGo4AnalysisClientStatus::IsAnalysisRunning (  )  [inline]
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 46 of file TGo4AnalysisClientStatus.cxx.

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

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

Definition at line 54 of file TGo4AnalysisClientStatus.h.

References fxEventSource.

Referenced by TGo4AnalysisClient::UpdateStatus().

void TGo4AnalysisClientStatus::SetRates ( Double_t  rate,
Double_t  average,
ULong64_t  counts,
Double_t  time 
) [private]
void TGo4AnalysisClientStatus::SetRunning ( Bool_t  on  )  [inline, private]

Definition at line 56 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

True running state of analysis, independent of event rate

Definition at line 77 of file TGo4AnalysisClientStatus.h.

Referenced by IsAnalysisRunning(), and SetRunning().

Average eventrate since last reset (events/sec).

Definition at line 65 of file TGo4AnalysisClientStatus.h.

Referenced by GetAvRate(), and SetRates().

Current eventrate (events/sec).

Definition at line 62 of file TGo4AnalysisClientStatus.h.

Referenced by GetRate(), and SetRates().

Time sum since last reset. in s.

Definition at line 68 of file TGo4AnalysisClientStatus.h.

Referenced by GetTime(), and SetRates().

Number of events processed since last start.

Definition at line 59 of file TGo4AnalysisClientStatus.h.

Referenced by GetCurrentCount(), and SetRates().

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

Definition at line 71 of file TGo4AnalysisClientStatus.h.

Referenced by GetDateTime(), and SetRates().

Name of eventsource of first step / current filelist name

Definition at line 74 of file TGo4AnalysisClientStatus.h.

Referenced by GetCurrentSource(), and SetCurrentSource().


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