ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
PATInterfaces
PATInterfaces
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):
11
#include <
PATInterfaces/Global.h
>
12
#include <
PATInterfaces/SystematicSet.h
>
13
14
namespace
CP
15
{
16
class
IReentrantSystematicsTool
;
17
18
24
class
SystematicRegistry
25
{
26
27
public
:
39
static
SystematicRegistry
&
getInstance
();
40
41
public
:
42
// Public accessors of systematic sets
43
45
const
SystematicSet
&
globalSystematics
()
const
;
46
48
const
SystematicSet
&
recommendedSystematics
()
const
;
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
61
void
registerSystematics
(
const
SystematicSet
&
systematics
);
62
64
StatusCode
addSystematicToRecommended
(
const
SystematicVariation
& systematic);
65
67
StatusCode
addSystematicsToRecommended
(
const
SystematicSet
&
systematics
);
68
69
private
:
71
SystematicRegistry
();
72
73
private
:
76
78
SystematicSet
m_globalSystematics
;
79
81
SystematicSet
m_recommendedSystematics
;
82
84
85
private
:
86
// Disallow copying of the registry.
87
// These will not be implemented
88
90
SystematicRegistry
(
SystematicRegistry
const
&) =
delete
;
92
void
operator=
(
SystematicRegistry
const
&) =
delete
;
93
94
};
95
96
}
97
98
99
#endif
Global.h
systematics
static const std::vector< std::string > systematics
Definition
MuonTriggerSFFilesTest.cxx:23
SystematicSet.h
CP::IReentrantSystematicsTool
interface for all CP tools supporting systematic variations within a reentrant algorithm
Definition
IReentrantSystematicsTool.h:58
CP::SystematicRegistry::operator=
void operator=(SystematicRegistry const &)=delete
Private assignment operator.
CP::SystematicRegistry::recommendedSystematics
const SystematicSet & recommendedSystematics() const
returns: the recommended set of systematics
Definition
SystematicRegistry.cxx:38
CP::SystematicRegistry::addSystematicToRecommended
StatusCode addSystematicToRecommended(const SystematicVariation &systematic)
description: add a systematic to the recommended set
Definition
SystematicRegistry.cxx:72
CP::SystematicRegistry::getInstance
static SystematicRegistry & getInstance()
Get the singleton instance of the registry for the curren thread.
Definition
SystematicRegistry.cxx:25
CP::SystematicRegistry::registerSystematic
void registerSystematic(const SystematicVariation &systematic)
description: add a systematic to the global registry set
Definition
SystematicRegistry.cxx:54
CP::SystematicRegistry::addSystematicsToRecommended
StatusCode addSystematicsToRecommended(const SystematicSet &systematics)
description: add a set of systematics to the recommended set
Definition
SystematicRegistry.cxx:87
CP::SystematicRegistry::globalSystematics
const SystematicSet & globalSystematics() const
returns: the global set of systematics
Definition
SystematicRegistry.cxx:32
CP::SystematicRegistry::m_recommendedSystematics
SystematicSet m_recommendedSystematics
recommended set of systematics
Definition
SystematicRegistry.h:81
CP::SystematicRegistry::SystematicRegistry
SystematicRegistry()
Private constructor.
Definition
SystematicRegistry.cxx:100
CP::SystematicRegistry::registerSystematics
StatusCode registerSystematics(const IReentrantSystematicsTool &tool)
effects: register all the systematics from the tool
Definition
SystematicRegistry.cxx:45
CP::SystematicRegistry::SystematicRegistry
SystematicRegistry(SystematicRegistry const &)=delete
Private copy constructor.
CP::SystematicRegistry::m_globalSystematics
SystematicSet m_globalSystematics
Global set of possible systematics.
Definition
SystematicRegistry.h:78
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition
SystematicSet.h:31
CP::SystematicVariation
Definition
SystematicVariation.h:47
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
Generated on
for ATLAS Offline Software by
1.17.0