ATLAS Offline Software
Loading...
Searching...
No Matches
SystematicRegistry.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef PATINTERFACES_SYSTEMATIC_REGISTRY_H
8#define PATINTERFACES_SYSTEMATIC_REGISTRY_H
9
10// Local include(s):
13
14namespace CP
15{
17
18
25 {
26
27 public:
40
41 public:
42 // Public accessors of systematic sets
43
45 const SystematicSet& globalSystematics() const;
46
49
50 public:
51 // Interface methods for editing the registry
52
54 StatusCode registerSystematics (const IReentrantSystematicsTool& tool);
55
57 void registerSystematic(const SystematicVariation& systematic);
58
62
64 StatusCode addSystematicToRecommended(const SystematicVariation& systematic);
65
68
69 private:
72
73 private:
76
79
82
84
85 private:
86 // Disallow copying of the registry.
87 // These will not be implemented
88
92 void operator=(SystematicRegistry const&) = delete;
93
94 };
95
96}
97
98
99#endif
static const std::vector< std::string > systematics
interface for all CP tools supporting systematic variations within a reentrant algorithm
void operator=(SystematicRegistry const &)=delete
Private assignment operator.
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
SystematicRegistry(SystematicRegistry const &)=delete
Private copy constructor.
SystematicSet m_globalSystematics
Global set of possible systematics.
Class to wrap a set of SystematicVariations.
Select isolated Photons, Electrons and Muons.