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 193 of file Histogram.h.
|
inlineinherited |
Gets total sum of weights.
Definition at line 141 of file Histogram.h.
References cbm::algo::qa::TotalSums1D::fTotSumW.
|
inlineinherited |
Gets total sum of squared weights.
Definition at line 144 of file Histogram.h.
References cbm::algo::qa::TotalSums1D::fTotSumW2.
|
inlineinherited |
Gets total sum of weight over x products.
Definition at line 147 of file Histogram.h.
References cbm::algo::qa::TotalSums1D::fTotSumWX.
|
inlineinherited |
Gets total sum of weight over squared x products.
Definition at line 150 of file Histogram.h.
References cbm::algo::qa::TotalSums1D::fTotSumWX2.
|
inline |
Gets total sum of weight over squared y products.
Definition at line 196 of file Histogram.h.
References fTotSumWXY.
|
inline |
Gets total sum of weight over y products.
Definition at line 199 of file Histogram.h.
References fTotSumWY.
|
inline |
Gets total sum of weight over squared y products.
Definition at line 202 of file Histogram.h.
References fTotSumWY2.
|
inlineprotected |
Resets the sums.
Definition at line 206 of file Histogram.h.
References fTotSumWXY, fTotSumWY, fTotSumWY2, and cbm::algo::qa::TotalSums1D::Reset().
|
inlineprivate |
Definition at line 234 of file Histogram.h.
References fTotSumWXY, fTotSumWY, and fTotSumWY2.
|
inlineprotectedinherited |
Updates the sums.
x | X value |
w | weight |
Definition at line 156 of file Histogram.h.
References cbm::algo::qa::TotalSums1D::fTotSumW, cbm::algo::qa::TotalSums1D::fTotSumW2, cbm::algo::qa::TotalSums1D::fTotSumWX, cbm::algo::qa::TotalSums1D::fTotSumWX2, and x.
Referenced by UpdateTotalSums().
|
inlineprotected |
Updates the sums.
x | X value |
y | Y value |
w | weight |
Definition at line 218 of file Histogram.h.
References fTotSumWXY, fTotSumWY, fTotSumWY2, cbm::algo::qa::TotalSums1D::UpdateTotalSums(), x, and y.
|
friend |
Serialization rule.
Definition at line 232 of file Histogram.h.
|
protectedinherited |
Total sum (over all bins) of weights.
Definition at line 173 of file Histogram.h.
Referenced by cbm::algo::qa::TotalSums1D::GetTotSumW(), cbm::algo::qa::TotalSums1D::Reset(), cbm::algo::qa::TotalSums1D::serialize(), and cbm::algo::qa::TotalSums1D::UpdateTotalSums().
|
protectedinherited |
Total sum (over all bins) of squared weights.
Definition at line 174 of file Histogram.h.
Referenced by cbm::algo::qa::TotalSums1D::GetTotSumW2(), cbm::algo::qa::TotalSums1D::Reset(), cbm::algo::qa::TotalSums1D::serialize(), and cbm::algo::qa::TotalSums1D::UpdateTotalSums().
|
protectedinherited |
Total sum (over all bins) of weight over x products.
Definition at line 175 of file Histogram.h.
Referenced by cbm::algo::qa::TotalSums1D::GetTotSumWX(), cbm::algo::qa::TotalSums1D::Reset(), cbm::algo::qa::TotalSums1D::serialize(), and cbm::algo::qa::TotalSums1D::UpdateTotalSums().
|
protectedinherited |
Total sum (over all bins) of weight over square x products.
Definition at line 176 of file Histogram.h.
Referenced by cbm::algo::qa::TotalSums1D::GetTotSumWX2(), cbm::algo::qa::TotalSums1D::Reset(), cbm::algo::qa::TotalSums1D::serialize(), and cbm::algo::qa::TotalSums1D::UpdateTotalSums().
|
protected |
Total sum (over all bins) of weight over square x products.
Definition at line 227 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 226 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 228 of file Histogram.h.
Referenced by GetTotSumWY2(), Reset(), serialize(), and UpdateTotalSums().