ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerTest
src
ToObj2AssociationTool.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_TOOBJ2ASSOCIATIONTOOL_H
17
#define D3PDMAKERTEST_TOOBJ2ASSOCIATIONTOOL_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
ToObj2AssociationTool
34
:
public
D3PD::SingleAssociationTool
<D3PD::Types<Obj1, Obj2>, Obj2>
35
{
36
public
:
37
typedef
D3PD::SingleAssociationTool<D3PD::Types<Obj1, Obj2>
,
Obj2
>
Base
;
38
39
46
ToObj2AssociationTool
(
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
66
virtual
const
Obj2
*
get
(
const
Obj2
& p);
67
};
68
69
70
}
// namespace D3PDTest
71
72
73
74
#endif
// not D3PDMAKERTEST_TOOBJ2ASSOCIATIONTOOL_H
SingleAssociationTool.h
Type-safe wrapper for single associator tools.
D3PDTest::Obj1
Test class for D3PD maker.
Definition
Obj1.h:38
D3PDTest::Obj2
Test class for D3PD maker.
Definition
Obj2.h:28
D3PDTest::ToObj2AssociationTool::Base
D3PD::SingleAssociationTool< D3PD::Types< Obj1, Obj2 >, Obj2 > Base
Definition
ToObj2AssociationTool.h:37
D3PDTest::ToObj2AssociationTool::get
virtual const Obj2 * get(const Obj1 &p)
Return the target object.
Definition
ToObj2AssociationTool.cxx:41
D3PDTest::ToObj2AssociationTool::ToObj2AssociationTool
ToObj2AssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
ToObj2AssociationTool.cxx:27
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