ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerUtils
D3PDMakerUtils
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
17
#include "
D3PDMakerUtils/BlockFillerToolImpl.h
"
18
19
20
namespace
D3PD
{
21
22
62
template
<
class
T>
63
class
BlockFillerTool
64
:
public
BlockFillerToolImpl
65
{
66
public
:
73
using
BlockFillerToolImpl::BlockFillerToolImpl
;
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
155
#include "
D3PDMakerUtils/BlockFillerTool.icc
"
156
157
158
// Make sure we always see the specializations.
159
#ifndef D3PDMAKERUTILS_VOIDBLOCKFILLERTOOL_H
// avoid recusive include
160
# include "
D3PDMakerUtils/VoidBlockFillerTool.h
"
161
#endif
162
#ifndef D3PDMAKERUTILS_BLOCKFILLERTOOLMULTI_H
163
# include "
D3PDMakerUtils/BlockFillerToolMulti.h
"
164
#endif
165
166
167
#endif
// not D3PDMAKERUTILS_BLOCKFILLERTOOL_H
BlockFillerToolImpl.h
Non-template parts of BlockFillerTool.
BlockFillerToolMulti.h
A specialization of BlockFillerTool that can accept one of several types.
BlockFillerTool.icc
VoidBlockFillerTool.h
Type-safe wrapper for block filler tools, for tools taking no input.
D3PD::BlockFillerToolImpl::BlockFillerToolImpl
BlockFillerToolImpl(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
BlockFillerToolImpl.cxx:27
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition
BlockFillerTool.h:65
D3PD::BlockFillerTool::book
virtual StatusCode book()=0
Declare tuple variables.
D3PD::BlockFillerTool::configureD3PD
virtual StatusCode configureD3PD(IAddVariable *tree, const std::type_info &ti)
Configure during initialization: type-check.
D3PD::BlockFillerTool::fillAgain
virtual StatusCode fillAgain(const T &p)
Fill one block, after AGAIN has been returned (type-safe).
D3PD::BlockFillerTool::BlockFillerToolImpl
BlockFillerToolImpl(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
BlockFillerToolImpl.cxx:27
D3PD::BlockFillerTool::fill
virtual StatusCode fill(const T &p)=0
Fill one block.
D3PD::IAddVariable
Common interface for adding a variable to a tuple.
Definition
IAddVariable.h:70
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
D3PD::again
bool again
Definition
VoidBlockFillerTool.cxx:79
tree
TChain * tree
Definition
tile_monitor.h:30
Generated on
for ATLAS Offline Software by
1.17.0