ATLAS Offline Software
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$
15 
17 
18 
19 namespace D3PD {
20 
21 
29  const std::string& name,
30  const IInterface* 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 
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
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::IAddVariable
Common interface for adding a variable to a tuple.
Definition: IAddVariable.h:70
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
D3PD::AddVariable::configureD3PD
StatusCode configureD3PD(IAddVariable *tree)
Configure the parent tree.
Definition: AddVariable.cxx:61
tree
TChain * tree
Definition: tile_monitor.h:30
D3PD
Block filler tool for noisy FEB information.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:21
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
D3PD::IdentityAssociationTool::getUntyped
virtual const void * getUntyped(const void *p)
Return the target object.
Definition: IdentityAssociationTool.cxx:80
D3PD::IdentityAssociationTool::typeinfo
virtual const std::type_info & typeinfo() const
Return the type of object retrieved by this tool.
Definition: IdentityAssociationTool.cxx:67
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
errorcheck.h
Helpers for checking error return status codes and reporting errors.
D3PD::IdentityAssociationTool::configureD3PD
virtual StatusCode configureD3PD(D3PD::IAddVariable *tree, const std::type_info &ti)
Configure during initialization: type-check.
Definition: IdentityAssociationTool.cxx:46
D3PD::SingleAssociationToolImpl
Non-template parts of SingleAssociationTool.
Definition: SingleAssociationToolImpl.h:47
D3PD::IdentityAssociationTool::IdentityAssociationTool
IdentityAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: IdentityAssociationTool.cxx:28
IdentityAssociationTool.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78