9#include <ThreadLocalStorage.h>
44 StatusCode SystematicRegistry ::
62 std::set<SystematicVariation>::const_iterator sysItr;
78 return StatusCode::FAILURE;
81 return StatusCode::SUCCESS;
89 std::set<SystematicVariation>::const_iterator sysItr;
93 if(code != StatusCode::SUCCESS)
return code;
95 return StatusCode::SUCCESS;
static const std::vector< std::string > systematics
const SystematicSet & recommendedSystematics() const
returns: the recommended set of systematics
StatusCode addSystematicToRecommended(const SystematicVariation &systematic)
description: add a systematic to the recommended set
static SystematicRegistry & getInstance()
Get the singleton instance of the registry for the curren thread.
void registerSystematic(const SystematicVariation &systematic)
description: add a systematic to the global registry set
StatusCode addSystematicsToRecommended(const SystematicSet &systematics)
description: add a set of systematics to the recommended set
const SystematicSet & globalSystematics() const
returns: the global set of systematics
SystematicSet m_recommendedSystematics
recommended set of systematics
SystematicRegistry()
Private constructor.
StatusCode registerSystematics(const IReentrantSystematicsTool &tool)
effects: register all the systematics from the tool
SystematicSet m_globalSystematics
Global set of possible systematics.
Class to wrap a set of SystematicVariations.
Select isolated Photons, Electrons and Muons.
TTHREAD_TLS(TStore *) s_store
Pointer to the currently active TStore object of the thread.