ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
SystematicsHandles
SystematicsHandles
ISysHandleBase.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
#ifndef SYSTEMATICS_HANDLES__I_SYS_HANDLE_BASE_H
9
#define SYSTEMATICS_HANDLES__I_SYS_HANDLE_BASE_H
10
11
#include <string>
12
#include <vector>
13
14
class
StatusCode
;
15
16
namespace
CP
17
{
18
class
ISystematicsSvc
;
19
class
SystematicSet
;
20
21
26
27
class
ISysHandleBase
28
{
30
public
:
31
virtual
~ISysHandleBase
() noexcept = default;
32
34
public:
35
virtual
bool
empty
()
const
noexcept = 0;
36
42
public:
43
virtual
CP
::
SystematicSet
44
getInputAffecting
(
const
ISystematicsSvc
& svc)
const
= 0;
45
47
public:
48
virtual StatusCode
49
fillSystematics
(
const
ISystematicsSvc
& svc,
50
const
CP
::
SystematicSet
& fullAffecting,
51
const
std
::
vector
<
CP
::
SystematicSet
>& sysList) = 0;
52
};
53
54
55
57
class
ISysObjectHandleBase
: public
ISysHandleBase
58
{
59
public
:
60
62
virtual
std::string
getNamePattern
()
const
= 0;
63
65
virtual
StatusCode
addDecorationDependency
(
const
ISystematicsSvc
& svc,
const
std::string& decoName,
bool
decoWrite) = 0;
66
};
67
}
68
69
#endif
CP::ISysHandleBase
a basic interface for all systematics handles
Definition
ISysHandleBase.h:28
CP::ISysHandleBase::empty
virtual bool empty() const noexcept=0
whether this is an empty handle
CP::ISysHandleBase::~ISysHandleBase
virtual ~ISysHandleBase() noexcept=default
standard (virtual) destructor
CP::ISysHandleBase::fillSystematics
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const CP::SystematicSet &fullAffecting, const std::vector< CP::SystematicSet > &sysList)=0
register and cache the systematics
CP::ISysHandleBase::getInputAffecting
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc) const =0
get the affecting systematics if this is an input handle
CP::ISysObjectHandleBase
a ISysHandleBase for a handle to a specific object/container
Definition
ISysHandleBase.h:58
CP::ISysObjectHandleBase::addDecorationDependency
virtual StatusCode addDecorationDependency(const ISystematicsSvc &svc, const std::string &decoName, bool decoWrite)=0
add dependency information for the given decoration
CP::ISysObjectHandleBase::getNamePattern
virtual std::string getNamePattern() const =0
get the name pattern before substitution
CP::ISystematicsSvc
the interface for the central systematics service
Definition
ISystematicsSvc.h:26
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition
SystematicSet.h:31
vector
Definition
MultiHisto.h:13
const
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0