ATLAS Offline Software
PhysicsAnalysis
ElectronPhotonID
PhotonVertexSelection
src
PhotonVertexSelectionAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// PhotonVertexSelectionAlg.h
6
7
#ifndef PhotonVertexSelectionAlg_H
8
#define PhotonVertexSelectionAlg_H
9
10
#include "
AthenaBaseComps/AthAlgorithm.h
"
11
#include "GaudiKernel/ToolHandle.h"
12
#include "
xAODEgamma/Photon.h
"
13
14
namespace
CP
{
15
class
IPhotonVertexSelectionTool;
16
17
class
PhotonVertexSelectionAlg
:
public
AthAlgorithm
{
18
19
public
:
20
22
PhotonVertexSelectionAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
23
25
~PhotonVertexSelectionAlg
();
26
28
StatusCode
initialize
();
29
StatusCode
execute
();
30
StatusCode
finalize
();
31
32
private
:
33
35
PhotonVertexSelectionAlg
();
36
37
static
bool
acceptPhoton
(
const
xAOD::Photon
& gam);
38
39
private
:
40
41
std::string
m_inVxColl
;
42
std::string
m_inGamColl
;
43
std::string
m_outVxColl
;
44
45
ToolHandle<CP::IPhotonVertexSelectionTool>
m_vxSelTool
;
46
47
};
48
49
}
50
51
#endif
CP::PhotonVertexSelectionAlg
Definition:
PhotonVertexSelectionAlg.h:17
CP::PhotonVertexSelectionAlg::m_vxSelTool
ToolHandle< CP::IPhotonVertexSelectionTool > m_vxSelTool
Definition:
PhotonVertexSelectionAlg.h:45
CP::PhotonVertexSelectionAlg::m_inGamColl
std::string m_inGamColl
Definition:
PhotonVertexSelectionAlg.h:42
CP::PhotonVertexSelectionAlg::m_inVxColl
std::string m_inVxColl
Definition:
PhotonVertexSelectionAlg.h:41
CP
Select isolated Photons, Electrons and Muons.
Definition:
Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
CP::PhotonVertexSelectionAlg::acceptPhoton
static bool acceptPhoton(const xAOD::Photon &gam)
Definition:
PhotonVertexSelectionAlg.cxx:94
AthAlgorithm.h
CP::PhotonVertexSelectionAlg::execute
StatusCode execute()
Definition:
PhotonVertexSelectionAlg.cxx:55
CP::PhotonVertexSelectionAlg::finalize
StatusCode finalize()
Definition:
PhotonVertexSelectionAlg.cxx:47
Photon.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::PhotonVertexSelectionAlg::initialize
StatusCode initialize()
Athena algorithm's Hooks.
Definition:
PhotonVertexSelectionAlg.cxx:39
CP::PhotonVertexSelectionAlg::PhotonVertexSelectionAlg
PhotonVertexSelectionAlg()
Default constructor:
AthAlgorithm
Definition:
AthAlgorithm.h:47
CP::PhotonVertexSelectionAlg::m_outVxColl
std::string m_outVxColl
Definition:
PhotonVertexSelectionAlg.h:43
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
xAOD::Photon_v1
Definition:
Photon_v1.h:37
CP::PhotonVertexSelectionAlg::~PhotonVertexSelectionAlg
~PhotonVertexSelectionAlg()
Destructor:
Generated on Sun Dec 22 2024 21:16:11 for ATLAS Offline Software by
1.8.18