ATLAS Offline Software
Loading...
Searching...
No Matches
IdentityAssociationTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// $Id$
13
15
17
18
19namespace D3PD {
20
21
29 const std::string& name,
30 const IInterface* parent)
31 : SingleAssociationToolImpl (type, name, parent),
32 m_ti(0)
33{
34}
35
36
47 const std::type_info& ti)
48{
50 m_ti = &ti;
51 return StatusCode::SUCCESS;
52}
53
54
58const std::type_info& IdentityAssociationTool::fromTypeinfo() const
59{
60 return *m_ti;
61}
62
63
67const std::type_info& IdentityAssociationTool::typeinfo() const
68{
69 return *m_ti;
70}
71
72
80const void* IdentityAssociationTool::getUntyped (const void* p)
81{
82 return p;
83}
84
85
86} // namespace D3PD
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
StatusCode configureD3PD(IAddVariable *tree)
Configure the parent tree.
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