ATLAS Offline Software
PhysicsAnalysis
D3PDMaker
D3PDMakerTest
src
ToObj2AssociationTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id$
14
#include "
ToObj2AssociationTool.h
"
15
#include "
D3PDMakerTest/Obj1.h
"
16
17
18
namespace
D3PDTest
{
19
20
27
ToObj2AssociationTool::ToObj2AssociationTool
(
const
std::string&
type
,
28
const
std::string&
name
,
29
const
IInterface*
parent
)
30
:
Base
(
type
,
name
,
parent
)
31
{
32
}
33
34
41
const
Obj2
*
ToObj2AssociationTool::get
(
const
Obj1
&
p
)
42
{
43
return
&
p
.m_o2;
44
}
45
46
53
const
Obj2
*
ToObj2AssociationTool::get
(
const
Obj2
&
p
)
54
{
55
return
&
p
;
56
}
57
58
59
}
// namespace D3PDTest
D3PDTest::Obj1
Test class for D3PD maker.
Definition:
Obj1.h:38
D3PD::SingleAssociationTool< D3PD::Types< Obj1, Obj2 >, Obj2 >
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
D3PDTest::ToObj2AssociationTool::get
virtual const Obj2 * get(const Obj1 &p)
Return the target object.
Definition:
ToObj2AssociationTool.cxx:41
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
ToObj2AssociationTool.h
Test code: Test SingleAssociationToolMulti.
Obj1.h
Test class for D3PD maker.
D3PDTest::ToObj2AssociationTool::ToObj2AssociationTool
ToObj2AssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition:
ToObj2AssociationTool.cxx:27
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
D3PDTest
Definition:
MapDumper.h:25
D3PDTest::Obj2
Test class for D3PD maker.
Definition:
Obj2.h:28
Generated on Sun Dec 22 2024 21:20:09 for ATLAS Offline Software by
1.8.18