ATLAS Offline Software
Loading...
Searching...
No Matches
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
20namespace 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;
47
49 ToolHandle<IPhotonCnvTool> m_cnvTool;
50
51 }; // class PhotonCnvAlg
52
53} // namespace xAODMaker
54
55#endif // XAODEGAMMACNV_PHOTONCNVALG_H
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute()
Function executing the algorithm.
std::string m_xaodContainerName
The key for the output xAOD::PhotonContainer.
PhotonCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
std::string m_aodContainerName
The key of the input PhotonContainer.
ToolHandle< IPhotonCnvTool > m_cnvTool
Tools to perform electron identification.
virtual StatusCode initialize()
Function initialising the algorithm.