ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigEgammaRec
src
TrigEgammaTLAPhotonReAlgo.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TrigEgammaTLAPhotonReAlgo_h
6
#define TrigEgammaTLAPhotonReAlgo_h
7
8
9
#include "Gaudi/Property.h"
10
11
// athena stuff
12
#include "GaudiKernel/ToolHandle.h"
13
14
// Base class
15
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
16
#include "
StoreGate/ReadHandleKey.h
"
17
#include "
StoreGate/WriteHandleKey.h
"
18
19
// trigger EDM
20
#include "
xAODTrigEgamma/TrigPhoton.h
"
21
#include "
xAODEgamma/Photon.h
"
22
#include "
xAODEgamma/PhotonContainer.h
"
23
#include "
xAODTrigEgamma/TrigPhotonContainer.h
"
24
25
26
class
TrigEgammaTLAPhotonReAlgo
:
public
AthReentrantAlgorithm
{
27
28
public
:
29
TrigEgammaTLAPhotonReAlgo
(
const
std::string & name, ISvcLocator* pSvcLocator);
30
31
virtual
StatusCode
initialize
()
override
;
32
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
33
34
35
private
:
36
// declaration of the object keys necessary for accessing data
37
// This initializer list syntax also informs the scheduler of the
38
// data dependency, obviating the need for a separate declareProperty(...)
39
40
SG::ReadHandleKey < xAOD::PhotonContainer >
m_inputPhotonsKeys
{
41
this
,
42
"TLAInputPhotonContainer"
,
43
"Photons"
,
44
"input Photon container name"
45
};
46
47
SG::WriteHandleKey < xAOD::PhotonContainer >
m_TLAOutPhotonsKey
{
48
this
,
49
"TLAOutputPhotonContainer"
,
50
"TLAPhotons"
,
51
"output Photon container name"
52
};
53
54
Gaudi::Property<float>
m_photonPtThreshold
{
55
this
,
56
"photonPtThreshold"
,
// name
57
0. ,
// default value
58
"Threshold for saving Photons in TLA container"
59
};
60
61
Gaudi::Property<int>
m_maxNPhotons
{
62
this
,
63
"maxNPhotons"
,
64
-1 ,
65
"Maximum number of Photons saved in TLA container"
66
};
67
68
69
};
70
71
#endif
AthReentrantAlgorithm.h
PhotonContainer.h
Photon.h
TrigPhotonContainer.h
TrigPhoton.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
TrigEgammaTLAPhotonReAlgo::m_TLAOutPhotonsKey
SG::WriteHandleKey< xAOD::PhotonContainer > m_TLAOutPhotonsKey
Definition
TrigEgammaTLAPhotonReAlgo.h:47
TrigEgammaTLAPhotonReAlgo::initialize
virtual StatusCode initialize() override
Definition
TrigEgammaTLAPhotonReAlgo.cxx:43
TrigEgammaTLAPhotonReAlgo::m_photonPtThreshold
Gaudi::Property< float > m_photonPtThreshold
Definition
TrigEgammaTLAPhotonReAlgo.h:54
TrigEgammaTLAPhotonReAlgo::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TrigEgammaTLAPhotonReAlgo.cxx:65
TrigEgammaTLAPhotonReAlgo::TrigEgammaTLAPhotonReAlgo
TrigEgammaTLAPhotonReAlgo(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigEgammaTLAPhotonReAlgo.cxx:37
TrigEgammaTLAPhotonReAlgo::m_inputPhotonsKeys
SG::ReadHandleKey< xAOD::PhotonContainer > m_inputPhotonsKeys
Definition
TrigEgammaTLAPhotonReAlgo.h:40
TrigEgammaTLAPhotonReAlgo::m_maxNPhotons
Gaudi::Property< int > m_maxNPhotons
Definition
TrigEgammaTLAPhotonReAlgo.h:61
Generated on
for ATLAS Offline Software by
1.17.0