29 ISvcLocator* pSvcLocator ) :
41 "Tool to write the reference TruthParticleContainer into "
56 return StatusCode::SUCCESS;
62 return StatusCode::SUCCESS;
73 return StatusCode::SUCCESS;
83 (
"Could not retrieve algTool IIOMcAodTool [" <<
m_mcAodWriter.type()
85 throw std::runtime_error(
"Could not setup McWriter property !");
88 (
"Retrieved and configured algTool [" <<
m_mcAodWriter.type() <<
"]");
#define ATH_MSG_WARNING(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
virtual StatusCode finalize()
IIOMcAodTool_t m_mcAodWriter
Tool to write the reference TruthParticleContainer into a dedicated tuple.
virtual ~McAodTupleWriter()
Destructor:
void setupMcAodWriterTool()
Method to configure the back-end to write out the HepMC::GenEvent.
virtual StatusCode execute()
McAodTupleWriter()
Default constructor:
virtual StatusCode initialize()
Athena Algorithm's Hooks.
ToolHandle< IIOMcAodTool > IIOMcAodTool_t