ATLAS Offline Software
ElectronCnvAlg.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 XAODEGAMMACNV_ELECTRONCNVALG_H
9 #define XAODEGAMMACNV_ELECTRONCNVALG_H
10 
11 // System include(s):
12 #include <string>
13 
14 // Athena/Gaudi include(s):
16 #include "GaudiKernel/ToolHandle.h"
17 
19 
20 namespace xAODMaker {
21 
31  class ElectronCnvAlg : public AthAlgorithm {
32 
33  public:
35  ElectronCnvAlg( const std::string& name, ISvcLocator* svcLoc );
36 
38  virtual StatusCode initialize();
40  virtual StatusCode execute();
41 
42  private:
43 
45  std::string m_aodContainerName;
46 
48  std::string m_xaodContainerName;
50 
51 
53  ToolHandle<IElectronCnvTool> m_cnvTool;
54 
55 
56  }; // class ElectronCnvAlg
57 
58 } // namespace xAODMaker
59 
60 #endif // XAODEGAMMACNV_ELECTRONCNVALG_H
xAODMaker::ElectronCnvAlg::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: ElectronCnvAlg.cxx:45
xAODMaker::ElectronCnvAlg::m_cnvTool
ToolHandle< IElectronCnvTool > m_cnvTool
Tools to perform electron identification.
Definition: ElectronCnvAlg.h:53
xAODMaker::ElectronCnvAlg
Algorithm creating xAOD::Electrons from Analysis::Electrons.
Definition: ElectronCnvAlg.h:31
xAODMaker
Definition: StoreGateSvc.h:72
xAODMaker::ElectronCnvAlg::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: ElectronCnvAlg.cxx:32
AthAlgorithm.h
xAODMaker::ElectronCnvAlg::m_xaodContainerName
std::string m_xaodContainerName
The key for the output xAOD::ElectronContainer.
Definition: ElectronCnvAlg.h:48
xAODMaker::ElectronCnvAlg::m_xaodFrwdContainerName
std::string m_xaodFrwdContainerName
Definition: ElectronCnvAlg.h:49
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODMaker::ElectronCnvAlg::m_aodContainerName
std::string m_aodContainerName
The key of the input ElectronContainer.
Definition: ElectronCnvAlg.h:45
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
xAODMaker::ElectronCnvAlg::ElectronCnvAlg
ElectronCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition: ElectronCnvAlg.cxx:21
IElectronCnvTool.h