#include <TGo4AnalysisClientStatus.h>
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 |
Definition at line 21 of file TGo4AnalysisClientStatus.h.
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.
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] |
Definition at line 39 of file TGo4AnalysisClientStatus.h.
References fuCurrentCount.
Referenced by TGo4AnalysisStatusMonitor::linkedObjectUpdated(), PrintStatus(), and TGo4RootBrowserProxy::UpdateRatemeter().
const char* TGo4AnalysisClientStatus::GetCurrentSource | ( | ) | const [inline] |
Definition at line 43 of file TGo4AnalysisClientStatus.h.
References fxEventSource.
Referenced by TGo4AnalysisStatusMonitor::linkedObjectUpdated(), and PrintStatus().
const char* TGo4AnalysisClientStatus::GetDateTime | ( | ) | const [inline] |
Definition at line 41 of file TGo4AnalysisClientStatus.h.
References fxDateString.
Referenced by TGo4AnalysisStatusMonitor::linkedObjectUpdated(), PrintStatus(), and TGo4RootBrowserProxy::UpdateRatemeter().
Double_t TGo4AnalysisClientStatus::GetRate | ( | ) | const [inline] |
Definition at line 33 of file TGo4AnalysisClientStatus.h.
References fdRate.
Referenced by TGo4AnalysisStatusMonitor::linkedObjectUpdated(), PrintStatus(), and TGo4RootBrowserProxy::UpdateRatemeter().
Double_t TGo4AnalysisClientStatus::GetTime | ( | ) | const [inline] |
Definition at line 37 of file TGo4AnalysisClientStatus.h.
References fdTime.
Referenced by TGo4AnalysisStatusMonitor::linkedObjectUpdated(), PrintStatus(), and TGo4RootBrowserProxy::UpdateRatemeter().
Bool_t TGo4AnalysisClientStatus::IsAnalysisRunning | ( | ) | [inline] |
Definition at line 45 of file TGo4AnalysisClientStatus.h.
References fbAnalysisRunning.
Referenced by TGo4AnalysisStatusMonitor::linkedObjectUpdated(), 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 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] |
Definition at line 83 of file TGo4AnalysisClientStatus.cxx.
References fdAveRate, fdRate, fdTime, fuCurrentCount, fxDateString, and GO4TRACE.
Referenced by TGo4AnalysisClient::UpdateStatus().
void TGo4AnalysisClientStatus::SetRunning | ( | Bool_t | on | ) | [inline, private] |
Definition at line 56 of file TGo4AnalysisClientStatus.h.
References fbAnalysisRunning.
Referenced by TGo4AnalysisClient::UpdateStatus().
friend class TGo4AnalysisClient [friend] |
Definition at line 23 of file TGo4AnalysisClientStatus.h.
Bool_t TGo4AnalysisClientStatus::fbAnalysisRunning [private] |
True running state of analysis, independent of event rate
Definition at line 77 of file TGo4AnalysisClientStatus.h.
Referenced by IsAnalysisRunning(), and SetRunning().
Double_t TGo4AnalysisClientStatus::fdAveRate [private] |
Average eventrate since last reset (events/sec).
Definition at line 65 of file TGo4AnalysisClientStatus.h.
Referenced by GetAvRate(), and SetRates().
Double_t TGo4AnalysisClientStatus::fdRate [private] |
Current eventrate (events/sec).
Definition at line 62 of file TGo4AnalysisClientStatus.h.
Referenced by GetRate(), and SetRates().
Double_t TGo4AnalysisClientStatus::fdTime [private] |
Time sum since last reset. in s.
Definition at line 68 of file TGo4AnalysisClientStatus.h.
Referenced by GetTime(), and SetRates().
ULong64_t TGo4AnalysisClientStatus::fuCurrentCount [private] |
Number of events processed since last start.
Definition at line 59 of file TGo4AnalysisClientStatus.h.
Referenced by GetCurrentCount(), and SetRates().
TString TGo4AnalysisClientStatus::fxDateString [private] |
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().
TString TGo4AnalysisClientStatus::fxEventSource [private] |
Name of eventsource of first step / current filelist name
Definition at line 74 of file TGo4AnalysisClientStatus.h.
Referenced by GetCurrentSource(), and SetCurrentSource().