ATLAS Offline Software
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$
16 #ifndef D3PDMAKERTEST_TOOBJ2ASSOCIATIONTOOL_H
17 #define D3PDMAKERTEST_TOOBJ2ASSOCIATIONTOOL_H
18 
19 
21 
22 
23 namespace D3PDTest {
24 
25 
26 class Obj1;
27 class Obj2;
28 
29 
34  : public D3PD::SingleAssociationTool<D3PD::Types<Obj1, Obj2>, Obj2>
35 {
36 public:
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
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
D3PDTest::Obj1
Test class for D3PD maker.
Definition: Obj1.h:38
D3PDTest::ToObj2AssociationTool
Test code: associate from an Obj1 to a single Obj2.
Definition: ToObj2AssociationTool.h:35
D3PD::SingleAssociationTool
Type-safe wrapper for single associator tools.
Definition: SingleAssociationTool.h:133
SingleAssociationTool.h
Type-safe wrapper for single associator tools.
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PDTest::ToObj2AssociationTool::get
virtual const Obj2 * get(const Obj1 &p)
Return the target object.
Definition: ToObj2AssociationTool.cxx:41
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
D3PDTest::ToObj2AssociationTool::ToObj2AssociationTool
ToObj2AssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: ToObj2AssociationTool.cxx:27
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PDTest
Definition: MapDumper.h:25
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