ATLAS Offline Software
Loading...
Searching...
No Matches
Obj1Obj2AssociationTool.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id$
14
15
16#ifndef D3PDMAKERTEST_OBJ1OBJ2ASSOCIATIONTOOL_H
17#define D3PDMAKERTEST_OBJ1OBJ2ASSOCIATIONTOOL_H
18
19
21
22
23namespace D3PDTest {
24
25
26class Obj1;
27class Obj2;
28
29
34 : public D3PD::SingleAssociationTool<Obj1, Obj2>
35{
36public:
38
39
46 Obj1Obj2AssociationTool (const std::string& type,
47 const std::string& name,
48 const IInterface* parent);
49
50
57 virtual const Obj2* get (const Obj1& p);
58};
59
60
61} // namespace D3PDTest
62
63
64
65#endif // not D3PDMAKERTEST_OBJ1OBJ2ASSOCIATIONTOOL_H
Type-safe wrapper for single associator tools.
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
Type-safe wrapper for single associator tools.