Implementation for the IEmTauRoICnvTool interface. More...
#include <EmTauRoICnvTool.h>
Public Member Functions | |
EmTauRoICnvTool (const std::string &type, const std::string &name, const IInterface *parent) | |
Regular AlgTool constructor. | |
virtual StatusCode | initialize () |
Function initialising the tool. | |
virtual StatusCode | convert (const LVL1_ROI *aod, xAOD::EmTauRoIContainer *xaod) |
Function that fills an existing xAOD::EmTauRoIContainer. |
Implementation for the IEmTauRoICnvTool interface.
This is a simple tool that implements the converter function defined in IEmTauRoICnvTool.
StatusCode xAODMaker::EmTauRoICnvTool::convert | ( | const LVL1_ROI * | aod, | |
xAOD::EmTauRoIContainer * | xaod | |||
) | [virtual] |
Function that fills an existing xAOD::EmTauRoIContainer.
This is the important function of the tool. It takes the em/tau RoI objects from a LVL1_ROI container, and fills an xAOD::EmTauRoIContainer with them.
aod | The AOD object to take the em/tau RoIs from | |
xaod | The xAOD container to fill the RoIs into |
StatusCode::SUCCESS
if all went fine, something else if not Implements xAODMaker::IEmTauRoICnvTool.