17 m_d3pdSvc(
"D3PD::RootReaderD3PDSvc", name ),
23 "The D3PD creation service." );
25 "List of IObjFillerTool instances to run." );
27 "The name of the tuple. The interpretation of this "
28 "depends on the D3PDSvc." );
31 "Common prefix to the D3PD variable names" );
34 "Output directory for the generated sources" );
36 "Name of the C++ class to be generated" );
53 <<
"D3PD::IReaderD3PD object!";
54 return StatusCode::FAILURE;
61 for(
size_t i = 0; i <
m_tools.size(); ++i ) {
66 return StatusCode::SUCCESS;
74 return StatusCode::SUCCESS;
82 for(
size_t i = 0; i <
m_tools.size(); ++i ) {
87 return StatusCode::SUCCESS;
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.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Define an abstract interface for building a D3PD tree.
Common interface for the code generator D3PD classes.
ServiceHandle< ID3PDSvc > m_d3pdSvc
Property: The D3PD creation service.
virtual StatusCode finalize()
Standard Gaudi finalize method.
std::string m_dir
Directory where the sources should be put.
IReaderD3PD * m_d3pd
The created tuple. Note: we don't take ownership.
std::string m_classname
Name of the generated class.
std::string m_prefix
Common variable name prefix.
ToolHandleArray< IObjFillerTool > m_tools
Property: List of object filler tools to run.
virtual StatusCode execute()
Standard Gaudi execute method.
virtual StatusCode initialize()
Standard Gaudi initialize method.
ReaderAlg(const std::string &name, ISvcLocator *svcloc)
Standard algorithm constructor.
std::string m_tuplePath
Property: The tuple name.
bool m_booked
Flag that we've called book().
Block filler tool for noisy FEB information.