ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1CaloFEX
TrigT1CaloFexPerf
src
JTowerRhoSubtractionAlg.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 TRIGT1CALOFEXPERF_JTOWERRHOSUBTRACTIONALG_H
6
#define TRIGT1CALOFEXPERF_JTOWERRHOSUBTRACTIONALG_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
CxxUtils/checker_macros.h
"
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
StoreGate/WriteHandleKey.h
"
12
#include "
StoreGate/ReadCondHandleKey.h
"
13
#include "
xAODTrigL1Calo/JGTowerContainer.h
"
14
#include "
xAODTrigger/EnergySumRoI.h
"
15
#include "
TrigT1CaloFexPerf/JGTowerMappingData.h
"
16
#include <atomic>
17
#include <mutex>
18
19
namespace
LVL1
20
{
21
class
JTowerRhoSubtractionAlg
:
public
AthReentrantAlgorithm
22
{
23
public
:
24
JTowerRhoSubtractionAlg
(
const
std::string &
name
, ISvcLocator *pSvcLocator);
25
virtual
~JTowerRhoSubtractionAlg
()
override
;
26
27
virtual
StatusCode
initialize
()
override
;
28
virtual
StatusCode
execute
(
const
EventContext &ctx)
const override
;
29
30
private
:
31
SG::ReadHandleKey<xAOD::JGTowerContainer>
m_inputKey
;
32
SG::WriteHandleKey<xAOD::JGTowerContainer>
m_outputKey
;
33
SG::WriteHandleKey<xAOD::EnergySumRoI>
m_outputRhoKey
;
34
35
float
m_minTowerRho
;
36
float
m_maxTowerRho
;
37
float
m_minOutputTowerRho
;
38
39
// Internals
40
struct
JFEXBins
{
41
std::vector<std::vector<std::size_t>>
m_bins
;
42
std::vector<std::vector<std::size_t>>
m_binsCore
;
43
};
44
JFEXBins
buildFexBins
(
const
xAOD::JGTowerContainer
*towers)
const
;
45
};
//> end class JTowerRhoSubtractionAlg
46
}
// namespace LVL1
47
48
#endif
//> !TRIGT1CALOFEXPERF_JTOWERRHOSUBTRACTIONALG_H
AthReentrantAlgorithm.h
EnergySumRoI.h
JGTowerContainer.h
JGTowerMappingData.h
ReadCondHandleKey.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.
checker_macros.h
Define macros for attributes used to control the static checker.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
LVL1::JTowerRhoSubtractionAlg::m_inputKey
SG::ReadHandleKey< xAOD::JGTowerContainer > m_inputKey
Definition
JTowerRhoSubtractionAlg.h:31
LVL1::JTowerRhoSubtractionAlg::buildFexBins
JFEXBins buildFexBins(const xAOD::JGTowerContainer *towers) const
Definition
JTowerRhoSubtractionAlg.cxx:90
LVL1::JTowerRhoSubtractionAlg::~JTowerRhoSubtractionAlg
virtual ~JTowerRhoSubtractionAlg() override
Definition
JTowerRhoSubtractionAlg.cxx:79
LVL1::JTowerRhoSubtractionAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
JTowerRhoSubtractionAlg.cxx:170
LVL1::JTowerRhoSubtractionAlg::m_maxTowerRho
float m_maxTowerRho
Definition
JTowerRhoSubtractionAlg.h:36
LVL1::JTowerRhoSubtractionAlg::m_minTowerRho
float m_minTowerRho
Definition
JTowerRhoSubtractionAlg.h:35
LVL1::JTowerRhoSubtractionAlg::m_outputRhoKey
SG::WriteHandleKey< xAOD::EnergySumRoI > m_outputRhoKey
Definition
JTowerRhoSubtractionAlg.h:33
LVL1::JTowerRhoSubtractionAlg::JTowerRhoSubtractionAlg
JTowerRhoSubtractionAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
JTowerRhoSubtractionAlg.cxx:68
LVL1::JTowerRhoSubtractionAlg::m_minOutputTowerRho
float m_minOutputTowerRho
Definition
JTowerRhoSubtractionAlg.h:37
LVL1::JTowerRhoSubtractionAlg::initialize
virtual StatusCode initialize() override
Definition
JTowerRhoSubtractionAlg.cxx:81
LVL1::JTowerRhoSubtractionAlg::m_outputKey
SG::WriteHandleKey< xAOD::JGTowerContainer > m_outputKey
Definition
JTowerRhoSubtractionAlg.h:32
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
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
xAOD::JGTowerContainer
JGTowerContainer_v1 JGTowerContainer
Define the latest version of the JGTower container.
Definition
JGTowerContainer.h:15
LVL1::JTowerRhoSubtractionAlg::JFEXBins
Definition
JTowerRhoSubtractionAlg.h:40
LVL1::JTowerRhoSubtractionAlg::JFEXBins::m_binsCore
std::vector< std::vector< std::size_t > > m_binsCore
Definition
JTowerRhoSubtractionAlg.h:42
LVL1::JTowerRhoSubtractionAlg::JFEXBins::m_bins
std::vector< std::vector< std::size_t > > m_bins
Definition
JTowerRhoSubtractionAlg.h:41
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0