a data handle for writing systematics varied input data
More...
#include <SysWriteHandle.h>
|
template<typename T2 > |
| SysWriteHandle (T2 *owner, const std::string &propertyName, const std::string &propertyValue, const std::string &propertyDescription) |
| Standard constructor. More...
|
|
template<typename T2 > |
| SysWriteHandle (const std::string &outputName, T2 *owner) |
| Direct constructor which doesn't declare a property. More...
|
|
virtual bool | empty () const noexcept override |
| whether we have a name configured More...
|
|
| operator bool () const noexcept |
| !empty() More...
|
|
virtual std::string | getNamePattern () const override |
| get the name pattern before substitution More...
|
|
const std::string & | getName (const CP::SystematicSet &sys) const |
| get the name we record to the event store More...
|
|
template<typename X = Aux, typename = std::enable_if_t<std::is_same_v<X,void>>> |
::StatusCode | record (std::unique_ptr< T > object, const CP::SystematicSet &sys) const |
| record the object for the given systematic More...
|
|
template<typename X = Aux, typename = std::enable_if_t<!std::is_same_v<X,void>>> |
::StatusCode | record (std::unique_ptr< T > object, std::unique_ptr< Aux > aux, const CP::SystematicSet &sys) const |
| retrieve the object for the given name 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) |
| initialize this handle More...
|
|
StatusCode | initialize (SysListHandle &sysListHandle, SG::AllowEmptyEnum) |
|
template<typename T, typename Aux = void>
class CP::SysWriteHandle< T, Aux >
a data handle for writing systematics varied input data
Definition at line 29 of file SysWriteHandle.h.
◆ StoreType
template<typename T , typename Aux = void>
◆ SysWriteHandle() [1/2]
template<typename T , typename Aux = void>
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 container to be written should be configurable
◆ SysWriteHandle() [2/2]
template<typename T , typename Aux = void>
template<typename T2 >
Direct constructor which doesn't declare a property.
◆ empty()
template<typename T , typename Aux = void>
◆ fillSystematics()
template<typename T , typename Aux = void>
◆ getInputAffecting()
template<typename T , typename Aux = void>
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()
template<typename T , typename Aux = void>
get the name we record to the event store
◆ getNamePattern()
template<typename T , typename Aux = void>
◆ initialize() [1/2]
template<typename T , typename Aux = void>
◆ initialize() [2/2]
template<typename T , typename Aux = void>
◆ 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()
template<typename T , typename Aux = void>
◆ record() [1/2]
template<typename T , typename Aux = void>
template<typename X = Aux, typename = std::enable_if_t<std::is_same_v<X,void>>>
record the object for the given systematic
◆ record() [2/2]
template<typename T , typename Aux = void>
template<typename X = Aux, typename = std::enable_if_t<!std::is_same_v<X,void>>>
retrieve the object for the given name
◆ m_evtStore
template<typename T , typename Aux = void>
◆ m_evtStoreGetter
template<typename T , typename Aux = void>
the function to retrieve the event store
This is an std::function to allow the parent to be either a tool or an algorithm. Though we are not really supporting tools as parents when using SysListHandle, so in principle this could be replaced with a pointer to the algorithm instead.
Definition at line 145 of file SysWriteHandle.h.
◆ 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_outputName
template<typename T , typename Aux = void>
◆ m_outputNameCache
template<typename T , typename Aux = void>
The documentation for this class was generated from the following file: