GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4HistogramStatus Class Reference

Runtime status of a histogram object. More...

#include <TGo4HistogramStatus.h>

+ Inheritance diagram for TGo4HistogramStatus:

Public Member Functions

 TGo4HistogramStatus ()
 
 TGo4HistogramStatus (TH1 *his, Bool_t allstatistics=kFALSE)
 Create status from given histogram object.
 
virtual ~TGo4HistogramStatus ()
 
Int_t GetDimension () const
 
Stat_t GetEntries () const
 
Int_t GetXbins () const
 
Axis_t GetXmax () const
 
Stat_t GetXmean () const
 
Axis_t GetXmin () const
 
Stat_t GetXrms () const
 
Int_t GetYbins () const
 
Axis_t GetYmax () const
 
Stat_t GetYmean () const
 
Axis_t GetYmin () const
 
Stat_t GetYrms () const
 
Int_t GetZbins () const
 
Axis_t GetZmax () const
 
Stat_t GetZmean () const
 
Axis_t GetZmin () const
 
Stat_t GetZrms () const
 
void Print (Option_t *opt="") const override
 
- Public Member Functions inherited from TGo4ObjectStatus
 TGo4ObjectStatus ()
 default ctor for streamer.
 
 TGo4ObjectStatus (TObject *object, Bool_t withtime=kTRUE)
 Create status information from given TObject.
 
virtual ~TGo4ObjectStatus ()
 
const char * GetObjectClass () const
 ClassName of the described object.
 
Int_t GetObjectSize () const
 Size of described object in byte.
 
const char * GetTimeString () const
 Creation time string; sql format.
 
Bool_t IsDeleteProtect () const
 Object's delete protection state.
 
Bool_t IsResetProtect () const
 Object's reset protection state.
 
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 ()
 
void Print (Option_t *opt="") const override
 
virtual Int_t PrintStatus (Text_t *buffer=nullptr, Int_t buflen=0)
 DEPRECATED - please use Print(Option_t *) signature basic method to printout status information on stdout; to be overridden by specific subclass.
 

Private Attributes

Stat_t fdEntries {0}
 Number of filled entries.
 
Axis_t fdXmax {0}
 Upper edge of x axis.
 
Stat_t fdXmean {0}
 Mean value in x projection.
 
Axis_t fdXmin {0}
 Lower edge of x axis.
 
Stat_t fdXrms {0}
 Root mean square value in x projection.
 
Axis_t fdYmax {0}
 Upper edge of y axis.
 
Stat_t fdYmean {0}
 Mean value in y projection.
 
Axis_t fdYmin {0}
 Lower edge of y axis.
 
Stat_t fdYrms {0}
 Root mean square value in y projection.
 
Axis_t fdZmax {0}
 Upper edge of z axis.
 
Stat_t fdZmean {0}
 Mean value in z projection.
 
Axis_t fdZmin {0}
 Lower edge of z axis.
 
Stat_t fdZrms {0}
 Root mean square value in z projection.
 
Int_t fiDim {0}
 Histogram dimension (1,2,3).
 
Int_t fiNbinX {0}
 Number of bins in x axis.
 
Int_t fiNbinY {0}
 Number of bins in y axis.
 
Int_t fiNbinZ {0}
 Number of bins in z axis.
 

Friends

class TGo4AnalysisProxy
 

Additional Inherited Members

- Public Types inherited from TGo4Status
enum  { kGo4NoReset = BIT(20) , kGo4CanDelete = BIT(21) , kGo4BackStoreReset = BIT(22) }
 Go4 status bits to be used in object manager to suppress resetting or deleting histograms, etc. More...
 
- Static Public Member Functions inherited from TGo4Status
static Text_t * PrintBuffer (char *buffer, Int_t &buflen, const char *text,...)
 Print text with variable expression into buffer.
 
static Text_t * PrintIndent (Text_t *buffer, Int_t &buflen)
 Insert indentation blanks into text buffer.
 
static void PrintLine (const char *text,...)
 Print single line of debug output with appropriate indent.
 
- Protected Attributes inherited from TGo4ObjectStatus
Bool_t fbDeleteProtect {kTRUE}
 If true, described object is protected against deletion from gui.
 
Bool_t fbResetProtect {kFALSE}
 If true, described object is protected against reset (Clear()) from gui.
 
UInt_t fiObjectSize {0}
 Size of the described object in byte.
 
TString fxObjectClass
 Classname of the described object.
 
TString fxStatusTime
 creation time of status object
 

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.

References TGo4ObjectStatus::TGo4ObjectStatus().

◆ 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 TGo4ObjectStatus::TGo4ObjectStatus(), 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 96 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()

Friends And Related Symbol Documentation

◆ TGo4AnalysisProxy

friend class TGo4AnalysisProxy
friend

Definition at line 28 of file TGo4HistogramStatus.h.

References TGo4AnalysisProxy.

Referenced by TGo4AnalysisProxy.

Field Documentation

◆ fdEntries

Stat_t TGo4HistogramStatus::fdEntries {0}
private

Number of filled entries.

Definition at line 111 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetEntries().

◆ fdXmax

Axis_t TGo4HistogramStatus::fdXmax {0}
private

Upper edge of x axis.

Definition at line 96 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetXmax().

◆ fdXmean

Stat_t TGo4HistogramStatus::fdXmean {0}
private

Mean value in x projection.

Definition at line 114 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetXmean().

◆ fdXmin

Axis_t TGo4HistogramStatus::fdXmin {0}
private

Lower edge of x axis.

Definition at line 93 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetXmin().

◆ fdXrms

Stat_t TGo4HistogramStatus::fdXrms {0}
private

Root mean square value in x projection.

Definition at line 123 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetXrms().

◆ fdYmax

Axis_t TGo4HistogramStatus::fdYmax {0}
private

Upper edge of y axis.

Definition at line 102 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetYmax().

◆ fdYmean

Stat_t TGo4HistogramStatus::fdYmean {0}
private

Mean value in y projection.

Definition at line 117 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetYmean().

◆ fdYmin

Axis_t TGo4HistogramStatus::fdYmin {0}
private

Lower edge of y axis.

Definition at line 99 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetYmin().

◆ fdYrms

Stat_t TGo4HistogramStatus::fdYrms {0}
private

Root mean square value in y projection.

Definition at line 126 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetYrms().

◆ fdZmax

Axis_t TGo4HistogramStatus::fdZmax {0}
private

Upper edge of z axis.

Definition at line 108 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetZmax().

◆ fdZmean

Stat_t TGo4HistogramStatus::fdZmean {0}
private

Mean value in z projection.

Definition at line 120 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetZmean().

◆ fdZmin

Axis_t TGo4HistogramStatus::fdZmin {0}
private

Lower edge of z axis.

Definition at line 105 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetZmin().

◆ fdZrms

Stat_t TGo4HistogramStatus::fdZrms {0}
private

Root mean square value in z projection.

Definition at line 129 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetZrms().

◆ fiDim

Int_t TGo4HistogramStatus::fiDim {0}
private

Histogram dimension (1,2,3).

Definition at line 81 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetDimension().

◆ fiNbinX

Int_t TGo4HistogramStatus::fiNbinX {0}
private

Number of bins in x axis.

Definition at line 84 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetXbins().

◆ fiNbinY

Int_t TGo4HistogramStatus::fiNbinY {0}
private

Number of bins in y axis.

Definition at line 87 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetYbins().

◆ fiNbinZ

Int_t TGo4HistogramStatus::fiNbinZ {0}
private

Number of bins in z axis.

Definition at line 90 of file TGo4HistogramStatus.h.

Referenced by TGo4HistogramStatus(), and GetZbins().


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