ATLAS Offline Software
Loading...
Searching...
No Matches
TrigNavigationCnvAlg.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: $
8#ifndef XAODTRIGGERCNV_TRIGNAVIGATIONCNVALG_H
9#define XAODTRIGGERCNV_TRIGNAVIGATIONCNVALG_H
10
11// System include(s):
12#include <string>
13
14// Gaudi/Athena include(s):
16#include "GaudiKernel/ToolHandle.h"
17
18// EDM include(s):
22
23// Local include(s):
25
26namespace xAODMaker {
27
37
38 public:
40 TrigNavigationCnvAlg( const std::string& name, ISvcLocator* svcLoc );
41
43 virtual StatusCode initialize() override;
45 virtual StatusCode execute(const EventContext& ctx) const override;
46
47 private:
48
50 SG::ReadHandleKey<HLT::HLTResult> m_aodKey{this, "AODKey", "HLTResult_HLT", "HLTResult input key"};
51
53 SG::WriteHandleKey<xAOD::TrigNavigation> m_xaodKey{this, "xAODKey", "TrigNavigation", "xAOD Navigation output key"};
54
55 ToolHandle< ITrigNavigationCnvTool > m_cnvTool{this, "CnvTool", "xAODMaker::TrigNavigationCnvTool/TrigNavigationCnvTool", "Handle to the converter tool"};
56
57 }; // class TrigNavigationCnvAlg
58
59} // namespace xAODMaker
60
61#endif // XAODTRIGGERCNV_TRIGNAVIGATIONCNVALG_H
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::WriteHandleKey< xAOD::TrigNavigation > m_xaodKey
StoreGate key for the output object.
SG::ReadHandleKey< HLT::HLTResult > m_aodKey
StoreGate key of the input object.
virtual StatusCode initialize() override
Function initialising the algorithm.
ToolHandle< ITrigNavigationCnvTool > m_cnvTool
TrigNavigationCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.