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