ATLAS Offline Software
Loading...
Searching...
No Matches
AthEx::HandleTestTool3 Class Reference

#include <HandleTestTool3.h>

Inheritance diagram for AthEx::HandleTestTool3:
Collaboration diagram for AthEx::HandleTestTool3:

Public Member Functions

virtual StatusCode initialize () override

Private Attributes

SG::ReadHandleKey< MyDataObjm_rhKey { this, "RHKey", "rcont", "ReadHandle key" }
SG::ReadDecorHandleKey< MyDataObjm_rdhKey { this, "RDecorKey", m_rhKey, "rdecor", "ReadDecorHandleKey depending on RHKey" }
SG::WriteHandleKey< MyDataObjm_whKey { this, "WHKey", "wcont", "WriteHandle key" }
SG::WriteDecorHandleKey< MyDataObjm_wdhKey { this, "WDecorKey", m_whKey, "wdecor", "WriteDecorHandleKey depending on WHKey" }
SG::WriteDecorHandleKey< MyDataObjm_wdhKey2 { this, "WDecorKey2", m_rhKey, "wdecor2", "WriteDecorHandleKey depending on RHKey" }

Detailed Description

Definition at line 26 of file HandleTestTool3.h.

Member Function Documentation

◆ initialize()

StatusCode AthEx::HandleTestTool3::initialize ( )
overridevirtual

Definition at line 16 of file HandleTestTool3.cxx.

17{
18 ATH_CHECK( m_rhKey.initialize() );
19 ATH_CHECK( m_rdhKey.initialize() );
20 ATH_CHECK( m_whKey.initialize() );
21 ATH_CHECK( m_wdhKey.initialize() );
22 ATH_CHECK( m_wdhKey2.initialize() );
23
24 ATH_MSG_INFO( "RHKey : " << m_rhKey );
25 ATH_MSG_INFO( "RDecorKey: " << m_rdhKey << " " << m_rdhKey.contHandleKey());
26 ATH_MSG_INFO( "WHKey : " << m_whKey );
27 ATH_MSG_INFO( "WDecorKey: " << m_wdhKey << " " << m_wdhKey.contHandleKey());
28 ATH_MSG_INFO( "WDecorKey2: " << m_wdhKey2 << " " << m_wdhKey2.contHandleKey());
29
30 return StatusCode::SUCCESS;
31}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_INFO(x)
SG::ReadDecorHandleKey< MyDataObj > m_rdhKey
SG::WriteHandleKey< MyDataObj > m_whKey
SG::WriteDecorHandleKey< MyDataObj > m_wdhKey
SG::WriteDecorHandleKey< MyDataObj > m_wdhKey2
SG::ReadHandleKey< MyDataObj > m_rhKey

Member Data Documentation

◆ m_rdhKey

SG::ReadDecorHandleKey<MyDataObj> AthEx::HandleTestTool3::m_rdhKey { this, "RDecorKey", m_rhKey, "rdecor", "ReadDecorHandleKey depending on RHKey" }
private

Definition at line 38 of file HandleTestTool3.h.

39{ this, "RDecorKey", m_rhKey, "rdecor", "ReadDecorHandleKey depending on RHKey" };

◆ m_rhKey

SG::ReadHandleKey<MyDataObj> AthEx::HandleTestTool3::m_rhKey { this, "RHKey", "rcont", "ReadHandle key" }
private

Definition at line 35 of file HandleTestTool3.h.

36{ this, "RHKey", "rcont", "ReadHandle key" };

◆ m_wdhKey

SG::WriteDecorHandleKey<MyDataObj> AthEx::HandleTestTool3::m_wdhKey { this, "WDecorKey", m_whKey, "wdecor", "WriteDecorHandleKey depending on WHKey" }
private

Definition at line 44 of file HandleTestTool3.h.

45{ this, "WDecorKey", m_whKey, "wdecor", "WriteDecorHandleKey depending on WHKey" };

◆ m_wdhKey2

SG::WriteDecorHandleKey<MyDataObj> AthEx::HandleTestTool3::m_wdhKey2 { this, "WDecorKey2", m_rhKey, "wdecor2", "WriteDecorHandleKey depending on RHKey" }
private

Definition at line 47 of file HandleTestTool3.h.

48{ this, "WDecorKey2", m_rhKey, "wdecor2", "WriteDecorHandleKey depending on RHKey" };

◆ m_whKey

SG::WriteHandleKey<MyDataObj> AthEx::HandleTestTool3::m_whKey { this, "WHKey", "wcont", "WriteHandle key" }
private

Definition at line 41 of file HandleTestTool3.h.

42{ this, "WHKey", "wcont", "WriteHandle key" };

The documentation for this class was generated from the following files: