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