ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerTest
src
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
20
#include "
D3PDMakerUtils/SingleAssociationTool.h
"
21
22
23
namespace
D3PDTest
{
24
25
26
class
Obj1
;
27
class
Obj2
;
28
29
33
class
Obj1Obj2AssociationTool
34
:
public
D3PD::SingleAssociationTool
<Obj1, Obj2>
35
{
36
public
:
37
typedef
D3PD::SingleAssociationTool<Obj1, Obj2>
Base
;
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
SingleAssociationTool.h
Type-safe wrapper for single associator tools.
D3PDTest::Obj1Obj2AssociationTool::Obj1Obj2AssociationTool
Obj1Obj2AssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
Obj1Obj2AssociationTool.cxx:27
D3PDTest::Obj1Obj2AssociationTool::get
virtual const Obj2 * get(const Obj1 &p)
Return the target object.
Definition
Obj1Obj2AssociationTool.cxx:41
D3PDTest::Obj1Obj2AssociationTool::Base
D3PD::SingleAssociationTool< Obj1, Obj2 > Base
Definition
Obj1Obj2AssociationTool.h:37
D3PDTest::Obj1
Test class for D3PD maker.
Definition
Obj1.h:38
D3PDTest::Obj2
Test class for D3PD maker.
Definition
Obj2.h:28
D3PD::SingleAssociationTool
Type-safe wrapper for single associator tools.
Definition
SingleAssociationTool.h:133
D3PDTest
Definition
MapDumper.h:25
type
Generated on
for ATLAS Offline Software by
1.14.0