ATLAS Offline Software
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>
13 
14 namespace CP
15 {
16  class IReentrantSystematicsTool;
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 
55 
57  void registerSystematic(const SystematicVariation& systematic);
58 
62 
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
CP::SystematicRegistry::addSystematicToRecommended
StatusCode addSystematicToRecommended(const SystematicVariation &systematic)
description: add a systematic to the recommended set
Definition: SystematicRegistry.cxx:72
SystematicSet.h
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition: SystematicSet.h:31
CP::SystematicRegistry::globalSystematics
const SystematicSet & globalSystematics() const
returns: the global set of systematics
Definition: SystematicRegistry.cxx:32
CP::SystematicVariation
Definition: SystematicVariation.h:47
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
CP::SystematicRegistry::registerSystematics
StatusCode registerSystematics(const IReentrantSystematicsTool &tool)
effects: register all the systematics from the tool
Definition: SystematicRegistry.cxx:45
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Global.h
CheckAppliedSFs.systematics
def systematics
Definition: CheckAppliedSFs.py:231
CP::SystematicRegistry::SystematicRegistry
SystematicRegistry()
Private constructor.
Definition: SystematicRegistry.cxx:100
AtlCoolConsole.tool
tool
Definition: AtlCoolConsole.py:453
CP::SystematicRegistry::registerSystematic
void registerSystematic(const SystematicVariation &systematic)
description: add a systematic to the global registry set
Definition: SystematicRegistry.cxx:54
CP::SystematicRegistry::SystematicRegistry
SystematicRegistry(SystematicRegistry const &)=delete
Private copy constructor.
CP::SystematicRegistry
This module implements the central registry for handling systematic uncertainties with CP tools.
Definition: SystematicRegistry.h:25
CP::SystematicRegistry::recommendedSystematics
const SystematicSet & recommendedSystematics() const
returns: the recommended set of systematics
Definition: SystematicRegistry.cxx:38
CP::IReentrantSystematicsTool
interface for all CP tools supporting systematic variations within a reentrant algorithm
Definition: IReentrantSystematicsTool.h:58
CP::SystematicRegistry::addSystematicsToRecommended
StatusCode addSystematicsToRecommended(const SystematicSet &systematics)
description: add a set of systematics to the recommended set
Definition: SystematicRegistry.cxx:87
CP::SystematicRegistry::m_globalSystematics
SystematicSet m_globalSystematics
Global set of possible systematics.
Definition: SystematicRegistry.h:78
CP::SystematicRegistry::operator=
void operator=(SystematicRegistry const &)=delete
Private assignment operator.
CP::SystematicRegistry::getInstance
static SystematicRegistry & getInstance()
Get the singleton instance of the registry for the curren thread.
Definition: SystematicRegistry.cxx:25
CP::SystematicRegistry::m_recommendedSystematics
SystematicSet m_recommendedSystematics
recommended set of systematics
Definition: SystematicRegistry.h:81