15#include "GaudiKernel/Guards.h"
38 "The D3PD creation service.");
40 "List of IObjFillerTool instances to run.");
42 "List of IMetadataTool instances to run.");
44 "The name of the tuple. The interpretation of this "
45 "depends on the D3PDSvc.");
47 "Audit the tools using PerfMon?");
67 for (
size_t i = 0; i <
m_tools.size(); i++) {
68 Gaudi::Guards::AuditorGuard auditor(
m_tools[ i ]->name() +
69 ":cfg", auditorSvc(),
"ini" );
73 for (
size_t i = 0; i <
m_tools.size(); i++) {
87 return StatusCode::SUCCESS;
101 return StatusCode::SUCCESS;
115 for (
size_t i = 0; i <
m_tools.size(); i++) {
116 Gaudi::Guards::AuditorGuard auditor(
m_tools[ i ]->name() +
117 ":book", auditorSvc(),
"evt" );
121 for (
size_t i = 0; i <
m_tools.size(); i++) {
134 for (
size_t i = 0; i <
m_tools.size(); i++) {
140 return StatusCode::SUCCESS;
153 Gaudi::Guards::AuditorGuard auditor( tool.name() +
154 ":fill", auditorSvc(),
"evt" );
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
Abstract interface for a D3PD tree.
Algorithm to create a D3PD tree.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ID3PD * m_d3pd
The created tuple. Note: we don't take ownership.
StatusCode(D3PD::MakerAlg::* m_fillFunction)(IObjFillerTool &)
Pointer to the fill function to be used.
StatusCode fillToolWithoutAuditor(IObjFillerTool &tool)
Cakk fill on a tool without an auditor.
virtual StatusCode initialize()
Standard Gaudi initialize method.
virtual StatusCode execute()
Standard Gaudi execute method.
StatusCode fillToolWithAuditor(IObjFillerTool &tool)
Call fill() on a tool with an auditor.
ServiceHandle< ID3PDSvc > m_d3pdSvc
Property: The D3PD creation service.
bool m_audit
Property: Audit the tools with PerfMon or not?
MakerAlg(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi algorithm constructor.
virtual StatusCode finalize()
Standard Gaudi finalize method.
bool m_booked
Flag that we've called book().
ToolHandleArray< IObjFillerTool > m_tools
Property: List of object filler tools to run.
std::string m_tuplePath
Property: The tuple name.
ToolHandleArray< IMetadataTool > m_metadataTools
Property: List of metadata tools to run.
virtual StatusCode finalize()
bool isEventAccepted() const
Test whether this event should be output.
virtual StatusCode initialize()
FilteredAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Standard algorithm Constructor.
Block filler tool for noisy FEB information.