00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE 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 "Go4StatusBase/TGo4ObjectStatus.h" 00020 #include "TH1.h" 00021 00027 class TGo4HistogramStatus : public TGo4ObjectStatus { 00028 00029 friend class TGo4ComCreateHistogram; 00030 00031 public: 00032 00033 TGo4HistogramStatus(); 00034 00039 TGo4HistogramStatus(TH1* his, Bool_t allstatistics=kFALSE) ; 00040 00041 virtual ~TGo4HistogramStatus() ; 00042 00045 virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0); 00046 00047 Int_t GetDimension(){ return fiDim; } 00048 00049 Int_t GetXbins(){ return fiNbinX; } 00050 00051 Int_t GetYbins(){ return fiNbinY; } 00052 00053 Int_t GetZbins(){ return fiNbinZ; } 00054 00055 Axis_t GetXmin(){ return fdXmin; } 00056 00057 Axis_t GetXmax(){ return fdXmax; } 00058 00059 Axis_t GetYmin(){ return fdYmin; } 00060 00061 Axis_t GetYmax(){ return fdYmax;} 00062 00063 Axis_t GetZmin(){ return fdZmin;} 00064 00065 Axis_t GetZmax(){ return fdZmax;} 00066 00067 Stat_t GetEntries(){ return fdEntries;} 00068 00069 Stat_t GetXmean(){ return fdXmean; } 00070 00071 Stat_t GetYmean(){ return fdYmean; } 00072 00073 Stat_t GetZmean(){ return fdZmean; } 00074 00075 Stat_t GetXrms(){ return fdXrms; } 00076 00077 Stat_t GetYrms(){ return fdYrms; } 00078 00079 Stat_t GetZrms(){ return fdZrms; } 00080 00081 private: 00082 00084 Int_t fiDim; 00085 00087 Int_t fiNbinX; 00088 00090 Int_t fiNbinY; 00091 00093 Int_t fiNbinZ; 00094 00096 Axis_t fdXmin; 00097 00099 Axis_t fdXmax; 00100 00102 Axis_t fdYmin; 00103 00105 Axis_t fdYmax; 00106 00108 Axis_t fdZmin; 00109 00111 Axis_t fdZmax; 00112 00114 Stat_t fdEntries; 00115 00117 Stat_t fdXmean; 00118 00120 Stat_t fdYmean; 00121 00123 Stat_t fdZmean; 00124 00126 Stat_t fdXrms; 00127 00129 Stat_t fdYrms; 00130 00132 Stat_t fdZrms; 00133 00134 ClassDef(TGo4HistogramStatus,1 ) 00135 }; 00136 00137 #endif //TGO4HISTOGRAMSTATUS_H 00138 00139 //----------------------------END OF GO4 SOURCE FILE ---------------------