GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4HistogramStatus.h
Go to the documentation of this file.
1 // $Id: TGo4HistogramStatus.h 2627 2019-10-01 08:02:45Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4HISTOGRAMSTATUS_H
15 #define TGO4HISTOGRAMSTATUS_H
16 
17 #include "TGo4ObjectStatus.h"
18 
19 class TH1;
20 
27 
28  friend class TGo4AnalysisProxy;
29 
30  public:
31 
33 
38  TGo4HistogramStatus(TH1* his, Bool_t allstatistics=kFALSE) ;
39 
40  virtual ~TGo4HistogramStatus() ;
41 
42 
43 
46  virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
47 
48  Int_t GetDimension(){ return fiDim; }
49 
50  Int_t GetXbins(){ return fiNbinX; }
51 
52  Int_t GetYbins(){ return fiNbinY; }
53 
54  Int_t GetZbins(){ return fiNbinZ; }
55 
56  Axis_t GetXmin(){ return fdXmin; }
57 
58  Axis_t GetXmax(){ return fdXmax; }
59 
60  Axis_t GetYmin(){ return fdYmin; }
61 
62  Axis_t GetYmax(){ return fdYmax;}
63 
64  Axis_t GetZmin(){ return fdZmin;}
65 
66  Axis_t GetZmax(){ return fdZmax;}
67 
68  Stat_t GetEntries(){ return fdEntries;}
69 
70  Stat_t GetXmean(){ return fdXmean; }
71 
72  Stat_t GetYmean(){ return fdYmean; }
73 
74  Stat_t GetZmean(){ return fdZmean; }
75 
76  Stat_t GetXrms(){ return fdXrms; }
77 
78  Stat_t GetYrms(){ return fdYrms; }
79 
80  Stat_t GetZrms(){ return fdZrms; }
81 
82  private:
83 
85  Int_t fiDim;
86 
88  Int_t fiNbinX;
89 
91  Int_t fiNbinY;
92 
94  Int_t fiNbinZ;
95 
97  Axis_t fdXmin;
98 
100  Axis_t fdXmax;
101 
103  Axis_t fdYmin;
104 
106  Axis_t fdYmax;
107 
109  Axis_t fdZmin;
110 
112  Axis_t fdZmax;
113 
115  Stat_t fdEntries;
116 
118  Stat_t fdXmean;
119 
121  Stat_t fdYmean;
122 
124  Stat_t fdZmean;
125 
127  Stat_t fdXrms;
128 
130  Stat_t fdYrms;
131 
133  Stat_t fdZrms;
134 
136 };
137 
138 #endif //TGO4HISTOGRAMSTATUS_H
ClassDef(TGo4AnalysisProxy, 1)
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)