ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
SelectionHelpers
Root
SelectionAccessorExprNot.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
SelectionHelpers/SelectionAccessorExprNot.h
"
6
7
#include "
PATInterfaces/SystematicSet.h
"
8
9
namespace
CP
{
10
11
SelectionAccessorExprNot::SelectionAccessorExprNot
(
12
std::unique_ptr<ISelectionReadAccessor> child)
13
:
m_child
(
std
::move(child)) {}
14
15
bool
SelectionAccessorExprNot::getBool
(
const
SG::AuxElement
& element,
16
const
CP::SystematicSet
*sys)
const
{
17
return
!
m_child
->getBool(element,sys);
18
}
19
20
std::string
SelectionAccessorExprNot::label
()
const
{
21
return
"!"
+
m_child
->label();
22
}
23
24
CP::SystematicSet
SelectionAccessorExprNot ::
25
getInputAffecting (
const
ISystematicsSvc
& svc,
26
const
std::string& objectName)
const
27
{
28
return
m_child
->getInputAffecting (svc, objectName);
29
}
30
31
StatusCode SelectionAccessorExprNot ::
32
fillSystematics (
const
ISystematicsSvc
& svc,
33
const
std::vector<CP::SystematicSet>& sysList,
34
ISysObjectHandleBase
& objectHandle)
35
{
36
return
m_child
->fillSystematics (svc, sysList, objectHandle);
37
}
38
39
}
// namespace CP
SelectionAccessorExprNot.h
SystematicSet.h
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::SelectionAccessorExprNot::SelectionAccessorExprNot
SelectionAccessorExprNot(std::unique_ptr< ISelectionReadAccessor > child)
Definition
SelectionAccessorExprNot.cxx:11
CP::SelectionAccessorExprNot::getBool
virtual bool getBool(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
Definition
SelectionAccessorExprNot.cxx:15
CP::SelectionAccessorExprNot::label
virtual std::string label() const override
Definition
SelectionAccessorExprNot.cxx:20
CP::SelectionAccessorExprNot::m_child
std::unique_ptr< ISelectionReadAccessor > m_child
Definition
SelectionAccessorExprNot.h:38
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
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0