ATLAS Offline Software
|
This module implements the central registry for handling systematic uncertainties with CP tools. More...
#include <SystematicRegistry.h>
Public Member Functions | |
const SystematicSet & | globalSystematics () const |
returns: the global set of systematics More... | |
const SystematicSet & | recommendedSystematics () const |
returns: the recommended set of systematics More... | |
StatusCode | registerSystematics (const IReentrantSystematicsTool &tool) |
effects: register all the systematics from the tool More... | |
void | registerSystematic (const SystematicVariation &systematic) |
description: add a systematic to the global registry set More... | |
void | registerSystematics (const SystematicSet &systematics) |
description: add a set of systematics to the global registry set failures: requesting a systematic that's not on the global list More... | |
StatusCode | addSystematicToRecommended (const SystematicVariation &systematic) |
description: add a systematic to the recommended set More... | |
StatusCode | addSystematicsToRecommended (const SystematicSet &systematics) |
description: add a set of systematics to the recommended set More... | |
Static Public Member Functions | |
static SystematicRegistry & | getInstance () |
Get the singleton instance of the registry for the curren thread. More... | |
Private Member Functions | |
SystematicRegistry () | |
Private constructor. More... | |
SystematicRegistry (SystematicRegistry const &)=delete | |
Private copy constructor. More... | |
void | operator= (SystematicRegistry const &)=delete |
Private assignment operator. More... | |
Private Attributes | |
Sets of systematics in the registry | |
SystematicSet | m_globalSystematics |
Global set of possible systematics. More... | |
SystematicSet | m_recommendedSystematics |
recommended set of systematics More... | |
This module implements the central registry for handling systematic uncertainties with CP tools.
Definition at line 24 of file SystematicRegistry.h.
|
private |
|
privatedelete |
Private copy constructor.
StatusCode CP::SystematicRegistry::addSystematicsToRecommended | ( | const SystematicSet & | systematics | ) |
description: add a set of systematics to the recommended set
Definition at line 86 of file SystematicRegistry.cxx.
StatusCode CP::SystematicRegistry::addSystematicToRecommended | ( | const SystematicVariation & | systematic | ) |
description: add a systematic to the recommended set
Definition at line 71 of file SystematicRegistry.cxx.
|
static |
Get the singleton instance of the registry for the curren thread.
Note that each thread gets its own instance of SystematicRegistry in the current setup. Assuming that all analysis tools get instantiated once per thread.
This will have to be re-visited once we start making analysis tools thread-safe.
Definition at line 25 of file SystematicRegistry.cxx.
const SystematicSet & CP::SystematicRegistry::globalSystematics | ( | ) | const |
returns: the global set of systematics
Definition at line 32 of file SystematicRegistry.cxx.
|
privatedelete |
Private assignment operator.
const SystematicSet & CP::SystematicRegistry::recommendedSystematics | ( | ) | const |
returns: the recommended set of systematics
Definition at line 38 of file SystematicRegistry.cxx.
void CP::SystematicRegistry::registerSystematic | ( | const SystematicVariation & | systematic | ) |
description: add a systematic to the global registry set
Definition at line 53 of file SystematicRegistry.cxx.
StatusCode CP::SystematicRegistry::registerSystematics | ( | const IReentrantSystematicsTool & | tool | ) |
effects: register all the systematics from the tool
Definition at line 44 of file SystematicRegistry.cxx.
void CP::SystematicRegistry::registerSystematics | ( | const SystematicSet & | systematics | ) |
description: add a set of systematics to the global registry set failures: requesting a systematic that's not on the global list
Definition at line 60 of file SystematicRegistry.cxx.
|
private |
Global set of possible systematics.
Definition at line 78 of file SystematicRegistry.h.
|
private |
recommended set of systematics
Definition at line 81 of file SystematicRegistry.h.