|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef SYSTEMATICS_HANDLES__SYS_READ_HANDLE_H
9 #define SYSTEMATICS_HANDLES__SYS_READ_HANDLE_H
17 #include <type_traits>
18 #include <unordered_map>
52 const std::string& propertyValue,
53 const std::string& propertyDescription);
65 explicit operator
bool ()
const noexcept;
125 typedef std::decay<decltype(
144 #include "SysReadHandle.icc"
bool isValid(const CP::SystematicSet &sys) const
check if the object is available Note that this should only be used in special use cases and may be r...
StoreType * m_evtStore
the event store we use
a class managing the property to configure the list of systematics to process
the interface for the central systematics service
base class to forward messages to another class
Class to wrap a set of SystematicVariations.
::StatusCode retrieve(const T *&object, const CP::SystematicSet &sys) const
retrieve the object for the given name
std::function< StoreType *()> m_evtStoreGetter
the function to retrieve the event store
bool const RAWDATA *ch2 const
a data handle for reading systematics varied input data
Select isolated Photons, Electrons and Muons.
StatusCode initialize(SysListHandle &sysListHandle)
initialize this handle
a basic interface for all systematics handles
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const CP::SystematicSet &fullAffecting, const std::vector< CP::SystematicSet > &sysList) override
register and cache the systematics
This module defines the arguments passed from the BATCH driver to the BATCH worker.
AthROOTErrorHandlerSvc * svc
std::unordered_map< CP::SystematicSet, std::string > m_inputNameCache
the cache of names we use
std::decay< decltype(*(std::declval< EL::AnaAlgorithm >).evtStore()))>::type StoreType
the type of the event store we use
SysReadHandle(const std::string &inputName, T2 *owner)
Direct constructor which doesn't declare a property.
SysReadHandle(T2 *owner, const std::string &propertyName, const std::string &propertyValue, const std::string &propertyDescription)
Standard constructor.
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc) const override
get the affecting systematics if this is an input handle
const std::string & getName(const CP::SystematicSet &sys) const
get the name we retrieve from the event store
virtual std::string getNamePattern() const override
get the name pattern before substitution
std::string m_inputName
the input name we use
virtual bool empty() const noexcept override
whether we have a name configured