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