GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | Friends | List of all members
TGo4HistogramStatus Class Reference

#include <TGo4HistogramStatus.h>

+ Inheritance diagram for TGo4HistogramStatus:

Public Member Functions

 TGo4HistogramStatus ()
 
 TGo4HistogramStatus (TH1 *his, Bool_t allstatistics=kFALSE)
 
virtual ~TGo4HistogramStatus ()
 
virtual Int_t PrintStatus (Text_t *buffer=0, Int_t buflen=0)
 
Int_t GetDimension ()
 
Int_t GetXbins ()
 
Int_t GetYbins ()
 
Int_t GetZbins ()
 
Axis_t GetXmin ()
 
Axis_t GetXmax ()
 
Axis_t GetYmin ()
 
Axis_t GetYmax ()
 
Axis_t GetZmin ()
 
Axis_t GetZmax ()
 
Stat_t GetEntries ()
 
Stat_t GetXmean ()
 
Stat_t GetYmean ()
 
Stat_t GetZmean ()
 
Stat_t GetXrms ()
 
Stat_t GetYrms ()
 
Stat_t GetZrms ()
 
- Public Member Functions inherited from TGo4ObjectStatus
 TGo4ObjectStatus ()
 
 TGo4ObjectStatus (TObject *object, Bool_t withtime=kTRUE)
 
virtual ~TGo4ObjectStatus ()
 
const char * GetObjectClass () const
 
Int_t GetObjectSize () const
 
Bool_t IsResetProtect () const
 
Bool_t IsDeleteProtect () const
 
const char * GetTimeString () const
 
- Public Member Functions inherited from TGo4Status
 TGo4Status ()
 
 TGo4Status (const char *name)
 
 TGo4Status (const char *name, const char *title)
 
virtual ~TGo4Status ()
 
virtual void Print (Option_t *dummy="") const
 

Private Attributes

Int_t fiDim
 
Int_t fiNbinX
 
Int_t fiNbinY
 
Int_t fiNbinZ
 
Axis_t fdXmin
 
Axis_t fdXmax
 
Axis_t fdYmin
 
Axis_t fdYmax
 
Axis_t fdZmin
 
Axis_t fdZmax
 
Stat_t fdEntries
 
Stat_t fdXmean
 
Stat_t fdYmean
 
Stat_t fdZmean
 
Stat_t fdXrms
 
Stat_t fdYrms
 
Stat_t fdZrms
 

Friends

class TGo4AnalysisProxy
 

Additional Inherited Members

- Public Types inherited from TGo4Status
enum  { kGo4NoReset = BIT(20), kGo4CanDelete = BIT(21), kGo4BackStoreReset = BIT(22) }
 
- Static Public Member Functions inherited from TGo4Status
static Text_t * PrintIndent (Text_t *buffer, Int_t &buflen)
 
static Text_t * PrintBuffer (char *buffer, Int_t &buflen, const char *text,...)
 
- Protected Attributes inherited from TGo4ObjectStatus
UInt_t fiObjectSize
 
Bool_t fbResetProtect
 
Bool_t fbDeleteProtect
 
TString fxObjectClass
 
TString fxStatusTime
 

Detailed Description

Runtime status of a histogram object.

Author
J. Adamczewski
Since
09-jul-2001

Definition at line 26 of file TGo4HistogramStatus.h.

Constructor & Destructor Documentation

TGo4HistogramStatus::TGo4HistogramStatus ( )

Definition at line 169 of file TGo4HistogramStatus.cxx.

References GO4TRACE.

TGo4HistogramStatus::TGo4HistogramStatus ( TH1 *  his,
Bool_t  allstatistics = kFALSE 
)

Create status from given histogram object. If argument allstatistics is kTRUE, system time and mean/rms is calculated as well. Default is disabled, since 2d histograms are very time consuming here!

Definition at line 24 of file TGo4HistogramStatus.cxx.

References fdEntries, fdXmax, fdXmean, fdXmin, fdXrms, fdYmax, fdYmean, fdYmin, fdYrms, fdZmax, fdZmean, fdZmin, fdZrms, fiDim, fiNbinX, fiNbinY, fiNbinZ, TGo4ObjectStatus::fiObjectSize, and GO4TRACE.

TGo4HistogramStatus::~TGo4HistogramStatus ( )
virtual

Definition at line 180 of file TGo4HistogramStatus.cxx.

References GO4TRACE.

Member Function Documentation

Int_t TGo4HistogramStatus::GetDimension ( )
inline

Definition at line 48 of file TGo4HistogramStatus.h.

References fiDim.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Stat_t TGo4HistogramStatus::GetEntries ( )
inline

Definition at line 68 of file TGo4HistogramStatus.h.

References fdEntries.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Int_t TGo4HistogramStatus::GetXbins ( )
inline

Definition at line 50 of file TGo4HistogramStatus.h.

References fiNbinX.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Axis_t TGo4HistogramStatus::GetXmax ( )
inline

Definition at line 58 of file TGo4HistogramStatus.h.

References fdXmax.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Stat_t TGo4HistogramStatus::GetXmean ( )
inline

Definition at line 70 of file TGo4HistogramStatus.h.

References fdXmean.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Axis_t TGo4HistogramStatus::GetXmin ( )
inline

Definition at line 56 of file TGo4HistogramStatus.h.

References fdXmin.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Stat_t TGo4HistogramStatus::GetXrms ( )
inline

Definition at line 76 of file TGo4HistogramStatus.h.

References fdXrms.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Int_t TGo4HistogramStatus::GetYbins ( )
inline

Definition at line 52 of file TGo4HistogramStatus.h.

References fiNbinY.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Axis_t TGo4HistogramStatus::GetYmax ( )
inline

Definition at line 62 of file TGo4HistogramStatus.h.

References fdYmax.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Stat_t TGo4HistogramStatus::GetYmean ( )
inline

Definition at line 72 of file TGo4HistogramStatus.h.

References fdYmean.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Axis_t TGo4HistogramStatus::GetYmin ( )
inline

Definition at line 60 of file TGo4HistogramStatus.h.

References fdYmin.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Stat_t TGo4HistogramStatus::GetYrms ( )
inline

Definition at line 78 of file TGo4HistogramStatus.h.

References fdYrms.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Int_t TGo4HistogramStatus::GetZbins ( )
inline

Definition at line 54 of file TGo4HistogramStatus.h.

References fiNbinZ.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Axis_t TGo4HistogramStatus::GetZmax ( )
inline

Definition at line 66 of file TGo4HistogramStatus.h.

References fdZmax.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Stat_t TGo4HistogramStatus::GetZmean ( )
inline

Definition at line 74 of file TGo4HistogramStatus.h.

References fdZmean.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Axis_t TGo4HistogramStatus::GetZmin ( )
inline

Definition at line 64 of file TGo4HistogramStatus.h.

References fdZmin.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Stat_t TGo4HistogramStatus::GetZrms ( )
inline

Definition at line 80 of file TGo4HistogramStatus.h.

References fdZrms.

Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().

Int_t TGo4HistogramStatus::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 TGo4ObjectStatus.

Definition at line 189 of file TGo4HistogramStatus.cxx.

References GetDimension(), GetEntries(), GetXbins(), GetXmax(), GetXmean(), GetXmin(), GetXrms(), GetYbins(), GetYmax(), GetYmean(), GetYmin(), GetYrms(), GetZbins(), GetZmax(), GetZmean(), GetZmin(), GetZrms(), GO4TRACE, TGo4Status::PrintBuffer(), TGo4Status::PrintIndent(), and TGo4ObjectStatus::PrintStatus().

Friends And Related Function Documentation

friend class TGo4AnalysisProxy
friend

Definition at line 28 of file TGo4HistogramStatus.h.

Member Data Documentation

Stat_t TGo4HistogramStatus::fdEntries
private

Number of filled entries.

Definition at line 115 of file TGo4HistogramStatus.h.

Referenced by GetEntries(), and TGo4HistogramStatus().

Axis_t TGo4HistogramStatus::fdXmax
private

Upper edge of x axis.

Definition at line 100 of file TGo4HistogramStatus.h.

Referenced by GetXmax(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdXmean
private

Mean value in x projection.

Definition at line 118 of file TGo4HistogramStatus.h.

Referenced by GetXmean(), and TGo4HistogramStatus().

Axis_t TGo4HistogramStatus::fdXmin
private

Lower edge of x axis.

Definition at line 97 of file TGo4HistogramStatus.h.

Referenced by GetXmin(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdXrms
private

Root mean square value in x projection.

Definition at line 127 of file TGo4HistogramStatus.h.

Referenced by GetXrms(), and TGo4HistogramStatus().

Axis_t TGo4HistogramStatus::fdYmax
private

Upper edge of y axis.

Definition at line 106 of file TGo4HistogramStatus.h.

Referenced by GetYmax(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdYmean
private

Mean value in y projection.

Definition at line 121 of file TGo4HistogramStatus.h.

Referenced by GetYmean(), and TGo4HistogramStatus().

Axis_t TGo4HistogramStatus::fdYmin
private

Lower edge of y axis.

Definition at line 103 of file TGo4HistogramStatus.h.

Referenced by GetYmin(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdYrms
private

Root mean square value in y projection.

Definition at line 130 of file TGo4HistogramStatus.h.

Referenced by GetYrms(), and TGo4HistogramStatus().

Axis_t TGo4HistogramStatus::fdZmax
private

Upper edge of z axis.

Definition at line 112 of file TGo4HistogramStatus.h.

Referenced by GetZmax(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdZmean
private

Mean value in z projection.

Definition at line 124 of file TGo4HistogramStatus.h.

Referenced by GetZmean(), and TGo4HistogramStatus().

Axis_t TGo4HistogramStatus::fdZmin
private

Lower edge of z axis.

Definition at line 109 of file TGo4HistogramStatus.h.

Referenced by GetZmin(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdZrms
private

Root mean square value in z projection.

Definition at line 133 of file TGo4HistogramStatus.h.

Referenced by GetZrms(), and TGo4HistogramStatus().

Int_t TGo4HistogramStatus::fiDim
private

Histogram dimension (1,2,3).

Definition at line 85 of file TGo4HistogramStatus.h.

Referenced by GetDimension(), and TGo4HistogramStatus().

Int_t TGo4HistogramStatus::fiNbinX
private

Number of bins in x axis.

Definition at line 88 of file TGo4HistogramStatus.h.

Referenced by GetXbins(), and TGo4HistogramStatus().

Int_t TGo4HistogramStatus::fiNbinY
private

Number of bins in y axis.

Definition at line 91 of file TGo4HistogramStatus.h.

Referenced by GetYbins(), and TGo4HistogramStatus().

Int_t TGo4HistogramStatus::fiNbinZ
private

Number of bins in z axis.

Definition at line 94 of file TGo4HistogramStatus.h.

Referenced by GetZbins(), and TGo4HistogramStatus().


The documentation for this class was generated from the following files: