ATLAS Offline Software
CMMEtSumsCnvAlg.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: CMMEtSumsCnvAlg.h 575995 2013-12-17 16:56:45Z morrisj $
8 #ifndef XAODTRIGL1CALOCNV_CMMETSUMSCNVALG_H
9 #define XAODTRIGL1CALOCNV_CMMETSUMSCNVALG_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 CMMEtSumsCnvAlg : public AthAlgorithm {
34 
35  public:
37  CMMEtSumsCnvAlg( 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< ICMMEtSumsCnvTool > m_cnvTool;
52 
53  }; // class EmTauRoICnvAlg
54 
55 } // namespace xAODMaker
56 
57 #endif // XAODTRIGL1CALOCNV_CMMETSUMSCNVALG_H
xAODMaker::CMMEtSumsCnvAlg::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: CMMEtSumsCnvAlg.cxx:44
xAODMaker
Definition: StoreGateSvc.h:72
xAODMaker::CMMEtSumsCnvAlg::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: CMMEtSumsCnvAlg.cxx:30
AthAlgorithm.h
xAODMaker::CMMEtSumsCnvAlg
Algorithm for creating xAOD::CMMEtSums from an ESD.
Definition: CMMEtSumsCnvAlg.h:33
xAODMaker::CMMEtSumsCnvAlg::m_esdKey
std::string m_esdKey
StoreGate key of the input container.
Definition: CMMEtSumsCnvAlg.h:46
xAODMaker::CMMEtSumsCnvAlg::CMMEtSumsCnvAlg
CMMEtSumsCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
Definition: CMMEtSumsCnvAlg.cxx:20
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::CMMEtSumsCnvAlg::m_cnvTool
ToolHandle< ICMMEtSumsCnvTool > m_cnvTool
Handle to the converter tool.
Definition: CMMEtSumsCnvAlg.h:51
xAODMaker::CMMEtSumsCnvAlg::m_xaodKey
std::string m_xaodKey
StoreGate key for the output container.
Definition: CMMEtSumsCnvAlg.h:48
ICMMEtSumsCnvTool.h