ATLAS Offline Software
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$
15 #ifndef D3PDMAKERUTILS_BLOCKFILLERTOOLIMPL_H
16 #define D3PDMAKERUTILS_BLOCKFILLERTOOLIMPL_H
17 
18 
23 #include "GaudiKernel/AlgTool.h"
24 #include <string>
25 
26 
27 namespace D3PD {
28 
29 
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:
71  const std::type_info& ti,
72  const std::type_info& fill_ti);
73 
74 
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 
122 };
123 
124 
125 } // namespace D3PD
126 
127 
128 #endif // not D3PDMAKERUTILS_BLOCKFILLERTOOLIMPL_H
D3PD::IAddVariable
Common interface for adding a variable to a tuple.
Definition: IAddVariable.h:70
D3PD::AddVariable
Common implementation of IAddVariable.
Definition: AddVariable.h:38
tree
TChain * tree
Definition: tile_monitor.h:30
TypeConverter.h
Helper to convert pointers.
D3PD::BlockFillerToolImpl::m_suffix
std::string m_suffix
Property: the variable prefix for this block.
Definition: BlockFillerToolImpl.h:115
D3PD::BlockFillerToolImpl::BlockFillerToolImpl
BlockFillerToolImpl(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: BlockFillerToolImpl.cxx:27
D3PD::TypeConverter
This is helper for converting between pointers of different types, given dynamically by std::type_inf...
Definition: TypeConverter.h:45
D3PD::BlockFillerToolImpl::convert
StatusCode convert(void const *&p) const
Do type conversion.
Definition: BlockFillerToolImpl.cxx:105
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
python.Utils.unixtools.which
def which(filename, env=os.environ)
UNIX-style which ---------------------------------------------------------—.
Definition: unixtools.py:39
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
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
IBlockFillerTool.h
Abstract interface for tool to fill a block in the D3PD.
AddVariable.h
Common implementation of IAddVariable.
D3PD::BlockFillerToolImpl
Non-template parts of BlockFillerTool.
Definition: BlockFillerToolImpl.h:44
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
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_prefix
std::string m_prefix
Property: the variable prefix for this block.
Definition: BlockFillerToolImpl.h:112