|
ATLAS Offline Software
|
Go to the documentation of this file.
24 : m_list (std::move (val_list))
26 for (
const std::unique_ptr<ISelectionReadAccessor> &
acc :
m_list)
44 constexpr
size_t SelectionTotalBits = 8 *
sizeof (
SelectionType);
47 if (
m_list.size() > SelectionTotalBits)
56 for (std::size_t iter = 0; iter !=
m_list.size(); ++ iter)
99 const std::string& objectName)
const
112 const std::vector<CP::SystematicSet>& sysList,
113 const std::string& objectName)
115 using namespace msgSelectionHelpers;
119 return StatusCode::SUCCESS;
the interface for the central systematics service
Base class for elements of a container that can have aux data.
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
virtual bool isBool() const override
whether this accessor returns a simple boolean
Class to wrap a set of SystematicVariations.
Select isolated Photons, Electrons and Muons.
std::string m_label
the label of the accessor
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc, const std::string &objectName) const override
get the systematics when reading from the decoration
SelectionAccessorList(std::vector< std::unique_ptr< ISelectionReadAccessor > > val_list)
AthROOTErrorHandlerSvc * svc
virtual std::string label() const override
get the label of the accessor
virtual bool getBool(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
get the selection decoration
virtual SelectionType getBits(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
get the selection decoration
const AccessorWrapper< T > * accessor(xAOD::JetAttribute::AttributeID id)
Returns an attribute accessor corresponding to an AttributeID.
std::vector< std::unique_ptr< ISelectionReadAccessor > > m_list
the list of selection accessors I rely on
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const std::vector< CP::SystematicSet > &sysList, const std::string &objectName) override
fill the systematic variations
constexpr SelectionType selectionAccept()
the selection decoration to apply for objects that are selected