Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4HistogramStatus Class Reference

Runtime status of a histogram object. More...

#include <TGo4HistogramStatus.h>

Inheritance diagram for TGo4HistogramStatus:

TGo4ObjectStatus TGo4Status List of all members.

Public Member Functions

 TGo4HistogramStatus ()
 TGo4HistogramStatus (TH1 *his, Bool_t allstatistics=kFALSE)
 Create status from given histogram object.
virtual ~TGo4HistogramStatus ()
virtual Int_t PrintStatus (Text_t *buffer=0, Int_t buflen=0)
 basic method to printout status information on stdout; to be overridden by specific subclass
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 ()

Private Attributes

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

Friends

class TGo4AnalysisProxy

Detailed Description

Runtime status of a histogram object.

Author:
J. Adamczewski
Since:
09-jul-2001

Definition at line 30 of file TGo4HistogramStatus.h.


Constructor & Destructor Documentation

TGo4HistogramStatus::TGo4HistogramStatus  ) 
 

Definition at line 171 of file TGo4HistogramStatus.cxx.

References TRACE.

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 TRACE.

TGo4HistogramStatus::~TGo4HistogramStatus  )  [virtual]
 

Definition at line 182 of file TGo4HistogramStatus.cxx.

References TRACE.


Member Function Documentation

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 191 of file TGo4HistogramStatus.cxx.

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

Int_t TGo4HistogramStatus::GetDimension  )  [inline]
 

Definition at line 52 of file TGo4HistogramStatus.h.

References fiDim.

Referenced by PrintStatus().

Int_t TGo4HistogramStatus::GetXbins  )  [inline]
 

Definition at line 54 of file TGo4HistogramStatus.h.

References fiNbinX.

Referenced by PrintStatus().

Int_t TGo4HistogramStatus::GetYbins  )  [inline]
 

Definition at line 56 of file TGo4HistogramStatus.h.

References fiNbinY.

Referenced by PrintStatus().

Int_t TGo4HistogramStatus::GetZbins  )  [inline]
 

Definition at line 58 of file TGo4HistogramStatus.h.

References fiNbinZ.

Referenced by PrintStatus().

Axis_t TGo4HistogramStatus::GetXmin  )  [inline]
 

Definition at line 60 of file TGo4HistogramStatus.h.

References fdXmin.

Referenced by PrintStatus().

Axis_t TGo4HistogramStatus::GetXmax  )  [inline]
 

Definition at line 62 of file TGo4HistogramStatus.h.

References fdXmax.

Referenced by PrintStatus().

Axis_t TGo4HistogramStatus::GetYmin  )  [inline]
 

Definition at line 64 of file TGo4HistogramStatus.h.

References fdYmin.

Referenced by PrintStatus().

Axis_t TGo4HistogramStatus::GetYmax  )  [inline]
 

Definition at line 66 of file TGo4HistogramStatus.h.

References fdYmax.

Referenced by PrintStatus().

Axis_t TGo4HistogramStatus::GetZmin  )  [inline]
 

Definition at line 68 of file TGo4HistogramStatus.h.

References fdZmin.

Referenced by PrintStatus().

Axis_t TGo4HistogramStatus::GetZmax  )  [inline]
 

Definition at line 70 of file TGo4HistogramStatus.h.

References fdZmax.

Referenced by PrintStatus().

Stat_t TGo4HistogramStatus::GetEntries  )  [inline]
 

Definition at line 72 of file TGo4HistogramStatus.h.

References fdEntries.

Referenced by PrintStatus().

Stat_t TGo4HistogramStatus::GetXmean  )  [inline]
 

Definition at line 74 of file TGo4HistogramStatus.h.

References fdXmean.

Referenced by PrintStatus().

Stat_t TGo4HistogramStatus::GetYmean  )  [inline]
 

Definition at line 76 of file TGo4HistogramStatus.h.

References fdYmean.

Referenced by PrintStatus().

Stat_t TGo4HistogramStatus::GetZmean  )  [inline]
 

Definition at line 78 of file TGo4HistogramStatus.h.

References fdZmean.

Referenced by PrintStatus().

Stat_t TGo4HistogramStatus::GetXrms  )  [inline]
 

Definition at line 80 of file TGo4HistogramStatus.h.

References fdXrms.

Referenced by PrintStatus().

Stat_t TGo4HistogramStatus::GetYrms  )  [inline]
 

Definition at line 82 of file TGo4HistogramStatus.h.

References fdYrms.

Referenced by PrintStatus().

Stat_t TGo4HistogramStatus::GetZrms  )  [inline]
 

Definition at line 84 of file TGo4HistogramStatus.h.

References fdZrms.

Referenced by PrintStatus().


Friends And Related Function Documentation

friend class TGo4AnalysisProxy [friend]
 

Definition at line 32 of file TGo4HistogramStatus.h.


Member Data Documentation

Int_t TGo4HistogramStatus::fiDim [private]
 

Histogram dimension (1,2,3).

Definition at line 89 of file TGo4HistogramStatus.h.

Referenced by GetDimension(), and TGo4HistogramStatus().

Int_t TGo4HistogramStatus::fiNbinX [private]
 

Number of bins in x axis.

Definition at line 92 of file TGo4HistogramStatus.h.

Referenced by GetXbins(), and TGo4HistogramStatus().

Int_t TGo4HistogramStatus::fiNbinY [private]
 

Number of bins in y axis.

Definition at line 95 of file TGo4HistogramStatus.h.

Referenced by GetYbins(), and TGo4HistogramStatus().

Int_t TGo4HistogramStatus::fiNbinZ [private]
 

Number of bins in z axis.

Definition at line 98 of file TGo4HistogramStatus.h.

Referenced by GetZbins(), and TGo4HistogramStatus().

Axis_t TGo4HistogramStatus::fdXmin [private]
 

Lower edge of x axis.

Definition at line 101 of file TGo4HistogramStatus.h.

Referenced by GetXmin(), and TGo4HistogramStatus().

Axis_t TGo4HistogramStatus::fdXmax [private]
 

Upper edge of x axis.

Definition at line 104 of file TGo4HistogramStatus.h.

Referenced by GetXmax(), and TGo4HistogramStatus().

Axis_t TGo4HistogramStatus::fdYmin [private]
 

Lower edge of y axis.

Definition at line 107 of file TGo4HistogramStatus.h.

Referenced by GetYmin(), and TGo4HistogramStatus().

Axis_t TGo4HistogramStatus::fdYmax [private]
 

Upper edge of y axis.

Definition at line 110 of file TGo4HistogramStatus.h.

Referenced by GetYmax(), and TGo4HistogramStatus().

Axis_t TGo4HistogramStatus::fdZmin [private]
 

Lower edge of z axis.

Definition at line 113 of file TGo4HistogramStatus.h.

Referenced by GetZmin(), and TGo4HistogramStatus().

Axis_t TGo4HistogramStatus::fdZmax [private]
 

Upper edge of z axis.

Definition at line 116 of file TGo4HistogramStatus.h.

Referenced by GetZmax(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdEntries [private]
 

Number of filled entries.

Definition at line 119 of file TGo4HistogramStatus.h.

Referenced by GetEntries(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdXmean [private]
 

Mean value in x projection.

Definition at line 122 of file TGo4HistogramStatus.h.

Referenced by GetXmean(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdYmean [private]
 

Mean value in y projection.

Definition at line 125 of file TGo4HistogramStatus.h.

Referenced by GetYmean(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdZmean [private]
 

Mean value in z projection.

Definition at line 128 of file TGo4HistogramStatus.h.

Referenced by GetZmean(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdXrms [private]
 

Root mean square value in x projection.

Definition at line 131 of file TGo4HistogramStatus.h.

Referenced by GetXrms(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdYrms [private]
 

Root mean square value in y projection.

Definition at line 134 of file TGo4HistogramStatus.h.

Referenced by GetYrms(), and TGo4HistogramStatus().

Stat_t TGo4HistogramStatus::fdZrms [private]
 

Root mean square value in z projection.

Definition at line 137 of file TGo4HistogramStatus.h.

Referenced by GetZrms(), and TGo4HistogramStatus().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:01:01 2008 for Go4-v3.04-1 by  doxygen 1.4.2