a data handle for reading systematics varied input data
More...
#include <SysWriteDecorHandle.h>
|
template<typename T2 > |
| SysWriteDecorHandle (T2 *owner, const std::string &propertyName, const std::string &propertyValue, const std::string &propertyDescription) |
| Standard constructor. More...
|
|
template<typename T2 > |
| SysWriteDecorHandle (const std::string &decorName, T2 *owner) |
| Construct the handle directly without declaring a property. More...
|
|
virtual bool | empty () const noexcept override |
| whether we have a name configured More...
|
|
| operator bool () const noexcept |
| !empty() More...
|
|
const std::string & | getName (const CP::SystematicSet &sys) const |
| get the name we retrieve from the event store More...
|
|
void | set (const SG::AuxElement &object, const T &value, const CP::SystematicSet &sys) const |
| set the object decoration for the given systematic More...
|
|
void | lock (const SG::AuxElement &object, const CP::SystematicSet &sys) const |
| lock the object decoration for the given systematic You should call this after all set() calls for a given object. More...
|
|
bool | msgLvl (const MSG::Level lvl) const |
| Test the output level of the object. More...
|
|
MsgStream & | msg () const |
| The standard message stream. More...
|
|
MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. More...
|
|
|
StatusCode | initialize (SysListHandle &sysListHandle, const ISysHandleBase &objectHandle) |
| initialize this handle More...
|
|
StatusCode | initialize (SysListHandle &sysListHandle, const ISysHandleBase &objectHandle, SG::AllowEmptyEnum) |
|
template<typename T>
class CP::SysWriteDecorHandle< T >
a data handle for reading systematics varied input data
Definition at line 40 of file SysWriteDecorHandle.h.
◆ SysWriteDecorHandle() [1/2]
template<typename T >
template<typename T2 >
Standard constructor.
- Template Parameters
-
- Parameters
-
owner | Used to declare the property and for its messaging |
propertyName | The name of the property to declare |
propertyValue | The default value for the property |
propertyDescription | The description of the property |
This version of the constructor declares a property on the parent object and should usually be preferred when the decoration to be written should be configurable
◆ SysWriteDecorHandle() [2/2]
template<typename T >
template<typename T2 >
Construct the handle directly without declaring a property.
◆ empty()
◆ fillSystematics()
◆ getData()
get the data for the given systematics
◆ getInputAffecting()
get the affecting systematics if this is an input handle
This returns the empty set if this is either not an input handle, or if the input handle is not affected by systematics.
Implements CP::ISysHandleBase.
◆ getName()
get the name we retrieve from the event store
◆ getNamePattern()
get the name pattern before substitution
This is not currently defined for decoration handles and made private.
Implements CP::ISysHandleBase.
◆ initialize() [1/2]
◆ initialize() [2/2]
◆ lock()
lock the object decoration for the given systematic You should call this after all set() calls for a given object.
◆ msg() [1/2]
MsgStream & asg::AsgMessagingForward::msg |
( |
| ) |
const |
|
inherited |
The standard message stream.
- Returns
- A reference to the default message stream of this object.
Definition at line 24 of file AsgMessagingForward.cxx.
◆ msg() [2/2]
MsgStream & asg::AsgMessagingForward::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
inherited |
The standard message stream.
- Parameters
-
lvl | The message level to set the stream to |
- Returns
- A reference to the default message stream, set to level "lvl"
Definition at line 29 of file AsgMessagingForward.cxx.
◆ msgLvl()
bool asg::AsgMessagingForward::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inherited |
Test the output level of the object.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicting if messages at given level will be printed
-
true
If messages at level "lvl" will be printed
Definition at line 11 of file AsgMessagingForward.cxx.
14 if (
msg.level() <= lvl)
◆ operator bool()
◆ set()
set the object decoration for the given systematic
◆ m_dataCache
◆ m_decorName
◆ m_msg
std::function<MsgStream& ()> asg::AsgMessagingForward::m_msg |
|
privateinherited |
the message stream we use
This used to be a simple pointer to the MsgStream
itself, but in AthenaMT the actual object used is local to the thread. So instead of pointing to it directly we are now using a function to look it up, which will get the thread-local object.
Definition at line 77 of file AsgMessagingForward.h.
◆ m_objectHandle
The documentation for this class was generated from the following file: