ROOT 6.13/01 Reference Guide |
Statistical variable, defined by its mean and variance (RMS).
Named, streamable, storable and mergeable.
Definition at line 35 of file TStatistic.h.
Public Member Functions | |
TStatistic (const char *name="") | |
TStatistic (const char *name, Int_t n, const Double_t *val, const Double_t *w=0) | |
Constructor from a vector of values. More... | |
~TStatistic () | |
TStatistic destructor. More... | |
void | Fill (Double_t val, Double_t w=1.) |
Double_t | GetM2 () const |
Double_t | GetMean () const |
Double_t | GetMeanErr () const |
Long64_t | GetN () const |
const char * | GetName () const |
Long64_t | GetNeff () const |
Double_t | GetRMS () const |
Double_t | GetVar () const |
Double_t | GetW () const |
Double_t | GetW2 () const |
ULong_t | Hash () const |
void | ls (Option_t *opt="") const |
Int_t | Merge (TCollection *in) |
void | Print (Option_t *="") const |
Private Attributes | |
Double_t | fM |
Double_t | fM2 |
Long64_t | fN |
TString | fName |
Double_t | fW |
Double_t | fW2 |
#include <TStatistic.h>
|
inline |
Definition at line 47 of file TStatistic.h.
TStatistic::TStatistic | ( | const char * | name, |
Int_t | n, | ||
const Double_t * | val, | ||
const Double_t * | w = 0 |
||
) |
Constructor from a vector of values.
Definition at line 34 of file TStatistic.cxx.
TStatistic::~TStatistic | ( | ) |
TStatistic destructor.
Definition at line 51 of file TStatistic.cxx.
void TStatistic::Fill | ( | Double_t | val, |
Double_t | w = 1. |
||
) |
Definition at line 57 of file TStatistic.cxx.
|
inline |
Definition at line 57 of file TStatistic.h.
|
inline |
Definition at line 58 of file TStatistic.h.
|
inline |
Definition at line 59 of file TStatistic.h.
|
inline |
Definition at line 55 of file TStatistic.h.
|
inline |
Definition at line 52 of file TStatistic.h.
|
inline |
Definition at line 56 of file TStatistic.h.
|
inline |
Definition at line 60 of file TStatistic.h.
|
inline |
Definition at line 61 of file TStatistic.h.
|
inline |
Definition at line 62 of file TStatistic.h.
|
inline |
Definition at line 63 of file TStatistic.h.
|
inline |
Definition at line 53 of file TStatistic.h.
|
inline |
Definition at line 73 of file TStatistic.h.
Int_t TStatistic::Merge | ( | TCollection * | in | ) |
Definition at line 94 of file TStatistic.cxx.
void TStatistic::Print | ( | Option_t * | = "" | ) | const |
Definition at line 85 of file TStatistic.cxx.
|
private |
Definition at line 42 of file TStatistic.h.
|
private |
Definition at line 43 of file TStatistic.h.
|
private |
Definition at line 39 of file TStatistic.h.
|
private |
Definition at line 38 of file TStatistic.h.
|
private |
Definition at line 40 of file TStatistic.h.
|
private |
Definition at line 41 of file TStatistic.h.