ATLAS Offline Software
TrigNavigationCnvTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 xAODMaker::TrigNavigationCnvTool::TrigNavigationCnvTool( const std::string& type, const std::string& name,
7  const IInterface* parent )
9  declareInterface< ITrigNavigationCnvTool >( this );
10 }
11 
13 }
14 
16  return StatusCode::SUCCESS;
17 }
18 
20  xAOD::TrigNavigation* xaod ) const {
21  xaod->setSerialized(aod->getNavigationResult());
22  return StatusCode::SUCCESS;
23 }
TrigNavigationCnvTool.h
xAODMaker::TrigNavigationCnvTool::convert
virtual StatusCode convert(const HLT::HLTResult *aod, xAOD::TrigNavigation *xaod) const final
Function filling an xAOD::TrigNavigation object with information.
Definition: TrigNavigationCnvTool.cxx:19
xAODMaker::TrigNavigationCnvTool::initialize
virtual StatusCode initialize() override
Function initialising the tool.
Definition: TrigNavigationCnvTool.cxx:15
xAOD::TrigNavigation_v1::setSerialized
void setSerialized(const std::vector< unsigned int > &value)
sets the serialized form of the navigation from the argument
HLT::HLTResult::getNavigationResult
const std::vector< uint32_t > & getNavigationResult() const
retrieve the sub-payloads (can be used to retrieve/write data)
Definition: HLTResult.h:256
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
HLT::HLTResult
HLT::HLTResult is sumarising result of trigger decision evaluation (online/offline) It contains basic...
Definition: HLTResult.h:57
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAODMaker::TrigNavigationCnvTool::TrigNavigationCnvTool
TrigNavigationCnvTool(const std::string &type, const std::string &name, const IInterface *parent)
Regular AlgTool constructor.
Definition: TrigNavigationCnvTool.cxx:6
xAOD::TrigNavigation_v1
Interface to the raw trigger navigation information of the event.
Definition: TrigNavigation_v1.h:34
AthAlgTool
Definition: AthAlgTool.h:26
xAODMaker::TrigNavigationCnvTool::~TrigNavigationCnvTool
virtual ~TrigNavigationCnvTool()
Definition: TrigNavigationCnvTool.cxx:12