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