ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
(
const
EventContext& ctx);
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
AthAlgorithm.h
Photon.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CP::IPhotonVertexSelectionTool
Definition
IPhotonVertexSelectionTool.h:26
CP::PhotonVertexSelectionAlg::finalize
StatusCode finalize()
Definition
PhotonVertexSelectionAlg.cxx:47
CP::PhotonVertexSelectionAlg::~PhotonVertexSelectionAlg
~PhotonVertexSelectionAlg()
Destructor:
CP::PhotonVertexSelectionAlg::m_inVxColl
std::string m_inVxColl
Definition
PhotonVertexSelectionAlg.h:41
CP::PhotonVertexSelectionAlg::m_inGamColl
std::string m_inGamColl
Definition
PhotonVertexSelectionAlg.h:42
CP::PhotonVertexSelectionAlg::PhotonVertexSelectionAlg
PhotonVertexSelectionAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
PhotonVertexSelectionAlg.cxx:21
CP::PhotonVertexSelectionAlg::m_vxSelTool
ToolHandle< CP::IPhotonVertexSelectionTool > m_vxSelTool
Definition
PhotonVertexSelectionAlg.h:45
CP::PhotonVertexSelectionAlg::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
PhotonVertexSelectionAlg.cxx:55
CP::PhotonVertexSelectionAlg::m_outVxColl
std::string m_outVxColl
Definition
PhotonVertexSelectionAlg.h:43
CP::PhotonVertexSelectionAlg::initialize
StatusCode initialize()
Athena algorithm's Hooks.
Definition
PhotonVertexSelectionAlg.cxx:39
CP::PhotonVertexSelectionAlg::PhotonVertexSelectionAlg
PhotonVertexSelectionAlg()
Default constructor:
CP::PhotonVertexSelectionAlg::acceptPhoton
static bool acceptPhoton(const xAOD::Photon &gam)
Definition
PhotonVertexSelectionAlg.cxx:94
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
xAOD::Photon
Photon_v1 Photon
Definition of the current "egamma version".
Definition
Event/xAOD/xAODEgamma/xAODEgamma/Photon.h:17
Generated on
for ATLAS Offline Software by
1.17.0