#include <TimeBinning.h>
|
static std::string | getName (const std::string &, unsigned) |
|
Definition at line 14 of file TimeBinning.h.
◆ Bin() [1/2]
TimeBinning::Bin::Bin |
( |
| ) |
|
◆ Bin() [2/2]
TimeBinning::Bin::Bin |
( |
const std::string & |
, |
|
|
unsigned |
, |
|
|
const std::string & |
fname = "" |
|
) |
| |
◆ add()
void TimeBinning::Bin::add |
( |
double |
t, |
|
|
bool |
isplus, |
|
|
double |
weight = 1. |
|
) |
| |
◆ chiSquared()
double TimeBinning::Bin::chiSquared |
( |
double |
R | ) |
const |
Definition at line 116 of file TimeBinning.cpp.
120 numerator *= numerator ;
122 if(denominator == 0.)
124 return numerator/denominator ;
◆ getName()
string TimeBinning::Bin::getName |
( |
const std::string & |
name, |
|
|
unsigned |
number |
|
) |
| |
|
static |
Definition at line 66 of file TimeBinning.cpp.
68 sstr << name <<
"_bin_" << number <<
"_" ;
◆ nMinus()
double TimeBinning::Bin::nMinus |
( |
| ) |
const |
◆ nMinusErr()
double TimeBinning::Bin::nMinusErr |
( |
| ) |
const |
◆ nPlus()
double TimeBinning::Bin::nPlus |
( |
| ) |
const |
◆ nPlusErr()
double TimeBinning::Bin::nPlusErr |
( |
| ) |
const |
◆ operator+()
◆ operator+=()
◆ Print()
void TimeBinning::Bin::Print |
( |
const std::string & |
, |
|
|
unsigned |
, |
|
|
std::ostream & |
os = std::cout |
|
) |
| const |
Definition at line 53 of file TimeBinning.cpp.
55 string name =
getName(_name, number) ;
56 os << name <<
"t\t" <<
t() << endl ;
57 os << name <<
"t2\t" <<
t2() << endl ;
58 os << name <<
"sumw\t" <<
m_sumw << endl ;
59 os << name <<
"sumw2\t" <<
m_sumw2 << endl ;
60 os << name <<
"sumwplus\t" <<
m_sumwplus << endl ;
61 os << name <<
"sumw2plus\t" <<
m_sumw2plus << endl ;
62 os << name <<
"sumwminus\t" <<
m_sumwminus << endl ;
static std::string getName(const std::string &, unsigned)
◆ t()
double TimeBinning::Bin::t |
( |
| ) |
const |
◆ t2()
double TimeBinning::Bin::t2 |
( |
| ) |
const |
◆ usePoissonErrs()
bool TimeBinning::Bin::usePoissonErrs |
( |
| ) |
const |
◆ m_sumw
double TimeBinning::Bin::m_sumw |
|
private |
◆ m_sumw2
double TimeBinning::Bin::m_sumw2 |
|
private |
◆ m_sumw2minus
double TimeBinning::Bin::m_sumw2minus |
|
private |
◆ m_sumw2plus
double TimeBinning::Bin::m_sumw2plus |
|
private |
◆ m_sumwminus
double TimeBinning::Bin::m_sumwminus |
|
private |
◆ m_sumwplus
double TimeBinning::Bin::m_sumwplus |
|
private |
◆ m_t
double TimeBinning::Bin::m_t |
|
private |
◆ m_t2
double TimeBinning::Bin::m_t2 |
|
private |
The documentation for this class was generated from the following files: