8#ifndef SELECTION_HELPERS__SELECTION_WRITE_ACCESSOR_SYS_H
9#define SELECTION_HELPERS__SELECTION_WRITE_ACCESSOR_SYS_H
42 virtual std::string
label ()
const override;
48 const std::vector<CP::SystematicSet>& sysList,
49 const std::string& objectName)
override;
59 std::unordered_map<CP::SystematicSet,std::tuple<std::string,std::unique_ptr<ISelectionWriteAccessor>>>
m_dataCache;
a specialized accessor to write a selection decoration to an xAOD object
the interface for the central systematics service
virtual std::string label() const override
get the label of the accessor
SelectionWriteAccessorSys(const std::string &val_selectionName)
std::unordered_map< CP::SystematicSet, std::tuple< std::string, std::unique_ptr< ISelectionWriteAccessor > > > m_dataCache
the map of accessor we use
virtual void setBits(const SG::AuxElement &element, SelectionType selection, const CP::SystematicSet *sys) const override
set the selection decoration
std::string m_selectionName
the selectionName for this accessor
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const CP::SystematicSet &fullAffecting, const std::vector< CP::SystematicSet > &sysList, const std::string &objectName) override
fill the systematic variations
virtual void setBool(const SG::AuxElement &element, bool selection, const CP::SystematicSet *sys) const override
set the selection decoration
Class to wrap a set of SystematicVariations.
Base class for elements of a container that can have aux data.
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