8#ifndef SYS_SELECTION_HELPERS_SELECTION_WRITE_HANDLE_H
9#define SYS_SELECTION_HELPERS_SELECTION_WRITE_HANDLE_H
41 const std::string& propertyValue,
42 const std::string& propertyDescription);
Base class for elements of a container that can have aux data.
a specialized accessor to write a selection decoration to an xAOD object
a basic interface for all systematics handles
the interface for the central systematics service
a class managing the property to configure the list of systematics to process
std::string getLabel() const
get the name/label of the decoration
const std::string & getSelection() const
get the actual selection string
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc) const override
get the affecting systematics if this is an input handle
const ISysHandleBase * m_objectHandle
the object handle we use
std::string m_selection
the selection we use
std::unique_ptr< ISelectionWriteAccessor > m_accessor
the accessor we use
void setBool(const SG::AuxElement &element, bool selection, const CP::SystematicSet &sys) const
set the selection decoration
virtual bool empty() const noexcept override
StatusCode initialize(SysListHandle &sysListHandle, const ISysHandleBase &objectHandle)
initialize the accessor
SysWriteSelectionHandle(T2 *owner, const std::string &propertyName, const std::string &propertyValue, const std::string &propertyDescription)
standard constructor
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const CP::SystematicSet &fullAffecting, const std::vector< CP::SystematicSet > &sysList) override
register and cache the systematics
void setBits(const SG::AuxElement &element, SelectionType selection, const CP::SystematicSet &sys) const
set the selection decoration
virtual std::string getNamePattern() const override
get the name pattern before substitution
Class to wrap a set of SystematicVariations.
base class to forward messages to another class
const std::string selection
Select isolated Photons, Electrons and Muons.
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
setBGCode setTAP setLVL2ErrorBits bool