ATLAS Offline Software
|
a structure to hold an efficiency together with a variable number of uncertainties More...
#include <FakeBkgInternals.h>
Public Member Functions | |
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 | |
float | nominal = 0 |
std::map< uint16_t, FakeBkgTools::Uncertainty > | uncertainties |
a structure to hold an efficiency together with a variable number of uncertainties
Definition at line 39 of file FakeBkgInternals.h.
|
inline |
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.
|
inline |
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.
|
inline |
|
inline |
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 |
subFromOne() sets nominal and varied values to 1 - previous value.
Systematic uncertainties
Central value
Definition at line 265 of file FakeBkgInternals.h.
float Efficiency::value | ( | const CP::BaseFakeBkgTool * | tool | ) | const |
Definition at line 17 of file FakeBkgInternals.cxx.
float FakeBkgTools::Efficiency::nominal = 0 |
Definition at line 42 of file FakeBkgInternals.h.
std::map<uint16_t, FakeBkgTools::Uncertainty> FakeBkgTools::Efficiency::uncertainties |
Definition at line 43 of file FakeBkgInternals.h.