8#ifndef SYSTEMATICS_HANDLES__SYS_READ_HANDLE_H
9#define SYSTEMATICS_HANDLES__SYS_READ_HANDLE_H
19#include <unordered_map>
50 const std::string& propertyValue,
51 const std::string& propertyDescription);
61 explicit operator
bool ()
const noexcept;
119 std::unordered_map<CP::SystematicSet,SysData>
m_sysData;
125#ifndef XAOD_STANDALONE
a ISysHandleBase for a handle to a specific object/container
the interface for the central systematics service
a class managing the property to configure the list of systematics to process
virtual std::string getNamePattern() const override
get the name pattern before substitution
bool isValid(const CP::SystematicSet &sys, const EventContext &ctx=Gaudi::Hive::currentContext()) const
check if the object is available Note that this should only be used in special use cases and may be r...
std::string m_inputName
the input name we use
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc) const override
StatusCode initialize(SysListHandle &sysListHandle)
initialize this handle
::StatusCode retrieve(const T *&object, const CP::SystematicSet &sys, const EventContext &ctx=Gaudi::Hive::currentContext()) const
retrieve the object for the given name
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const CP::SystematicSet &fullAffecting, const std::vector< CP::SystematicSet > &sysList) override
register and cache the systematics
SysReadHandle(const std::string &inputName, T2 *owner)
Direct constructor which doesn't declare a property.
std::unordered_map< CP::SystematicSet, SysData > m_sysData
virtual bool empty() const noexcept override
whether we have a name configured
std::function< void(const DataObjID &, Gaudi::DataHandle::Mode)> m_addAlgDependency
a function to add a data dependency to the parent algorithm
const std::string & getName(const CP::SystematicSet &sys) const
get the name we retrieve from the event store
const SG::ReadHandleKey< T > & getReadHandle(const CP::SystematicSet &sys) const
get the read handle key for the given systematic
SysReadHandle(T2 *owner, const std::string &propertyName, const std::string &propertyValue, const std::string &propertyDescription)
Standard constructor.
virtual StatusCode addDecorationDependency(const ISystematicsSvc &svc, const std::string &decoName, bool decoWrite) override
add dependency information for the given decoration
Class to wrap a set of SystematicVariations.
Property holding a SG store/key/clid from which a ReadHandle is made.
base class to forward messages to another class
Select isolated Photons, Electrons and Muons.
::StatusCode StatusCode
StatusCode definition for legacy code.
=============================================================================
the data held per-systematic (filled in initialize)
SG::ReadHandleKey< T > readHandle
the read handle key for the (expanded) input container