|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef SELECTION_HELPERS__SELECTION_ACCESSOR_READ_SYS_H
9 #define SELECTION_HELPERS__SELECTION_ACCESSOR_READ_SYS_H
42 virtual std::string
label ()
const override;
45 virtual bool isBool ()
const override;
50 const std::string& objectName)
const override;
55 const std::vector<CP::SystematicSet>& sysList,
56 const std::string& objectName)
override;
65 std::unordered_map<CP::SystematicSet,std::tuple<std::string,std::unique_ptr<ISelectionReadAccessor>>>
m_dataCache;
std::unordered_map< CP::SystematicSet, std::tuple< std::string, std::unique_ptr< ISelectionReadAccessor > > > m_dataCache
the map of accessor we use
the interface for the central systematics service
virtual bool isBool() const override
whether this accessor returns a simple boolean
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
Class to wrap a set of SystematicVariations.
the SelectionAccesor for reading systematically varied decorations
Select isolated Photons, Electrons and Muons.
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
std::string m_selectionName
the selectionName for this accessor
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const std::vector< CP::SystematicSet > &sysList, const std::string &objectName) override
fill the systematic variations
AthROOTErrorHandlerSvc * svc
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc, const std::string &objectName) const override
get the systematics when reading from the decoration
virtual std::string label() const override
get the label of the accessor
SelectionAccessorReadSys(const std::string &val_selectionName)
a specialized accessor to read a selection decoration from/to an xAOD object