Implementation of the ITrigDecisionCnvTool interface. More...
#include <TrigDecisionCnvTool.h>
Public Member Functions | |
TrigDecisionCnvTool (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 TrigDec::TrigDecision *aod, xAOD::TrigDecision *xaod, const TriggerInfo *level1TriggerInfo) |
Function filling an xAOD::TrigDecision object with information. |
Implementation of the ITrigDecisionCnvTool interface.
This tool copies the contents of the "old" TrigDec::TrigDecision object into an xAOD::TrigDecision one.
StatusCode xAODMaker::TrigDecisionCnvTool::convert | ( | const TrigDec::TrigDecision * | aod, | |
xAOD::TrigDecision * | xaod, | |||
const TriggerInfo * | triggerInfo | |||
) | [virtual] |
Function filling an xAOD::TrigDecision object with information.
This is the important function of the tool. It takes an existing TrigDec::TrigDecision object, and copies its contents into a new xAOD::TrigDecision object.
aod | The AOD object to take the information from | |
xaod | The xAOD object to fill the information into |
StatusCode::SUCCESS
if all went fine, something else if not Implements xAODMaker::ITrigDecisionCnvTool.