ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
SelectionHelpers
SelectionHelpers
SelectionReadAccessorInvert.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
#ifndef SELECTION_HELPERS__SELECTION_READ_ACCESSOR_INVERT_H
9
#define SELECTION_HELPERS__SELECTION_READ_ACCESSOR_INVERT_H
10
11
#include <
SelectionHelpers/ISelectionReadAccessor.h
>
12
13
#include <memory>
14
15
namespace
CP
16
{
19
20
class
SelectionReadAccessorInvert
final :
public
ISelectionReadAccessor
21
{
22
//
23
// public interface
24
//
25
26
public
:
27
SelectionReadAccessorInvert
(std::unique_ptr<ISelectionReadAccessor> val_base);
28
29
public
:
30
virtual
SelectionType
31
getBits
(
const
SG::AuxElement
& element,
32
const
CP::SystematicSet
*sys)
const override
;
33
34
public
:
35
virtual
bool
36
getBool
(
const
SG::AuxElement
& element,
37
const
CP::SystematicSet
*sys)
const override
;
38
39
public
:
40
virtual
std::string
label
()
const override
;
41
42
public
:
43
virtual
bool
isBool
()
const override
;
44
45
public
:
46
virtual
CP::SystematicSet
47
getInputAffecting
(
const
ISystematicsSvc
& svc,
48
const
std::string& objectName)
const override
;
49
50
public
:
51
virtual
StatusCode
52
fillSystematics
(
const
ISystematicsSvc
& svc,
53
const
std::vector<CP::SystematicSet>& sysList,
54
ISysObjectHandleBase
& objectHandle)
override
;
55
56
57
//
58
// private interface
59
//
60
62
private
:
63
std::unique_ptr<ISelectionReadAccessor>
m_base
;
64
};
65
}
66
67
#endif
ISelectionReadAccessor.h
CP::ISelectionReadAccessor
a specialized accessor to read a selection decoration from/to an xAOD object
Definition
ISelectionReadAccessor.h:40
CP::ISysObjectHandleBase
a ISysHandleBase for a handle to a specific object/container
Definition
ISysHandleBase.h:58
CP::ISystematicsSvc
the interface for the central systematics service
Definition
ISystematicsSvc.h:26
CP::SelectionReadAccessorInvert::isBool
virtual bool isBool() const override
whether this accessor returns a simple boolean
Definition
SelectionReadAccessorInvert.cxx:59
CP::SelectionReadAccessorInvert::getInputAffecting
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc, const std::string &objectName) const override
get the systematics when reading from the decoration
Definition
SelectionReadAccessorInvert.cxx:67
CP::SelectionReadAccessorInvert::label
virtual std::string label() const override
get the label of the accessor
Definition
SelectionReadAccessorInvert.cxx:51
CP::SelectionReadAccessorInvert::m_base
std::unique_ptr< ISelectionReadAccessor > m_base
the base selection accessors I invert
Definition
SelectionReadAccessorInvert.h:63
CP::SelectionReadAccessorInvert::SelectionReadAccessorInvert
SelectionReadAccessorInvert(std::unique_ptr< ISelectionReadAccessor > val_base)
Definition
SelectionReadAccessorInvert.cxx:23
CP::SelectionReadAccessorInvert::getBits
virtual SelectionType getBits(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
get the selection decoration
Definition
SelectionReadAccessorInvert.cxx:30
CP::SelectionReadAccessorInvert::fillSystematics
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const std::vector< CP::SystematicSet > &sysList, ISysObjectHandleBase &objectHandle) override
fill the systematic variations
Definition
SelectionReadAccessorInvert.cxx:76
CP::SelectionReadAccessorInvert::getBool
virtual bool getBool(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
get the selection decoration
Definition
SelectionReadAccessorInvert.cxx:42
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition
SystematicSet.h:31
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
CP::SelectionType
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
Definition
SelectionHelpers.h:26
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
Generated on
for ATLAS Offline Software by
1.17.0