ATLAS Offline Software
PhotonCnvAlg.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_PHOTONCNVALG_H
9 #define XAODEGAMMACNV_PHOTONCNVALG_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 PhotonCnvAlg : public AthAlgorithm {
32 
33  public:
35  PhotonCnvAlg( const std::string& name, ISvcLocator* svcLoc );
36 
38  virtual StatusCode initialize();
40  virtual StatusCode execute();
41 
42  private:
44  std::string m_aodContainerName;
46  std::string m_xaodContainerName;
47 
49  ToolHandle<IPhotonCnvTool> m_cnvTool;
50 
51  }; // class PhotonCnvAlg
52 
53 } // namespace xAODMaker
54 
55 #endif // XAODEGAMMACNV_PHOTONCNVALG_H
xAODMaker::PhotonCnvAlg
Algorithm creating xAOD::Photons from Analysis::Photons.
Definition: PhotonCnvAlg.h:31
IPhotonCnvTool.h
xAODMaker::PhotonCnvAlg::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: PhotonCnvAlg.cxx:41
xAODMaker::PhotonCnvAlg::PhotonCnvAlg
PhotonCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition: PhotonCnvAlg.cxx:19
xAODMaker
Definition: StoreGateSvc.h:72
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
xAODMaker::PhotonCnvAlg::m_xaodContainerName
std::string m_xaodContainerName
The key for the output xAOD::PhotonContainer.
Definition: PhotonCnvAlg.h:46
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
xAODMaker::PhotonCnvAlg::m_aodContainerName
std::string m_aodContainerName
The key of the input PhotonContainer.
Definition: PhotonCnvAlg.h:44
xAODMaker::PhotonCnvAlg::m_cnvTool
ToolHandle< IPhotonCnvTool > m_cnvTool
Tools to perform electron identification.
Definition: PhotonCnvAlg.h:49
xAODMaker::PhotonCnvAlg::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: PhotonCnvAlg.cxx:30