ATLAS Offline Software
Loading...
Searching...
No Matches
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 $
14
15
16#ifndef D3PDMAKERCORECOMPS_CONTAINEDMULTIASSOCIATION_H
17#define D3PDMAKERCORECOMPS_CONTAINEDMULTIASSOCIATION_H
18
19
24#include "GaudiKernel/ToolHandle.h"
25
26
27namespace D3PD {
28
29
57 : public extends<AthAlgTool, IBlockFillerTool>, public AddVariable
58{
59public:
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
87 virtual StatusCode configureD3PD (IAddVariable* tree,
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
133private:
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
Common implementation of IAddVariable.
Abstract interface for tool to fill a block in the D3PD.
Abstract interface to form a multi-way association.
AddVariable(const std::string &prefix, const std::string &blockName=s_emptyString)
Constructor.
std::string m_prefix
Property: The variable name prefix.
virtual StatusCode finalize()
Standard Gaudi finalize method.
ContainedMultiAssociationFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
virtual StatusCode initialize()
Standard Gaudi initialize method.
ToolHandle< IMultiAssociationTool > m_associator
Property: The association tool instance.
virtual StatusCode book()
Declare tuple variables.
virtual StatusCode configureD3PD(IAddVariable *tree, const std::type_info &ti)
Configure during initialization: type-check.
std::string m_blockName
Property: the name of this block.
virtual StatusCode fillUntyped(const void *p, bool again=false)
Fill one block.
ToolHandleArray< IBlockFillerTool > m_blockFillers
Property: The list of block filler tools.
Common interface for adding a variable to a tuple.
Block filler tool for noisy FEB information.
TChain * tree