16#include "GaudiKernel/Incident.h"
17#include "GaudiKernel/IIncidentSvc.h"
30 const std::string& name,
31 const IInterface* parent
33 : base_class (
type, name, parent),
39 "List of contained block filler tools.");
40 declareProperty (
"Prefix",
m_prefix =
"",
41 "Variable name prefix for the contained blocks.");
42 declareProperty (
"BlockName",
m_blockName = this->name(),
43 "The name of this block.");
45 "Name of the D3PDObject that created this filler.");
47 "Set to true to get metadata into the output D3PD "
48 "about the variables created by this tool");
58 CHECK( AthAlgTool::initialize() );
63 CHECK( p_incSvc.retrieve() );
64 p_incSvc->addListener(
this,
"EndEvtLoop" );
66 return StatusCode::SUCCESS;
86 return StatusCode::SUCCESS;
105 return StatusCode::SUCCESS;
121 return StatusCode::SUCCESS;
147 if( inc.type() ==
"EndEvtLoop" ) {
149 const std::string metadata =
m_metadata.toString();
152 if(
m_tree->addMetadata( metadataName,
153 &metadata ).isFailure() ) {
155 <<
"Couldn't add object metadata information to the output!";
#define REPORT_MESSAGE(LVL)
Report a message.
#define CHECK(...)
Evaluate an expression and check for errors.
Abstract interface for a D3PD tree.
Define macros for attributes used to control the static checker.
#define ATLAS_THREAD_SAFE
StatusCode configureD3PD(IAddVariable *tree)
Configure the parent tree.
AddVariable(const std::string &prefix, const std::string &blockName=s_emptyString)
Constructor.
ObjectMetadata m_metadata
Metadata about the variables created by this object.
Common interface for adding a variable to a tuple.
Define an abstract interface for building a D3PD tree.
Block filler tool for noisy FEB information.