![]() |
ATLAS Offline Software
|
a structure to hold an event yield together with a statistical uncertainty and a variable number of systematic uncertainties More...
#include <FakeBkgInternals.h>
Public Member Functions | |
Yield & | add (const Yield &rhs, float weight=1.f) |
add() treats systematic uncertainties as correlated and updates (or creates) the total statistical uncertainty (RMS) More... | |
Yield & | add (const Weight &rhs, float weight=1.f) |
float | stat () const |
Helper function to extract the total statistical uncertainty from the 'uncertainties' field; it returns the symmetrized uncertainties[Uncertainty::totalStat()] if present, else fabs(value) (not 0!) More... | |
float | syst () const |
Helper function to extract the total systematic uncertainty from the 'uncertainties' field; it is computed as the quadratic sum of all symmetrized systematic uncertainties. More... | |
float | value (const CP::BaseFakeBkgTool *tool) const |
Efficiency & | add (const Efficiency &rhs, float weight=1.f) |
key = source of uncertainty (ID), value = up/down More... | |
Efficiency & | multiply (const Efficiency &rhs, float weight=1.f) |
the first version of multiply() takes the product of two Efficiencies, setting the up and down variations for each uncertainty to give the correct variation for the product More... | |
Efficiency & | multiply (float weight) |
Efficiency & | setToConst (float value=1.f) |
setToConst() sets the nominal and all varied values to the same constant More... | |
Efficiency & | subFromOne () |
subFromOne() sets nominal and varied values to 1 - previous value. More... | |
Public Attributes | |
Uncertainty | stat2 |
float | nominal = 0 |
std::map< uint16_t, FakeBkgTools::Uncertainty > | uncertainties |
a structure to hold an event yield together with a statistical uncertainty and a variable number of systematic uncertainties
Definition at line 69 of file FakeBkgInternals.h.
|
inlineinherited |
key = source of uncertainty (ID), value = up/down
add() treats systematic uncertainties as correlated and updates (or creates) the total statistical uncertainty (RMS)
Systematic uncertainties
Central value
Definition at line 208 of file FakeBkgInternals.h.
Systematic uncertainties
Statistical uncertainty ("RMS of weights")
Central value
Definition at line 173 of file FakeBkgInternals.h.
add() treats systematic uncertainties as correlated and updates (or creates) the total statistical uncertainty (RMS)
Systematic uncertainties
Statistical uncertainty ("RMS of weights")
Central value
Definition at line 191 of file FakeBkgInternals.h.
|
inlineinherited |
the first version of multiply() takes the product of two Efficiencies, setting the up and down variations for each uncertainty to give the correct variation for the product
Systematic uncertainties
Central value
Definition at line 222 of file FakeBkgInternals.h.
|
inlineinherited |
|
inlineinherited |
setToConst() sets the nominal and all varied values to the same constant
Systematic uncertainties
Central value
Definition at line 252 of file FakeBkgInternals.h.
|
inline |
Helper function to extract the total statistical uncertainty from the 'uncertainties' field; it returns the symmetrized uncertainties[Uncertainty::totalStat()] if present, else fabs(value) (not 0!)
Definition at line 279 of file FakeBkgInternals.h.
|
inlineinherited |
subFromOne() sets nominal and varied values to 1 - previous value.
Systematic uncertainties
Central value
Definition at line 265 of file FakeBkgInternals.h.
|
inline |
Helper function to extract the total systematic uncertainty from the 'uncertainties' field; it is computed as the quadratic sum of all symmetrized systematic uncertainties.
Definition at line 284 of file FakeBkgInternals.h.
|
inherited |
Definition at line 17 of file FakeBkgInternals.cxx.
|
inherited |
Definition at line 42 of file FakeBkgInternals.h.
Uncertainty FakeBkgTools::Yield::stat2 |
Definition at line 71 of file FakeBkgInternals.h.
|
inherited |
Definition at line 43 of file FakeBkgInternals.h.