8#ifndef SYSTEMATICS_HANDLES__SYS_READ_HANDLE_H
9#define SYSTEMATICS_HANDLES__SYS_READ_HANDLE_H
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"
a basic interface for all systematics handles
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
std::string m_inputName
the input name we use
std::unordered_map< CP::SystematicSet, std::string > m_inputNameCache
the cache of names we use
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc) const override
get the affecting systematics if this is an input handle
StatusCode initialize(SysListHandle &sysListHandle)
initialize this handle
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.
virtual bool empty() const noexcept override
whether we have a name configured
const std::string & getName(const CP::SystematicSet &sys) const
get the name we retrieve from the event store
::StatusCode retrieve(const T *&object, const CP::SystematicSet &sys) const
retrieve the object for the given name
StoreType * m_evtStore
the event store we use
std::decay< decltype(*(std::declval< EL::AnaAlgorithm >().evtStore()))>::type StoreType
the type of the event store we use
SysReadHandle(T2 *owner, const std::string &propertyName, const std::string &propertyValue, const std::string &propertyDescription)
Standard constructor.
std::function< StoreType *()> m_evtStoreGetter
the function to retrieve the event store
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...
Class to wrap a set of SystematicVariations.
base class to forward messages to another class
Select isolated Photons, Electrons and Muons.
This module defines the arguments passed from the BATCH driver to the BATCH worker.