17#include "GaudiKernel/Incident.h"
18#include "GaudiKernel/IIncidentSvc.h"
31 const std::string& name,
32 const IInterface* parent)
33 : base_class (
type, name, parent),
38 "The ICollectionGetterTool instance.");
40 "Name of the D3PDObject that created this filler.");
42 "If true, then it is not considered an error for the "
43 "requested input object to be missing.");
45 "Set to true to get metadata into the output D3PD "
46 "about the variables created by this tool");
64 CHECK( p_incSvc.retrieve() );
65 p_incSvc->addListener(
this,
"EndEvtLoop" );
67 return StatusCode::SUCCESS;
85 return StatusCode::SUCCESS;
101 m_metadata.setPrefix( m_prefix );
106 return StatusCode::SUCCESS;
126 return StatusCode::SUCCESS;
152 if( inc.type() ==
"EndEvtLoop" ) {
154 const std::string metadata = m_metadata.toString();
157 if(
m_tree->addMetadata( metadataName,
158 &metadata ).isFailure() ) {
160 <<
"Couldn't add object metadata information to the output!";
Helpers for checking error return status codes and reporting errors.
#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
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.