ATLAS Offline Software
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 
26 namespace 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
xAODMaker::TrigNavigationCnvAlg
Algorithm for creating xAOD::TrigNavigation objects.
Definition: TrigNavigationCnvAlg.h:36
SG::ReadHandleKey< HLT::HLTResult >
xAODMaker
Definition: StoreGateSvc.h:72
HLTResult.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
TrigNavigation.h
xAODMaker::TrigNavigationCnvAlg::TrigNavigationCnvAlg
TrigNavigationCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
Definition: TrigNavigationCnvAlg.cxx:13
xAODMaker::TrigNavigationCnvAlg::m_xaodKey
SG::WriteHandleKey< xAOD::TrigNavigation > m_xaodKey
StoreGate key for the output object.
Definition: TrigNavigationCnvAlg.h:53
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODMaker::TrigNavigationCnvAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition: TrigNavigationCnvAlg.cxx:18
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
xAODMaker::TrigNavigationCnvAlg::m_cnvTool
ToolHandle< ITrigNavigationCnvTool > m_cnvTool
Definition: TrigNavigationCnvAlg.h:55
ITrigNavigationCnvTool.h
xAODMaker::TrigNavigationCnvAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition: TrigNavigationCnvAlg.cxx:30
TrigNavigationAuxInfo.h
xAODMaker::TrigNavigationCnvAlg::m_aodKey
SG::ReadHandleKey< HLT::HLTResult > m_aodKey
StoreGate key of the input object.
Definition: TrigNavigationCnvAlg.h:50