28 (
const std::string&
type,
29 const std::string& name,
30 const IInterface* parent)
31 : base_class (
type, name, parent),
37 declareProperty (
"Associator", m_associator,
38 "The ISingleAssociationTool instance.");
40 "List of contained block filler tools.");
41 declareProperty (
"Prefix",
m_prefix =
"",
42 "Variable name prefix for the contained blocks.");
43 declareProperty (
"Suffix",
m_suffix =
"",
44 "Variable name suffix for the contained blocks.");
45 declareProperty (
"BlockName",
m_blockName = this->name(),
46 "The name of this block.");
47 declareProperty (
"Matched", m_matchedName =
"matched",
48 "Variable name to use for the matched flag. "
59 CHECK( AthAlgTool::initialize() );
60 CHECK( m_associator.retrieve() );
62 return StatusCode::SUCCESS;
76 const std::type_info& ti)
79 CHECK( m_associator->configureD3PD (
this, ti) );
80 const std::type_info& ati = m_associator->typeinfo();
84 return StatusCode::SUCCESS;
95 CHECK( m_associator->book () );
99 if (!m_matchedName.empty())
102 return StatusCode::SUCCESS;
136ContainedAssociationFillerTool::fillUntyped (
const void* p,
139 const void*
pout = m_associator->getUntyped (p);
142 if (!m_matchedName.empty())
153 m_associator->releaseObjectUntyped (
pout);
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.
StatusCode configureD3PD(IAddVariable *tree)
Configure the parent tree.
AddVariable(const std::string &prefix, const std::string &blockName=s_emptyString)
Constructor.
const std::string & m_prefix
Reference to the variable prefix.
const std::string & m_suffix
Reference to the variable suffix.
Common interface for adding a variable to a tuple.
Block filler tool for noisy FEB information.
std::string m_blockName
Property: the name of this block.
ToolHandleArray< IBlockFillerTool > m_blockFillers
Property: The list of block filler tools.