ATLAS Offline Software
CMMCPHitsCnvAlg.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: CMMCPHitsCnvAlg.h 575874 2013-12-17 12:39:55Z morrisj $
8 #ifndef XAODTRIGL1CALOCNV_CMMCPHITSCNVALG_H
9 #define XAODTRIGL1CALOCNV_CMMCPHITSCNVALG_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 CMMCPHitsCnvAlg : public AthAlgorithm {
34 
35  public:
37  CMMCPHitsCnvAlg( 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< ICMMCPHitsCnvTool > m_cnvTool;
52 
53  }; // class EmTauRoICnvAlg
54 
55 } // namespace xAODMaker
56 
57 #endif // XAODTRIGL1CALOCNV_CMMCPHITSCNVALG_H
xAODMaker::CMMCPHitsCnvAlg::m_cnvTool
ToolHandle< ICMMCPHitsCnvTool > m_cnvTool
Handle to the converter tool.
Definition: CMMCPHitsCnvAlg.h:51
ICMMCPHitsCnvTool.h
xAODMaker
Definition: StoreGateSvc.h:72
xAODMaker::CMMCPHitsCnvAlg::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: CMMCPHitsCnvAlg.cxx:44
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODMaker::CMMCPHitsCnvAlg::m_xaodKey
std::string m_xaodKey
StoreGate key for the output container.
Definition: CMMCPHitsCnvAlg.h:48
xAODMaker::CMMCPHitsCnvAlg
Algorithm for creating xAOD::CMMCPHits from an ESD.
Definition: CMMCPHitsCnvAlg.h:33
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
xAODMaker::CMMCPHitsCnvAlg::m_esdKey
std::string m_esdKey
StoreGate key of the input container.
Definition: CMMCPHitsCnvAlg.h:46
xAODMaker::CMMCPHitsCnvAlg::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: CMMCPHitsCnvAlg.cxx:30
xAODMaker::CMMCPHitsCnvAlg::CMMCPHitsCnvAlg
CMMCPHitsCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
Definition: CMMCPHitsCnvAlg.cxx:20