GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4HistogramStatus.h
Go to the documentation of this file.
1 // $Id$
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  void Print(Option_t *opt = "") const override;
43 
44  Int_t GetDimension() const { return fiDim; }
45 
46  Int_t GetXbins() const { return fiNbinX; }
47 
48  Int_t GetYbins() const { return fiNbinY; }
49 
50  Int_t GetZbins() const { return fiNbinZ; }
51 
52  Axis_t GetXmin() const { return fdXmin; }
53 
54  Axis_t GetXmax() const { return fdXmax; }
55 
56  Axis_t GetYmin() const { return fdYmin; }
57 
58  Axis_t GetYmax() const { return fdYmax;}
59 
60  Axis_t GetZmin() const { return fdZmin;}
61 
62  Axis_t GetZmax() const { return fdZmax;}
63 
64  Stat_t GetEntries() const { return fdEntries;}
65 
66  Stat_t GetXmean() const { return fdXmean; }
67 
68  Stat_t GetYmean() const { return fdYmean; }
69 
70  Stat_t GetZmean() const { return fdZmean; }
71 
72  Stat_t GetXrms() const { return fdXrms; }
73 
74  Stat_t GetYrms() const { return fdYrms; }
75 
76  Stat_t GetZrms() const { return fdZrms; }
77 
78  private:
79 
81  Int_t fiDim{0};
82 
84  Int_t fiNbinX{0};
85 
87  Int_t fiNbinY{0};
88 
90  Int_t fiNbinZ{0};
91 
93  Axis_t fdXmin{0};
94 
96  Axis_t fdXmax{0};
97 
99  Axis_t fdYmin{0};
100 
102  Axis_t fdYmax{0};
103 
105  Axis_t fdZmin{0};
106 
108  Axis_t fdZmax{0};
109 
111  Stat_t fdEntries{0};
112 
114  Stat_t fdXmean{0};
115 
117  Stat_t fdYmean{0};
118 
120  Stat_t fdZmean{0};
121 
123  Stat_t fdXrms{0};
124 
126  Stat_t fdYrms{0};
127 
129  Stat_t fdZrms{0};
130 
132 };
133 
134 #endif //TGO4HISTOGRAMSTATUS_H
void Print(Option_t *opt="") const override
Stat_t GetEntries() const
Int_t GetDimension() const
ClassDefOverride(TGo4AnalysisProxy, 1)