ATLAS Offline Software
Loading...
Searching...
No Matches
VoidBlockFillerTool.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$
15
16
17#ifndef D3PDMAKERUTILS_VOIDBLOCKFILLERTOOL_H
18#define D3PDMAKERUTILS_VOIDBLOCKFILLERTOOL_H
19
20
22#ifndef D3PDMAKERUTILS_BLOCKFILLERTOOL_H // prevent recursive include
24#endif
25
26namespace D3PD {
27
28
56template <>
57class BlockFillerTool <void>
58 : public BlockFillerToolImpl
59{
60public:
67 BlockFillerTool (const std::string& type,
68 const std::string& name,
69 const IInterface* parent);
70
71
80 virtual StatusCode configureD3PD (IAddVariable* tree,
81 const std::type_info& ti);
82
83
110 virtual StatusCode fillUntyped (const void* p,
111 bool again /*= false*/);
112
113
121 virtual StatusCode fill () = 0;
122
123
134 virtual StatusCode fillAgain ();
135};
136
137
138} // namespace D3PD
139
140
141#endif // not D3PDMAKERUTILS_VOIDBLOCKFILLERTOOL_H
Non-template parts of BlockFillerTool.
Type-safe wrapper for block filler tools.
virtual StatusCode fill()=0
Fill one block — type-safe version.
BlockFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
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)
Common interface for adding a variable to a tuple.
Block filler tool for noisy FEB information.
TChain * tree