ATLAS Offline Software
Loading...
Searching...
No Matches
BlockFillerTool.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 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4*/
11
12
13#ifndef D3PDMAKERUTILS_BLOCKFILLERTOOL_H
14#define D3PDMAKERUTILS_BLOCKFILLERTOOL_H
15
16
18
19
20namespace D3PD {
21
22
62template <class T>
64 : public BlockFillerToolImpl
65{
66public:
74
75
84 virtual StatusCode configureD3PD (IAddVariable* tree,
85 const std::type_info& ti);
86
87
93 virtual StatusCode book() = 0;
94
95
122 virtual StatusCode fillUntyped (const void* p,
123 bool again = false);
124
125
134 virtual StatusCode fill (const T& p) = 0;
135
136
148 virtual StatusCode fillAgain (const T& p);
149};
150
151
152} // namespace D3PD
153
154
156
157
158// Make sure we always see the specializations.
159#ifndef D3PDMAKERUTILS_VOIDBLOCKFILLERTOOL_H // avoid recusive include
161#endif
162#ifndef D3PDMAKERUTILS_BLOCKFILLERTOOLMULTI_H
164#endif
165
166
167#endif // not D3PDMAKERUTILS_BLOCKFILLERTOOL_H
Non-template parts of BlockFillerTool.
A specialization of BlockFillerTool that can accept one of several types.
Type-safe wrapper for block filler tools, for tools taking no input.
BlockFillerToolImpl(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Type-safe wrapper for block filler tools.
virtual StatusCode book()=0
Declare tuple variables.
virtual StatusCode configureD3PD(IAddVariable *tree, const std::type_info &ti)
Configure during initialization: type-check.
virtual StatusCode fillAgain(const T &p)
Fill one block, after AGAIN has been returned (type-safe).
virtual StatusCode fillUntyped(const void *p, bool again=false)
Fill one block.
BlockFillerToolImpl(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
virtual StatusCode fill(const T &p)=0
Fill one block — type-safe version.
Common interface for adding a variable to a tuple.
Block filler tool for noisy FEB information.
TChain * tree