ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerCoreComps
src
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
14
#include "
AthenaKernel/errorcheck.h
"
15
16
#include "
IdentityAssociationTool.h
"
17
18
19
namespace
D3PD
{
20
21
28
IdentityAssociationTool::IdentityAssociationTool
(
const
std::string&
type
,
29
const
std::string& name,
30
const
IInterface* parent)
31
:
SingleAssociationToolImpl
(
type
, name, parent),
32
m_ti
(0)
33
{
34
}
35
36
46
StatusCode
IdentityAssociationTool::configureD3PD
(
D3PD::IAddVariable
*
tree
,
47
const
std::type_info& ti)
48
{
49
CHECK
(
AddVariable::configureD3PD
(
tree
) );
50
m_ti
= &ti;
51
return
StatusCode::SUCCESS;
52
}
53
54
58
const
std::type_info&
IdentityAssociationTool::fromTypeinfo
()
const
59
{
60
return
*
m_ti
;
61
}
62
63
67
const
std::type_info&
IdentityAssociationTool::typeinfo
()
const
68
{
69
return
*
m_ti
;
70
}
71
72
80
const
void
*
IdentityAssociationTool::getUntyped
(
const
void
* p)
81
{
82
return
p;
83
}
84
85
86
}
// namespace D3PD
errorcheck.h
Helpers for checking error return status codes and reporting errors.
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition
Control/AthenaKernel/AthenaKernel/errorcheck.h:422
IdentityAssociationTool.h
D3PD::AddVariable::configureD3PD
StatusCode configureD3PD(IAddVariable *tree)
Configure the parent tree.
Definition
AddVariable.cxx:61
D3PD::IAddVariable
Common interface for adding a variable to a tuple.
Definition
IAddVariable.h:70
D3PD::IdentityAssociationTool::typeinfo
virtual const std::type_info & typeinfo() const
Return the type of object retrieved by this tool.
Definition
IdentityAssociationTool.cxx:67
D3PD::IdentityAssociationTool::configureD3PD
virtual StatusCode configureD3PD(D3PD::IAddVariable *tree, const std::type_info &ti)
Configure during initialization: type-check.
Definition
IdentityAssociationTool.cxx:46
D3PD::IdentityAssociationTool::m_ti
const std::type_info * m_ti
Definition
IdentityAssociationTool.h:82
D3PD::IdentityAssociationTool::fromTypeinfo
virtual const std::type_info & fromTypeinfo() const
Return the std::type_info for the source of the association.
Definition
IdentityAssociationTool.cxx:58
D3PD::IdentityAssociationTool::IdentityAssociationTool
IdentityAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
IdentityAssociationTool.cxx:28
D3PD::IdentityAssociationTool::getUntyped
virtual const void * getUntyped(const void *p)
Return the target object.
Definition
IdentityAssociationTool.cxx:80
D3PD::SingleAssociationToolImpl::SingleAssociationToolImpl
SingleAssociationToolImpl(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
SingleAssociationToolImpl.cxx:28
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
type
tree
TChain * tree
Definition
tile_monitor.h:30
Generated on
for ATLAS Offline Software by
1.17.0