ATLAS Offline Software
PhysicsAnalysis
D3PDMaker
D3PDMakerTest
src
Obj1Obj2AssociationTool.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 "
Obj1Obj2AssociationTool.h
"
15
#include "
D3PDMakerTest/Obj1.h
"
16
17
18
namespace
D3PDTest
{
19
20
27
Obj1Obj2AssociationTool::Obj1Obj2AssociationTool
(
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
*
Obj1Obj2AssociationTool::get
(
const
Obj1
&
p
)
42
{
43
return
&
p
.m_o2;
44
}
45
46
47
}
// namespace D3PDTest
D3PDTest::Obj1
Test class for D3PD maker.
Definition:
Obj1.h:38
D3PDTest::Obj1Obj2AssociationTool::get
virtual const Obj2 * get(const Obj1 &p)
Return the target object.
Definition:
Obj1Obj2AssociationTool.cxx:41
D3PD::SingleAssociationTool< Obj1, Obj2 >
D3PDTest::Obj1Obj2AssociationTool::Obj1Obj2AssociationTool
Obj1Obj2AssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition:
Obj1Obj2AssociationTool.cxx:27
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
Obj1Obj2AssociationTool.h
Test code: associate from an Obj1 to a single Obj2.
Obj1.h
Test class for D3PD maker.
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 Thu Nov 7 2024 21:22:58 for ATLAS Offline Software by
1.8.18