ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
8
9namespace CP {
10
12 std::unique_ptr<ISelectionReadAccessor> child)
13 : m_child(std::move(child)) {}
14
16 const CP::SystematicSet *sys) const {
17 return !m_child->getBool(element,sys);
18}
19
21 return "!" + m_child->label();
22}
23
24CP::SystematicSet SelectionAccessorExprNot ::
25getInputAffecting (const ISystematicsSvc& svc,
26 const std::string& objectName) const
27{
28 return m_child->getInputAffecting (svc, objectName);
29}
30
31StatusCode SelectionAccessorExprNot ::
32fillSystematics (const ISystematicsSvc& svc,
33 const std::vector<CP::SystematicSet>& sysList,
34 const std::string& objectName)
35{
36 return m_child->fillSystematics (svc, sysList, objectName);
37}
38
39} // namespace CP
the interface for the central systematics service
SelectionAccessorExprNot(std::unique_ptr< ISelectionReadAccessor > child)
virtual bool getBool(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
virtual std::string label() const override
std::unique_ptr< ISelectionReadAccessor > m_child
Class to wrap a set of SystematicVariations.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
Select isolated Photons, Electrons and Muons.
STL namespace.