ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigGepPerf
src
GepEratioAlg.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGGEPPERF_GEPERATIOALG_H
6
#define TRIGGEPPERF_GEPERATIOALG_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
StoreGate/WriteDecorHandleKey.h
"
11
#include "
xAODTrigger/eFexEMRoIContainer.h
"
12
#include "
xAODTrigger/eFexTauRoIContainer.h
"
13
#include "
TrigGepPerf/GepCellMap.h
"
14
#include "Gaudi/Property.h"
15
16
namespace
Gep
{
17
18
template
<
typename
T>
19
class
GepEratioAlg
:
public
AthReentrantAlgorithm
{
20
public
:
21
GepEratioAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
22
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
25
26
private
:
27
SG::ReadHandleKey<DataVector<T>
>
m_seedsKey
{
this
,
"SeedsKey"
,
"L1_eEMRoI"
,
"Input eFex seeds"
};
28
SG::ReadHandleKey<Gep::GepCellMap>
m_gepCellsKey
{
this
,
"gepCellMapKey"
,
"GepCells"
,
"Input calo cells map"
};
29
30
SG::WriteDecorHandleKey<DataVector<T>
>
m_eratioKey
{
31
this
,
"OutputEratioDecorKey"
,
"Eratio"
,
"Output variable decorated with Eratio result"
};
32
33
Gaudi::Property<unsigned int>
m_etaWindowHalfSize
{
34
this
,
"EtaWindowHalfSize"
, 8,
"Half-size of window in eta (total size = 2*HalfSize + 1)"
};
35
36
Gaudi::Property<unsigned int>
m_phiWindowHalfSize
{
37
this
,
"PhiWindowHalfSize"
, 1,
"Half-size of window in phi (total size = 2*HalfSize + 1)"
};
38
39
};
40
41
}
42
43
#include "GepEratioAlg.ixx"
44
45
46
47
class
GepEMEratioAlg
:
public
Gep::GepEratioAlg
<xAOD::eFexEMRoI>
48
{
49
public
:
50
GepEMEratioAlg
(
const
std::string& name, ISvcLocator* pSvcLocator) :
Gep
::
GepEratioAlg
<
xAOD
::eFexEMRoI>(name, pSvcLocator) {}
51
};
52
53
class
GepTauEratioAlg
:
public
Gep::GepEratioAlg
<xAOD::eFexTauRoI>
54
{
55
public
:
56
GepTauEratioAlg
(
const
std::string& name, ISvcLocator* pSvcLocator) :
Gep
::
GepEratioAlg
<
xAOD
::eFexTauRoI>(name, pSvcLocator) {}
57
};
58
59
#endif
AthReentrantAlgorithm.h
GepCellMap.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
GepEMEratioAlg::GepEMEratioAlg
GepEMEratioAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
GepEratioAlg.h:50
GepTauEratioAlg::GepTauEratioAlg
GepTauEratioAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
GepEratioAlg.h:56
Gep::GepEratioAlg
Definition
GepEratioAlg.h:19
Gep::GepEratioAlg::initialize
virtual StatusCode initialize() override
Gep::GepEratioAlg::GepEratioAlg
GepEratioAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gep::GepEratioAlg::m_seedsKey
SG::ReadHandleKey< DataVector< T > > m_seedsKey
Definition
GepEratioAlg.h:27
Gep::GepEratioAlg::m_etaWindowHalfSize
Gaudi::Property< unsigned int > m_etaWindowHalfSize
Definition
GepEratioAlg.h:33
Gep::GepEratioAlg::m_gepCellsKey
SG::ReadHandleKey< Gep::GepCellMap > m_gepCellsKey
Definition
GepEratioAlg.h:28
Gep::GepEratioAlg::m_phiWindowHalfSize
Gaudi::Property< unsigned int > m_phiWindowHalfSize
Definition
GepEratioAlg.h:36
Gep::GepEratioAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Gep::GepEratioAlg::m_eratioKey
SG::WriteDecorHandleKey< DataVector< T > > m_eratioKey
Definition
GepEratioAlg.h:30
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
eFexEMRoIContainer.h
eFexTauRoIContainer.h
Gep
Definition
BasicGepClusterMaker.h:13
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
Generated on
for ATLAS Offline Software by
1.17.0