GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
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
19class 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
131 ClassDefOverride(TGo4HistogramStatus, 1)
132};
133
134#endif //TGO4HISTOGRAMSTATUS_H
Runtime status of a histogram object.
Axis_t fdXmax
Upper edge of x axis.
Axis_t fdZmax
Upper edge of z axis.
Axis_t fdXmin
Lower edge of x axis.
Stat_t fdXmean
Mean value in x projection.
Axis_t fdZmin
Lower edge of z axis.
Stat_t fdZrms
Root mean square value in z projection.
Int_t fiNbinX
Number of bins in x axis.
void Print(Option_t *opt="") const override
Axis_t fdYmin
Lower edge of y axis.
Int_t fiNbinY
Number of bins in y axis.
Stat_t fdEntries
Number of filled entries.
Stat_t fdZmean
Mean value in z projection.
Int_t fiNbinZ
Number of bins in z axis.
Axis_t fdYmax
Upper edge of y axis.
Stat_t fdXrms
Root mean square value in x projection.
Stat_t fdYrms
Root mean square value in y projection.
Stat_t fdYmean
Mean value in y projection.
Int_t fiDim
Histogram dimension (1,2,3).
TGo4ObjectStatus()
default ctor for streamer.