ATLAS Offline Software
ContainedMultiAssociationFillerTool.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: ContainedMultiAssociationFillerTool.h 618070 2014-09-22 19:05:34Z ssnyder $
16 #ifndef D3PDMAKERCORECOMPS_CONTAINEDMULTIASSOCIATION_H
17 #define D3PDMAKERCORECOMPS_CONTAINEDMULTIASSOCIATION_H
18 
19 
24 #include "GaudiKernel/ToolHandle.h"
25 
26 
27 namespace D3PD {
28 
29 
57  : public extends<AthAlgTool, IBlockFillerTool>, public AddVariable
58 {
59 public:
66  ContainedMultiAssociationFillerTool (const std::string& type,
67  const std::string& name,
68  const IInterface* parent);
69 
70 
72  virtual StatusCode initialize();
73 
74 
76  virtual StatusCode finalize();
77 
78 
88  const std::type_info& ti);
89 
90 
96  virtual StatusCode book();
97 
98 
128  virtual StatusCode fillUntyped (const void* p,
129  bool again = false);
130 
131 
132 
133 private:
135  ToolHandle<IMultiAssociationTool> m_associator;
136 
138  ToolHandleArray<IBlockFillerTool> m_blockFillers;
139 
141  std::string m_prefix;
142 
144  std::string m_blockName;
145 
147  const void* m_next;
148 };
149 
150 
151 } // namespace D3PD
152 
153 
154 #endif // not D3PDMAKERCORECOMPS_CONTAINEDMULTIASSOCIATIONFILLERTOOL_H
155 
D3PD::ContainedMultiAssociationFillerTool::m_prefix
std::string m_prefix
Property: The variable name prefix.
Definition: ContainedMultiAssociationFillerTool.h:141
D3PD::IAddVariable
Common interface for adding a variable to a tuple.
Definition: IAddVariable.h:70
D3PD::ContainedMultiAssociationFillerTool::configureD3PD
virtual StatusCode configureD3PD(IAddVariable *tree, const std::type_info &ti)
Configure during initialization: type-check.
Definition: ContainedMultiAssociationFillerTool.cxx:85
D3PD::AddVariable
Common implementation of IAddVariable.
Definition: AddVariable.h:38
D3PD::ContainedMultiAssociationFillerTool::book
virtual StatusCode book()
Declare tuple variables.
Definition: ContainedMultiAssociationFillerTool.cxx:103
D3PD::ContainedMultiAssociationFillerTool::m_blockName
std::string m_blockName
Property: the name of this block.
Definition: ContainedMultiAssociationFillerTool.h:144
tree
TChain * tree
Definition: tile_monitor.h:30
D3PD::ContainedMultiAssociationFillerTool::m_associator
ToolHandle< IMultiAssociationTool > m_associator
Property: The association tool instance.
Definition: ContainedMultiAssociationFillerTool.h:135
D3PD::ContainedMultiAssociationFillerTool::m_blockFillers
ToolHandleArray< IBlockFillerTool > m_blockFillers
Property: The list of block filler tools.
Definition: ContainedMultiAssociationFillerTool.h:138
D3PD::ContainedMultiAssociationFillerTool::ContainedMultiAssociationFillerTool
ContainedMultiAssociationFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: ContainedMultiAssociationFillerTool.cxx:28
D3PD::ContainedMultiAssociationFillerTool
Represent a multiple association by containment.
Definition: ContainedMultiAssociationFillerTool.h:58
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
D3PD::ContainedMultiAssociationFillerTool::fillUntyped
virtual StatusCode fillUntyped(const void *p, bool again=false)
Fill one block.
Definition: ContainedMultiAssociationFillerTool.cxx:143
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::ContainedMultiAssociationFillerTool::initialize
virtual StatusCode initialize()
Standard Gaudi initialize method.
Definition: ContainedMultiAssociationFillerTool.cxx:52
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
IBlockFillerTool.h
Abstract interface for tool to fill a block in the D3PD.
AddVariable.h
Common implementation of IAddVariable.
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::ContainedMultiAssociationFillerTool::finalize
virtual StatusCode finalize()
Standard Gaudi finalize method.
Definition: ContainedMultiAssociationFillerTool.cxx:65
D3PD::ContainedMultiAssociationFillerTool::m_next
const void * m_next
Next object to process.
Definition: ContainedMultiAssociationFillerTool.h:147
IMultiAssociationTool.h
Abstract interface to form a multi-way association.