Implementation for the IJetRoICnvTool interface. More...
#include <JetRoICnvTool.h>
Public Member Functions | |
JetRoICnvTool (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::JetRoIContainer *xaod) |
Function that fills an existing xAOD::JetRoIContainer. |
Implementation for the IJetRoICnvTool interface.
This is a simple tool that implements the converter function defined in IJetRoICnvTool.
StatusCode xAODMaker::JetRoICnvTool::convert | ( | const LVL1_ROI * | aod, | |
xAOD::JetRoIContainer * | xaod | |||
) | [virtual] |
Function that fills an existing xAOD::JetRoIContainer.
This is the important function of the tool. It takes the jet RoI objects from a LVL1_ROI container, and fills an xAOD::JetRoIContainer with them.
aod | The AOD object to take the jet RoIs from | |
xaod | The xAOD container to fill the RoIs into |
StatusCode::SUCCESS
if all went fine, something else if not Implements xAODMaker::IJetRoICnvTool.