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