ATLAS Offline Software
Loading...
Searching...
No Matches
IdentityAssociationTool.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$
15
16
17#ifndef D3PDMAKERCORECOMPS_IDENTITYASSOCIATIONTOOL_H
18#define D3PDMAKERCORECOMPS_IDENTITYASSOCIATIONTOOL_H
19
20
22#include <typeinfo>
23
24
25namespace D3PD {
26
27
34{
35public:
42 IdentityAssociationTool (const std::string& type,
43 const std::string& name,
44 const IInterface* parent);
45
46
56 virtual StatusCode configureD3PD (D3PD::IAddVariable* tree,
57 const std::type_info& ti);
58
59
63 virtual const std::type_info& fromTypeinfo() const;
64
68 virtual const std::type_info& typeinfo() const;
69
70
78 virtual const void* getUntyped (const void* p);
79
80
81private:
82 const std::type_info* m_ti;
83};
84
85
86} // namespace D3PD
87
88
89#endif // not D3PDMAKERCORECOMPS_IDENTITYASSOCIATIONTOOL_H
Non-template parts of SingleAssociationTool.
Common interface for adding a variable to a tuple.
virtual const std::type_info & typeinfo() const
Return the type of object retrieved by this tool.
virtual StatusCode configureD3PD(D3PD::IAddVariable *tree, const std::type_info &ti)
Configure during initialization: type-check.
virtual const std::type_info & fromTypeinfo() const
Return the std::type_info for the source of the association.
IdentityAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
virtual const void * getUntyped(const void *p)
Return the target object.
SingleAssociationToolImpl(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Block filler tool for noisy FEB information.
TChain * tree