GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
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 ()
 
void Print (Option_t *opt="") const override
 
Int_t GetDimension () const
 
Int_t GetXbins () const
 
Int_t GetYbins () const
 
Int_t GetZbins () const
 
Axis_t GetXmin () const
 
Axis_t GetXmax () const
 
Axis_t GetYmin () const
 
Axis_t GetYmax () const
 
Axis_t GetZmin () const
 
Axis_t GetZmax () const
 
Stat_t GetEntries () const
 
Stat_t GetXmean () const
 
Stat_t GetYmean () const
 
Stat_t GetZmean () const
 
Stat_t GetXrms () const
 
Stat_t GetYrms () const
 
Stat_t GetZrms () const
 
- 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
 
void Print (Option_t *opt="") const override
 
- Public Member Functions inherited from TGo4Status
 TGo4Status ()
 
 TGo4Status (const char *name)
 
 TGo4Status (const char *name, const char *title)
 
virtual ~TGo4Status ()
 
virtual Int_t PrintStatus (Text_t *buffer=nullptr, Int_t buflen=0)
 
void Print (Option_t *opt="") const override
 

Private Attributes

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

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,...)
 
static void PrintLine (const char *text,...)
 
- Protected Attributes inherited from TGo4ObjectStatus
UInt_t fiObjectSize {0}
 
Bool_t fbResetProtect {kFALSE}
 
Bool_t fbDeleteProtect {kTRUE}
 
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() [1/2]

TGo4HistogramStatus::TGo4HistogramStatus ( )

Definition at line 22 of file TGo4HistogramStatus.cxx.

◆ TGo4HistogramStatus() [2/2]

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 26 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::~TGo4HistogramStatus ( )
virtual

Definition at line 124 of file TGo4HistogramStatus.cxx.

References GO4TRACE.

Member Function Documentation

◆ GetDimension()

Int_t TGo4HistogramStatus::GetDimension ( ) const
inline

Definition at line 44 of file TGo4HistogramStatus.h.

References fiDim.

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

◆ GetEntries()

Stat_t TGo4HistogramStatus::GetEntries ( ) const
inline

Definition at line 64 of file TGo4HistogramStatus.h.

References fdEntries.

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

◆ GetXbins()

Int_t TGo4HistogramStatus::GetXbins ( ) const
inline

Definition at line 46 of file TGo4HistogramStatus.h.

References fiNbinX.

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

◆ GetXmax()

Axis_t TGo4HistogramStatus::GetXmax ( ) const
inline

Definition at line 54 of file TGo4HistogramStatus.h.

References fdXmax.

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

◆ GetXmean()

Stat_t TGo4HistogramStatus::GetXmean ( ) const
inline

Definition at line 66 of file TGo4HistogramStatus.h.

References fdXmean.

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

◆ GetXmin()

Axis_t TGo4HistogramStatus::GetXmin ( ) const
inline

Definition at line 52 of file TGo4HistogramStatus.h.

References fdXmin.

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

◆ GetXrms()

Stat_t TGo4HistogramStatus::GetXrms ( ) const
inline

Definition at line 72 of file TGo4HistogramStatus.h.

References fdXrms.

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

◆ GetYbins()

Int_t TGo4HistogramStatus::GetYbins ( ) const
inline

Definition at line 48 of file TGo4HistogramStatus.h.

References fiNbinY.

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

◆ GetYmax()

Axis_t TGo4HistogramStatus::GetYmax ( ) const
inline

Definition at line 58 of file TGo4HistogramStatus.h.

References fdYmax.

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

◆ GetYmean()

Stat_t TGo4HistogramStatus::GetYmean ( ) const
inline

Definition at line 68 of file TGo4HistogramStatus.h.

References fdYmean.

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

◆ GetYmin()

Axis_t TGo4HistogramStatus::GetYmin ( ) const
inline

Definition at line 56 of file TGo4HistogramStatus.h.

References fdYmin.

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

◆ GetYrms()

Stat_t TGo4HistogramStatus::GetYrms ( ) const
inline

Definition at line 74 of file TGo4HistogramStatus.h.

References fdYrms.

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

◆ GetZbins()

Int_t TGo4HistogramStatus::GetZbins ( ) const
inline

Definition at line 50 of file TGo4HistogramStatus.h.

References fiNbinZ.

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

◆ GetZmax()

Axis_t TGo4HistogramStatus::GetZmax ( ) const
inline

Definition at line 62 of file TGo4HistogramStatus.h.

References fdZmax.

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

◆ GetZmean()

Stat_t TGo4HistogramStatus::GetZmean ( ) const
inline

Definition at line 70 of file TGo4HistogramStatus.h.

References fdZmean.

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

◆ GetZmin()

Axis_t TGo4HistogramStatus::GetZmin ( ) const
inline

Definition at line 60 of file TGo4HistogramStatus.h.

References fdZmin.

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

◆ GetZrms()

Stat_t TGo4HistogramStatus::GetZrms ( ) const
inline

Definition at line 76 of file TGo4HistogramStatus.h.

References fdZrms.

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

◆ Print()

void TGo4HistogramStatus::Print ( Option_t *  opt = "") const
override

Friends And Related Function Documentation

◆ TGo4AnalysisProxy

friend class TGo4AnalysisProxy
friend

Definition at line 28 of file TGo4HistogramStatus.h.

Member Data Documentation

◆ fdEntries

Stat_t TGo4HistogramStatus::fdEntries {0}
private

Number of filled entries.

Definition at line 111 of file TGo4HistogramStatus.h.

Referenced by GetEntries(), and TGo4HistogramStatus().

◆ fdXmax

Axis_t TGo4HistogramStatus::fdXmax {0}
private

Upper edge of x axis.

Definition at line 96 of file TGo4HistogramStatus.h.

Referenced by GetXmax(), and TGo4HistogramStatus().

◆ fdXmean

Stat_t TGo4HistogramStatus::fdXmean {0}
private

Mean value in x projection.

Definition at line 114 of file TGo4HistogramStatus.h.

Referenced by GetXmean(), and TGo4HistogramStatus().

◆ fdXmin

Axis_t TGo4HistogramStatus::fdXmin {0}
private

Lower edge of x axis.

Definition at line 93 of file TGo4HistogramStatus.h.

Referenced by GetXmin(), and TGo4HistogramStatus().

◆ fdXrms

Stat_t TGo4HistogramStatus::fdXrms {0}
private

Root mean square value in x projection.

Definition at line 123 of file TGo4HistogramStatus.h.

Referenced by GetXrms(), and TGo4HistogramStatus().

◆ fdYmax

Axis_t TGo4HistogramStatus::fdYmax {0}
private

Upper edge of y axis.

Definition at line 102 of file TGo4HistogramStatus.h.

Referenced by GetYmax(), and TGo4HistogramStatus().

◆ fdYmean

Stat_t TGo4HistogramStatus::fdYmean {0}
private

Mean value in y projection.

Definition at line 117 of file TGo4HistogramStatus.h.

Referenced by GetYmean(), and TGo4HistogramStatus().

◆ fdYmin

Axis_t TGo4HistogramStatus::fdYmin {0}
private

Lower edge of y axis.

Definition at line 99 of file TGo4HistogramStatus.h.

Referenced by GetYmin(), and TGo4HistogramStatus().

◆ fdYrms

Stat_t TGo4HistogramStatus::fdYrms {0}
private

Root mean square value in y projection.

Definition at line 126 of file TGo4HistogramStatus.h.

Referenced by GetYrms(), and TGo4HistogramStatus().

◆ fdZmax

Axis_t TGo4HistogramStatus::fdZmax {0}
private

Upper edge of z axis.

Definition at line 108 of file TGo4HistogramStatus.h.

Referenced by GetZmax(), and TGo4HistogramStatus().

◆ fdZmean

Stat_t TGo4HistogramStatus::fdZmean {0}
private

Mean value in z projection.

Definition at line 120 of file TGo4HistogramStatus.h.

Referenced by GetZmean(), and TGo4HistogramStatus().

◆ fdZmin

Axis_t TGo4HistogramStatus::fdZmin {0}
private

Lower edge of z axis.

Definition at line 105 of file TGo4HistogramStatus.h.

Referenced by GetZmin(), and TGo4HistogramStatus().

◆ fdZrms

Stat_t TGo4HistogramStatus::fdZrms {0}
private

Root mean square value in z projection.

Definition at line 129 of file TGo4HistogramStatus.h.

Referenced by GetZrms(), and TGo4HistogramStatus().

◆ fiDim

Int_t TGo4HistogramStatus::fiDim {0}
private

Histogram dimension (1,2,3).

Definition at line 81 of file TGo4HistogramStatus.h.

Referenced by GetDimension(), and TGo4HistogramStatus().

◆ fiNbinX

Int_t TGo4HistogramStatus::fiNbinX {0}
private

Number of bins in x axis.

Definition at line 84 of file TGo4HistogramStatus.h.

Referenced by GetXbins(), and TGo4HistogramStatus().

◆ fiNbinY

Int_t TGo4HistogramStatus::fiNbinY {0}
private

Number of bins in y axis.

Definition at line 87 of file TGo4HistogramStatus.h.

Referenced by GetYbins(), and TGo4HistogramStatus().

◆ fiNbinZ

Int_t TGo4HistogramStatus::fiNbinZ {0}
private

Number of bins in z axis.

Definition at line 90 of file TGo4HistogramStatus.h.

Referenced by GetZbins(), and TGo4HistogramStatus().


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