ATLAS Offline Software
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$
17 #ifndef D3PDMAKERCORECOMPS_IDENTITYASSOCIATIONTOOL_H
18 #define D3PDMAKERCORECOMPS_IDENTITYASSOCIATIONTOOL_H
19 
20 
22 #include <typeinfo>
23 
24 
25 namespace D3PD {
26 
27 
34 {
35 public:
42  IdentityAssociationTool (const std::string& type,
43  const std::string& name,
44  const IInterface* parent);
45 
46 
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 
81 private:
82  const std::type_info* m_ti;
83 };
84 
85 
86 } // namespace D3PD
87 
88 
89 #endif // not D3PDMAKERCORECOMPS_IDENTITYASSOCIATIONTOOL_H
D3PD::IdentityAssociationTool::m_ti
const std::type_info * m_ti
Definition: IdentityAssociationTool.h:82
D3PD::IdentityAssociationTool
A generic identity association; i.e., one that simply returns its input.
Definition: IdentityAssociationTool.h:34
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
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
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
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
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
SingleAssociationToolImpl.h
Non-template parts of SingleAssociationTool.