ATLAS Offline Software
MBTSModuleCnvAlg.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 //
8 #ifndef XAODFORWARDCNV_MBTSMODULECNVALG_H
9 #define XAODFORWARDCNV_MBTSMODULECNVALG_H
10 
11 // System include(s):
12 #include <string>
13 
14 // Athena/Gaudi include(s):
16 #include "GaudiKernel/ToolHandle.h"
17 
20 
21 namespace xAODMaker
22 {
23 
32  {
33 
34  public:
35  MBTSModuleCnvAlg(const std::string &name, ISvcLocator *svcLoc);
36 
37  virtual StatusCode initialize() override;
38  virtual StatusCode execute(const EventContext &ctx) const override;
39 
40  private:
41  SG::ReadHandleKey<TileCellContainer> m_inputKey{this, "MBTSContainerKey", "MBTSContainer"};
42 
43  SG::WriteHandleKey<xAOD::MBTSModuleContainer> m_outputKey{this, "AODContainerKey", "MBTSModules"};
44 
46  ToolHandle<IMBTSModuleCnvTool> m_cnvTool{this, "CnvTool", "xAODMaker::MBTSModuleCnvTool/MBTSModuleCnvTool", "The converter tool for MBTSModules"};
47 
48  }; // class MBTSModuleCnvAlg
49 
50 } // namespace xAODMaker
51 
52 #endif // XAODFORWARDCNV_MBTSMODULECNVALG_H
xAODMaker::MBTSModuleCnvAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: MBTSModuleCnvAlg.cxx:33
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
xAODMaker
Definition: StoreGateSvc.h:72
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
xAODMaker::MBTSModuleCnvAlg::MBTSModuleCnvAlg
MBTSModuleCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Definition: MBTSModuleCnvAlg.cxx:21
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODMaker::MBTSModuleCnvAlg::initialize
virtual StatusCode initialize() override
Definition: MBTSModuleCnvAlg.cxx:25
xAODMaker::MBTSModuleCnvAlg::m_inputKey
SG::ReadHandleKey< TileCellContainer > m_inputKey
Definition: MBTSModuleCnvAlg.h:41
MBTSModuleContainer.h
xAODMaker::MBTSModuleCnvAlg::m_cnvTool
ToolHandle< IMBTSModuleCnvTool > m_cnvTool
Handle to the converter tool.
Definition: MBTSModuleCnvAlg.h:46
xAODMaker::MBTSModuleCnvAlg::m_outputKey
SG::WriteHandleKey< xAOD::MBTSModuleContainer > m_outputKey
Definition: MBTSModuleCnvAlg.h:43
IMBTSModuleCnvTool.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
xAODMaker::MBTSModuleCnvAlg
Algorithm creating xAOD::MBTSModules from TileCellContainer.
Definition: MBTSModuleCnvAlg.h:32