ATLAS Offline Software
|
a SelectionAccesor that can be used instead of a nullptr More...
#include <SelectionReadAccessorNull.h>
Public Member Functions | |
SelectionReadAccessorNull (bool value=true) | |
virtual SelectionType | getBits (const SG::AuxElement &element, const CP::SystematicSet *sys) const override |
get the selection decoration More... | |
virtual bool | getBool (const SG::AuxElement &element, const CP::SystematicSet *sys) const override |
get the selection decoration More... | |
virtual std::string | label () const override |
get the label of the accessor More... | |
virtual bool | isBool () const override |
whether this accessor returns a simple boolean More... | |
virtual CP::SystematicSet | getInputAffecting (const ISystematicsSvc &svc, const std::string &objectName) const override |
get the systematics when reading from the decoration More... | |
virtual StatusCode | fillSystematics (const ISystematicsSvc &svc, const std::vector< CP::SystematicSet > &sysList, const std::string &objectName) override |
fill the systematic variations More... | |
Private Attributes | |
bool | m_value |
a SelectionAccesor that can be used instead of a nullptr
This makes it easier to set up code that just uses an ISelectionReadAccessor to preselect its objects, and doesn't want a special code path for the case of no preselections.
Definition at line 22 of file SelectionReadAccessorNull.h.
CP::SelectionReadAccessorNull::SelectionReadAccessorNull | ( | bool | value = true | ) |
Definition at line 22 of file SelectionReadAccessorNull.cxx.
|
overridevirtual |
fill the systematic variations
Implements CP::ISelectionReadAccessor.
Definition at line 70 of file SelectionReadAccessorNull.cxx.
|
overridevirtual |
get the selection decoration
Implements CP::ISelectionReadAccessor.
Definition at line 28 of file SelectionReadAccessorNull.cxx.
|
overridevirtual |
get the selection decoration
Implements CP::ISelectionReadAccessor.
Definition at line 37 of file SelectionReadAccessorNull.cxx.
|
overridevirtual |
get the systematics when reading from the decoration
Implements CP::ISelectionReadAccessor.
Definition at line 61 of file SelectionReadAccessorNull.cxx.
|
overridevirtual |
whether this accessor returns a simple boolean
Implements CP::ISelectionReadAccessor.
Definition at line 53 of file SelectionReadAccessorNull.cxx.
|
overridevirtual |
get the label of the accessor
Implements CP::ISelectionReadAccessor.
Definition at line 45 of file SelectionReadAccessorNull.cxx.
|
private |
Definition at line 63 of file SelectionReadAccessorNull.h.