00001 // $Id: TGo4HistogramStatus.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4HISTOGRAMSTATUS_H 00015 #define TGO4HISTOGRAMSTATUS_H 00016 00017 #include "TGo4ObjectStatus.h" 00018 00019 #include "Htypes.h" 00020 00021 class TH1; 00022 00028 class TGo4HistogramStatus : public TGo4ObjectStatus { 00029 00030 friend class TGo4AnalysisProxy; 00031 00032 public: 00033 00034 TGo4HistogramStatus(); 00035 00040 TGo4HistogramStatus(TH1* his, Bool_t allstatistics=kFALSE) ; 00041 00042 virtual ~TGo4HistogramStatus() ; 00043 00044 00045 00048 virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0); 00049 00050 Int_t GetDimension(){ return fiDim; } 00051 00052 Int_t GetXbins(){ return fiNbinX; } 00053 00054 Int_t GetYbins(){ return fiNbinY; } 00055 00056 Int_t GetZbins(){ return fiNbinZ; } 00057 00058 Axis_t GetXmin(){ return fdXmin; } 00059 00060 Axis_t GetXmax(){ return fdXmax; } 00061 00062 Axis_t GetYmin(){ return fdYmin; } 00063 00064 Axis_t GetYmax(){ return fdYmax;} 00065 00066 Axis_t GetZmin(){ return fdZmin;} 00067 00068 Axis_t GetZmax(){ return fdZmax;} 00069 00070 Stat_t GetEntries(){ return fdEntries;} 00071 00072 Stat_t GetXmean(){ return fdXmean; } 00073 00074 Stat_t GetYmean(){ return fdYmean; } 00075 00076 Stat_t GetZmean(){ return fdZmean; } 00077 00078 Stat_t GetXrms(){ return fdXrms; } 00079 00080 Stat_t GetYrms(){ return fdYrms; } 00081 00082 Stat_t GetZrms(){ return fdZrms; } 00083 00084 private: 00085 00087 Int_t fiDim; 00088 00090 Int_t fiNbinX; 00091 00093 Int_t fiNbinY; 00094 00096 Int_t fiNbinZ; 00097 00099 Axis_t fdXmin; 00100 00102 Axis_t fdXmax; 00103 00105 Axis_t fdYmin; 00106 00108 Axis_t fdYmax; 00109 00111 Axis_t fdZmin; 00112 00114 Axis_t fdZmax; 00115 00117 Stat_t fdEntries; 00118 00120 Stat_t fdXmean; 00121 00123 Stat_t fdYmean; 00124 00126 Stat_t fdZmean; 00127 00129 Stat_t fdXrms; 00130 00132 Stat_t fdYrms; 00133 00135 Stat_t fdZrms; 00136 00137 ClassDef(TGo4HistogramStatus,1 ) 00138 }; 00139 00140 #endif //TGO4HISTOGRAMSTATUS_H