Weight calculator.
More...
#include <JWeight.hh>
Weight calculator.
Definition at line 23 of file JWeight.hh.
JTOOLS::JWeight::JWeight |
( |
const JTitle & |
title = "" | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 32 of file JWeight.hh.
JTitle()
Default constructor.
void JTOOLS::JWeight::reset |
( |
| ) |
|
|
inline |
void JTOOLS::JWeight::put |
( |
const double |
w | ) |
|
|
inline |
Put weight.
- Parameters
-
Definition at line 55 of file JWeight.hh.
long long int JTOOLS::JWeight::getCount |
( |
| ) |
const |
|
inline |
Get total count.
- Returns
- count
Definition at line 68 of file JWeight.hh.
double JTOOLS::JWeight::getTotal |
( |
| ) |
const |
|
inline |
Get total weight.
- Returns
- weight
Definition at line 79 of file JWeight.hh.
double JTOOLS::JWeight::getError |
( |
| ) |
const |
|
inline |
Get total error.
- Returns
- error
Definition at line 90 of file JWeight.hh.
const std::string& JLANG::JTitle::getTitle |
( |
| ) |
const |
|
inlineinherited |
Get title.
- Returns
- title
Definition at line 55 of file JTitle.hh.
void JLANG::JTitle::setTitle |
( |
const std::string & |
title | ) |
|
|
inlineinherited |
Set title.
- Parameters
-
Definition at line 66 of file JTitle.hh.
double JTOOLS::JWeight::tot |
|
protected |
double JTOOLS::JWeight::err |
|
protected |
long long int JTOOLS::JWeight::num |
|
protected |
std::string JLANG::JTitle::title |
|
protectedinherited |
The documentation for this class was generated from the following file: