|
CbmRoot
|
TotalSums1D including storage for total sums of w*x*y, w*y, w*y*y products. More...
#include <Histogram.h>
Public Member Functions | |
| double | GetTotSumWXY () const |
| Gets total sum of weight over squared y products. | |
| double | GetTotSumWY () const |
| Gets total sum of weight over y products. | |
| double | GetTotSumWY2 () const |
| Gets total sum of weight over squared y products. | |
| double | GetTotSumW () const |
| Gets total sum of weights. | |
| double | GetTotSumW2 () const |
| Gets total sum of squared weights. | |
| double | GetTotSumWX () const |
| Gets total sum of weight over x products. | |
| double | GetTotSumWX2 () const |
| Gets total sum of weight over squared x products. | |
Protected Member Functions | |
| void | Reset () |
| Resets the sums. | |
| void | UpdateTotalSums (double x, double y, double w) |
| Updates the sums. | |
| void | UpdateTotalSums (double x, double w) |
| Updates the sums. | |
Protected Attributes | |
| double | fTotSumWY = 0. |
| Total sum (over all bins) of weight over y products. | |
| double | fTotSumWXY = 0. |
| Total sum (over all bins) of weight over square x products. | |
| double | fTotSumWY2 = 0. |
| Total sum (over all bins) of weight over x over y products. | |
| double | fTotSumW = 0. |
| Total sum (over all bins) of weights. | |
| double | fTotSumW2 = 0. |
| Total sum (over all bins) of squared weights. | |
| double | fTotSumWX = 0. |
| Total sum (over all bins) of weight over x products. | |
| double | fTotSumWX2 = 0. |
| Total sum (over all bins) of weight over square x products. | |
Private Member Functions | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int) |
Friends | |
| class | boost::serialization::access |
| Serialization rule. | |
TotalSums1D including storage for total sums of w*x*y, w*y, w*y*y products.
Definition at line 194 of file Histogram.h.
|
inlineinherited |
|
inlineinherited |
Gets total sum of squared weights.
Definition at line 145 of file Histogram.h.
References fTotSumW2.
|
inlineinherited |
Gets total sum of weight over x products.
Definition at line 148 of file Histogram.h.
References fTotSumWX.
|
inlineinherited |
Gets total sum of weight over squared x products.
Definition at line 151 of file Histogram.h.
References fTotSumWX2.
|
inline |
Gets total sum of weight over squared y products.
Definition at line 197 of file Histogram.h.
References fTotSumWXY.
|
inline |
Gets total sum of weight over y products.
Definition at line 200 of file Histogram.h.
References fTotSumWY.
|
inline |
Gets total sum of weight over squared y products.
Definition at line 203 of file Histogram.h.
References fTotSumWY2.
|
inlineprotected |
Resets the sums.
Definition at line 207 of file Histogram.h.
References fTotSumWXY, fTotSumWY, fTotSumWY2, and cbm::algo::qa::TotalSums1D::Reset().
|
inlineprivate |
Definition at line 235 of file Histogram.h.
References fTotSumWXY, fTotSumWY, and fTotSumWY2.
|
inlineprotectedinherited |
Updates the sums.
| x | X value |
| w | weight |
Definition at line 157 of file Histogram.h.
References fTotSumW, fTotSumW2, fTotSumWX, fTotSumWX2, and x.
Referenced by cbm::algo::qa::H1D::Fill(), cbm::algo::qa::H2D::Fill(), cbm::algo::qa::Prof1D::Fill(), cbm::algo::qa::Prof2D::Fill(), and cbm::algo::qa::TotalSums2D::UpdateTotalSums().
|
inlineprotected |
Updates the sums.
| x | X value |
| y | Y value |
| w | weight |
Definition at line 219 of file Histogram.h.
References fTotSumWXY, fTotSumWY, fTotSumWY2, cbm::algo::qa::TotalSums1D::UpdateTotalSums(), x, and y.
|
friend |
Serialization rule.
Definition at line 233 of file Histogram.h.
References boost::serialization::access.
Referenced by boost::serialization::access.
|
protectedinherited |
Total sum (over all bins) of weights.
Definition at line 174 of file Histogram.h.
Referenced by GetTotSumW(), Reset(), serialize(), and UpdateTotalSums().
|
protectedinherited |
Total sum (over all bins) of squared weights.
Definition at line 175 of file Histogram.h.
Referenced by GetTotSumW2(), Reset(), serialize(), and UpdateTotalSums().
|
protectedinherited |
Total sum (over all bins) of weight over x products.
Definition at line 176 of file Histogram.h.
Referenced by GetTotSumWX(), Reset(), serialize(), and UpdateTotalSums().
|
protectedinherited |
Total sum (over all bins) of weight over square x products.
Definition at line 177 of file Histogram.h.
Referenced by GetTotSumWX2(), Reset(), serialize(), and UpdateTotalSums().
|
protected |
Total sum (over all bins) of weight over square x products.
Definition at line 228 of file Histogram.h.
Referenced by GetTotSumWXY(), Reset(), serialize(), and UpdateTotalSums().
|
protected |
Total sum (over all bins) of weight over y products.
Definition at line 227 of file Histogram.h.
Referenced by GetTotSumWY(), Reset(), serialize(), and UpdateTotalSums().
|
protected |
Total sum (over all bins) of weight over x over y products.
Definition at line 229 of file Histogram.h.
Referenced by GetTotSumWY2(), Reset(), serialize(), and UpdateTotalSums().