00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4HISTOGRAMSTATUS_H 00017 #define TGO4HISTOGRAMSTATUS_H 00018 00019 #include "TGo4ObjectStatus.h" 00020 00021 #include "Htypes.h" 00022 00023 class TH1; 00024 00030 class TGo4HistogramStatus : public TGo4ObjectStatus { 00031 00032 friend class TGo4AnalysisProxy; 00033 00034 public: 00035 00036 TGo4HistogramStatus(); 00037 00042 TGo4HistogramStatus(TH1* his, Bool_t allstatistics=kFALSE) ; 00043 00044 virtual ~TGo4HistogramStatus() ; 00045 00046 00047 00050 virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0); 00051 00052 Int_t GetDimension(){ return fiDim; } 00053 00054 Int_t GetXbins(){ return fiNbinX; } 00055 00056 Int_t GetYbins(){ return fiNbinY; } 00057 00058 Int_t GetZbins(){ return fiNbinZ; } 00059 00060 Axis_t GetXmin(){ return fdXmin; } 00061 00062 Axis_t GetXmax(){ return fdXmax; } 00063 00064 Axis_t GetYmin(){ return fdYmin; } 00065 00066 Axis_t GetYmax(){ return fdYmax;} 00067 00068 Axis_t GetZmin(){ return fdZmin;} 00069 00070 Axis_t GetZmax(){ return fdZmax;} 00071 00072 Stat_t GetEntries(){ return fdEntries;} 00073 00074 Stat_t GetXmean(){ return fdXmean; } 00075 00076 Stat_t GetYmean(){ return fdYmean; } 00077 00078 Stat_t GetZmean(){ return fdZmean; } 00079 00080 Stat_t GetXrms(){ return fdXrms; } 00081 00082 Stat_t GetYrms(){ return fdYrms; } 00083 00084 Stat_t GetZrms(){ return fdZrms; } 00085 00086 private: 00087 00089 Int_t fiDim; 00090 00092 Int_t fiNbinX; 00093 00095 Int_t fiNbinY; 00096 00098 Int_t fiNbinZ; 00099 00101 Axis_t fdXmin; 00102 00104 Axis_t fdXmax; 00105 00107 Axis_t fdYmin; 00108 00110 Axis_t fdYmax; 00111 00113 Axis_t fdZmin; 00114 00116 Axis_t fdZmax; 00117 00119 Stat_t fdEntries; 00120 00122 Stat_t fdXmean; 00123 00125 Stat_t fdYmean; 00126 00128 Stat_t fdZmean; 00129 00131 Stat_t fdXrms; 00132 00134 Stat_t fdYrms; 00135 00137 Stat_t fdZrms; 00138 00139 ClassDef(TGo4HistogramStatus,1 ) 00140 }; 00141 00142 #endif //TGO4HISTOGRAMSTATUS_H 00143 00144 //----------------------------END OF GO4 SOURCE FILE ---------------------