8#ifndef SELECTION_HELPERS__I_SELECTION_READ_ACCESSOR_H
9#define SELECTION_HELPERS__I_SELECTION_READ_ACCESSOR_H
98 bool defaultToChar = false);
110 bool defaultToChar = false);
Base class for elements of a container that can have aux data.
a specialized accessor to read a selection decoration from/to an xAOD object
virtual SelectionType getBits(const SG::AuxElement &element, const CP::SystematicSet *sys=nullptr) const =0
get the selection decoration
virtual std::string label() const =0
get the label of the accessor
virtual bool isBool() const =0
whether this accessor returns a simple boolean
virtual bool getBool(const SG::AuxElement &element, const CP::SystematicSet *sys=nullptr) const =0
get the selection decoration
ISelectionReadAccessor & operator=(const ISelectionReadAccessor &)=delete
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const std::vector< CP::SystematicSet > &sysList, const std::string &objectName)=0
fill the systematic variations
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc, const std::string &objectName) const =0
get the systematics when reading from the decoration
virtual ~ISelectionReadAccessor() noexcept=default
standard (virtual) destructor
the interface for the central systematics service
Class to wrap a set of SystematicVariations.
Select isolated Photons, Electrons and Muons.
StatusCode makeSelectionReadAccessorVar(const std::string &name, std::unique_ptr< ISelectionReadAccessor > &accessor, bool defaultToChar)
Produces a simple ISelectionReadAccessor accessing the given decoration.
StatusCode makeSelectionReadAccessor(const std::string &expr, std::unique_ptr< ISelectionReadAccessor > &accessor, bool defaultToChar)
make the ISelectionReadAccessor for the given name
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData