ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkEGamma
DerivationFrameworkEGamma
PhotonsDirectionTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DERIVATIONFRAMEWORK_PHOTONSDIRECTIONTOOL_H
6
#define DERIVATIONFRAMEWORK_PHOTONSDIRECTIONTOOL_H
7
8
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
9
//
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "
xAODEgamma/PhotonContainer.h
"
12
//
13
#include <string>
14
#include <vector>
15
namespace
DerivationFramework
{
16
17
class
PhotonsDirectionTool
:
public
extends<AthAlgTool, IAugmentationTool>
18
{
19
public
:
20
21
using
base_class::base_class;
22
23
virtual
StatusCode
initialize
()
override
final
;
24
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
25
26
private
:
27
SG::ReadHandleKey<xAOD::PhotonContainer>
m_collName
{
this
,
28
"PhotonContainer"
,
29
"Photons"
,
30
"Input Photons"
};
31
32
SG::WriteHandleKey<std::vector<float>
>
m_sgEta
{
this
,
33
"EtaSGEntry"
,
34
""
,
35
"output Eta vector"
};
36
37
SG::WriteHandleKey<std::vector<float>
>
m_sgPhi
{
this
,
38
"PhiSGEntry"
,
39
""
,
40
"output Phi vector"
};
41
42
SG::WriteHandleKey<std::vector<float>
>
m_sgEt
{
this
,
43
"EtSGEntry"
,
44
""
,
45
"output E vector"
};
46
47
SG::WriteHandleKey<std::vector<float>
>
m_sgE
{
this
,
48
"ESGEntry"
,
49
""
,
50
"output E vector"
};
51
52
bool
m_doEta
=
false
;
53
bool
m_doPhi
=
false
;
54
bool
m_doEt
=
false
;
55
bool
m_doE
=
false
;
56
};
57
}
58
59
#endif
// DERIVATIONFRAMEWORK_PHOTONSDIRECTIONTOOL_H
AthAlgTool.h
PhotonContainer.h
IAugmentationTool.h
DerivationFramework::PhotonsDirectionTool
Definition
PhotonsDirectionTool.h:18
DerivationFramework::PhotonsDirectionTool::m_doPhi
bool m_doPhi
Definition
PhotonsDirectionTool.h:53
DerivationFramework::PhotonsDirectionTool::m_doEta
bool m_doEta
Definition
PhotonsDirectionTool.h:52
DerivationFramework::PhotonsDirectionTool::m_sgE
SG::WriteHandleKey< std::vector< float > > m_sgE
Definition
PhotonsDirectionTool.h:47
DerivationFramework::PhotonsDirectionTool::m_sgPhi
SG::WriteHandleKey< std::vector< float > > m_sgPhi
Definition
PhotonsDirectionTool.h:37
DerivationFramework::PhotonsDirectionTool::m_doE
bool m_doE
Definition
PhotonsDirectionTool.h:55
DerivationFramework::PhotonsDirectionTool::m_doEt
bool m_doEt
Definition
PhotonsDirectionTool.h:54
DerivationFramework::PhotonsDirectionTool::initialize
virtual StatusCode initialize() override final
Definition
PhotonsDirectionTool.cxx:20
DerivationFramework::PhotonsDirectionTool::m_sgEt
SG::WriteHandleKey< std::vector< float > > m_sgEt
Definition
PhotonsDirectionTool.h:42
DerivationFramework::PhotonsDirectionTool::m_collName
SG::ReadHandleKey< xAOD::PhotonContainer > m_collName
Definition
PhotonsDirectionTool.h:27
DerivationFramework::PhotonsDirectionTool::m_sgEta
SG::WriteHandleKey< std::vector< float > > m_sgEta
Definition
PhotonsDirectionTool.h:32
DerivationFramework::PhotonsDirectionTool::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
PhotonsDirectionTool.cxx:41
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
Generated on
for ATLAS Offline Software by
1.17.0