ATLAS Offline Software
Loading...
Searching...
No Matches
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$
12
13
15#include "D3PDMakerTest/Obj1.h"
16
17
18namespace D3PDTest {
19
20
28 const std::string& name,
29 const IInterface* parent)
30 : Base (type, name, parent)
31{
32}
33
34
42{
43 return &p.m_o2;
44}
45
46
47} // namespace D3PDTest
Test code: associate from an Obj1 to a single Obj2.
Test class for D3PD maker.
Obj1Obj2AssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
virtual const Obj2 * get(const Obj1 &p)
Return the target object.
D3PD::SingleAssociationTool< Obj1, Obj2 > Base
Test class for D3PD maker.
Definition Obj1.h:38
Test class for D3PD maker.
Definition Obj2.h:28