ATLAS Offline Software
CPMHitsCnvAlg.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 // $Id: CPMHitsCnvAlg.h 576052 2013-12-18 09:13:50Z morrisj $
8 #ifndef XAODTRIGL1CALOCNV_CPMHITSCNVALG_H
9 #define XAODTRIGL1CALOCNV_CPMHITSCNVALG_H
10 
11 // System include(s):
12 #include <string>
13 
14 // Gaudi/Athena include(s):
16 #include "GaudiKernel/ToolHandle.h"
17 
18 // Local include(s):
20 
21 namespace xAODMaker {
33  class CPMHitsCnvAlg : public AthAlgorithm {
34 
35  public:
37  CPMHitsCnvAlg( const std::string& name, ISvcLocator* svcLoc );
38 
40  virtual StatusCode initialize();
42  virtual StatusCode execute();
43 
44  private:
46  std::string m_esdKey;
48  std::string m_xaodKey;
49 
51  ToolHandle< ICPMHitsCnvTool > m_cnvTool;
52 
53  }; // class EmTauRoICnvAlg
54 
55 } // namespace xAODMaker
56 
57 #endif // XAODTRIGL1CALOCNV_CPMHITSCNVALG_H
xAODMaker::CPMHitsCnvAlg::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: CPMHitsCnvAlg.cxx:44
xAODMaker::CPMHitsCnvAlg::m_xaodKey
std::string m_xaodKey
StoreGate key for the output container.
Definition: CPMHitsCnvAlg.h:48
xAODMaker
Definition: StoreGateSvc.h:72
xAODMaker::CPMHitsCnvAlg::CPMHitsCnvAlg
CPMHitsCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
Definition: CPMHitsCnvAlg.cxx:20
AthAlgorithm.h
xAODMaker::CPMHitsCnvAlg::m_esdKey
std::string m_esdKey
StoreGate key of the input container.
Definition: CPMHitsCnvAlg.h:46
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ICPMHitsCnvTool.h
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
xAODMaker::CPMHitsCnvAlg
Algorithm for creating xAOD::CPMHits from an ESD.
Definition: CPMHitsCnvAlg.h:33
xAODMaker::CPMHitsCnvAlg::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: CPMHitsCnvAlg.cxx:30
xAODMaker::CPMHitsCnvAlg::m_cnvTool
ToolHandle< ICPMHitsCnvTool > m_cnvTool
Handle to the converter tool.
Definition: CPMHitsCnvAlg.h:51