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