ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerUtils
D3PDMakerUtils
BlockFillerToolImpl.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$
14
15
#ifndef D3PDMAKERUTILS_BLOCKFILLERTOOLIMPL_H
16
#define D3PDMAKERUTILS_BLOCKFILLERTOOLIMPL_H
17
18
19
#include "
D3PDMakerInterfaces/IBlockFillerTool.h
"
20
#include "
D3PDMakerUtils/AddVariable.h
"
21
#include "
D3PDMakerUtils/TypeConverter.h
"
22
#include "
AthenaBaseComps/AthAlgTool.h
"
23
#include "GaudiKernel/AlgTool.h"
24
#include <string>
25
26
27
namespace
D3PD
{
28
29
42
class
BlockFillerToolImpl
43
:
public
extends<AthAlgTool, IBlockFillerTool>,
public
AddVariable
44
{
45
public
:
52
BlockFillerToolImpl
(
const
std::string&
type
,
53
const
std::string& name,
54
const
IInterface* parent);
55
56
57
protected
:
70
StatusCode
configureImpl
(
IAddVariable
*
tree
,
71
const
std::type_info& ti,
72
const
std::type_info& fill_ti);
73
74
91
StatusCode
configureImpl
(
IAddVariable
*
tree
,
92
const
std::type_info& ti,
93
const
std::vector<const std::type_info*>& tis,
94
size_t
& which);
95
96
107
StatusCode
convert
(
void
const
* & p)
const
;
108
109
110
private
:
112
std::string
m_prefix
;
113
115
std::string
m_suffix
;
116
118
std::string
m_blockName
;
119
121
TypeConverter
m_converter
;
122
};
123
124
125
}
// namespace D3PD
126
127
128
#endif
// not D3PDMAKERUTILS_BLOCKFILLERTOOLIMPL_H
AddVariable.h
Common implementation of IAddVariable.
AthAlgTool.h
IBlockFillerTool.h
Abstract interface for tool to fill a block in the D3PD.
TypeConverter.h
Helper to convert pointers.
D3PD::AddVariable::AddVariable
AddVariable(const std::string &prefix, const std::string &blockName=s_emptyString)
Constructor.
Definition
AddVariable.cxx:29
D3PD::BlockFillerToolImpl::m_prefix
std::string m_prefix
Property: the variable prefix for this block.
Definition
BlockFillerToolImpl.h:112
D3PD::BlockFillerToolImpl::configureImpl
StatusCode configureImpl(IAddVariable *tree, const std::type_info &ti, const std::type_info &fill_ti)
Configure during initialization: type-check.
Definition
BlockFillerToolImpl.cxx:55
D3PD::BlockFillerToolImpl::m_suffix
std::string m_suffix
Property: the variable prefix for this block.
Definition
BlockFillerToolImpl.h:115
D3PD::BlockFillerToolImpl::m_converter
TypeConverter m_converter
Helper to do type conversions.
Definition
BlockFillerToolImpl.h:121
D3PD::BlockFillerToolImpl::m_blockName
std::string m_blockName
Property: the name of this block.
Definition
BlockFillerToolImpl.h:118
D3PD::BlockFillerToolImpl::convert
StatusCode convert(void const *&p) const
Do type conversion.
Definition
BlockFillerToolImpl.cxx:105
D3PD::BlockFillerToolImpl::BlockFillerToolImpl
BlockFillerToolImpl(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
BlockFillerToolImpl.cxx:27
D3PD::IAddVariable
Common interface for adding a variable to a tuple.
Definition
IAddVariable.h:70
D3PD::TypeConverter
This is helper for converting between pointers of different types, given dynamically by std::type_inf...
Definition
TypeConverter.h:45
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
type
tree
TChain * tree
Definition
tile_monitor.h:30
Generated on
for ATLAS Offline Software by
1.17.0