17 : base_class( name, svcloc ) {
19 declareProperty(
"Version",
m_version = 2,
20 "Version of the D3PDReader code to be generated" );
28 return StatusCode::FAILURE;
33 return StatusCode::SUCCESS;
39 std::vector< ID3PD* >::iterator itr =
m_d3pds.begin();
40 std::vector< ID3PD* >::iterator end =
m_d3pds.end();
41 for( ; itr != end; ++itr ) {
46 return StatusCode::SUCCESS;
55 REPORT_MESSAGE( MSG::VERBOSE ) <<
"Creating RootReaderD3PD_v1 with name: "
60 REPORT_MESSAGE( MSG::VERBOSE ) <<
"Creating RootReaderD3PD_v2 with name: "
66 return StatusCode::FAILURE;
74 return StatusCode::SUCCESS;
Helpers for checking error return status codes and reporting errors.
#define REPORT_MESSAGE(LVL)
Report a message.
Define an abstract interface for building a D3PD tree.
RootReaderD3PDSvc(const std::string &name, ISvcLocator *svcloc)
Standard Service constructor.
virtual StatusCode make(const std::string &name, ID3PD *&d3pd) override
Function implementing the ID3PDSvc interface.
std::vector< ID3PD * > m_d3pds
Internal list of all the created D3PD objects.
virtual StatusCode initialize() override
Standatd Gaudi initialization function.
int m_version
D3PDReader version to use.
virtual StatusCode finalize() override
Standard Gaudi finalization function.
D3PD class used for generating ROOT D3PDReader classes.
D3PD class used for generating ROOT D3PDReader classes.
Block filler tool for noisy FEB information.