ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Global
GlobalSimulation
src
Lar_Preproc
Egamma1_LArStrip_Fex_RowAware.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 GLOBALSIM_EGAMMA1_LARSTRIP_FEX_ROWAWARE_H
6
#define GLOBALSIM_EGAMMA1_LARSTRIP_FEX_ROWAWARE_H
7
8
/*
9
This Algorithm finds and outputs CaloCell in the neighborhoods of eFEX
10
RoIs. These neighhoods are used to run various Algorithms in GlobalSim.
11
*/
12
13
#include "
ICaloCellsProducer.h
"
14
#include "
../FEX_Unpacker/eFexRoIAlgTool.h
"
15
#include "
Egamma1_LArStrip_Fex.h
"
16
#include "
CaloEvent/CaloCellContainer.h
"
17
#include "
CaloConditions/CaloNoise.h
"
18
19
#include "
../IO/LArStripNeighborhood.h
"
20
#include "
../IO/eEmNbhoodTOB.h
"
21
22
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
23
#include "
xAODEventInfo/EventInfo.h
"
24
25
#include <vector>
26
27
namespace
GlobalSim
{
28
29
30
class
Egamma1_LArStrip_Fex_RowAware
:
public
AthReentrantAlgorithm
{
31
32
public
:
33
34
Egamma1_LArStrip_Fex_RowAware
(
const
std::string& name, ISvcLocator* pSvcLocator);
35
36
virtual
StatusCode
initialize
()
override
;
37
virtual
StatusCode
execute
(
const
EventContext& )
const override
;
38
39
private
:
40
41
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
42
this
,
43
"EventInfo"
,
44
"EventInfo"
,
45
"EventInfo name"
};
46
47
// tool to get a vector of cal cells
48
ToolHandle<ICaloCellsProducer>
m_cellProducer
{
this
,
49
"caloCellProducer"
,
50
"GlobalSim::EMBE1CellsFromCaloCells"
,
51
"AlgTool to provide a vector of CaloCells"
52
};
53
54
// tool to get eFexRoIs
55
ToolHandle<eFexRoIAlgTool>
56
m_roiAlgTool
{
this
,
57
"roiAlgTool"
,
58
"GlobalSim::eFexRoIAlgTool"
,
59
"AlgTool to provide a vector<const xAOD::eFexEMRoI*>"
};
60
62
SG::ReadCondHandleKey<CaloNoise>
63
m_totalNoiseKey
{
64
this
,
65
"totalNoiseKey"
,
66
"totalNoise"
,
67
"SG Key of CaloNoise data object"
};
68
69
Gaudi::Property<bool>
m_dump
{
70
this
,
71
"dump"
,
72
false
,
73
"flag to enable dumps"
};
74
75
Gaudi::Property<bool>
m_dumpTerse
{
76
this
,
77
"dumpTerse"
,
78
false
,
79
"flag to enable terse dumps"
};
80
81
SG::WriteHandleKey<IOBitwise::eEmNbhoodTOBContainer>
82
m_neighKey
{
83
this
,
84
"stripNeighborhoodTOBKey"
,
85
"stripNeighborhoodTOBContainer"
,
86
"location to write strip neighborhoods of EFex RoIs, with the associated TOBs"
};
87
88
StatusCode
89
findNeighborhoods_RowAware
(
const
std::vector<const xAOD::eFexEMRoI*>&,
90
const
std::vector<const CaloCell*>&,
91
IOBitwise::eEmNbhoodTOBContainer
&,
92
const
CaloNoise
&)
const
;
93
94
StatusCode
95
findNeighborhood_RowAware
(
const
xAOD::eFexEMRoI
*,
96
const
std::vector<const CaloCell*>&,
97
IOBitwise::eEmNbhoodTOBContainer
&,
98
const
CaloNoise
&)
const
;
99
100
StatusCode
101
findClosestCellToRoI
(
const
xAOD::eFexEMRoI
*,
102
const
std::vector<const CaloCell*>&,
103
const
CaloCell
*&)
const
;
104
};
105
106
}
107
#endif
108
109
110
111
AthReentrantAlgorithm.h
CaloCellContainer.h
CaloNoise.h
Egamma1_LArStrip_Fex.h
ICaloCellsProducer.h
LArStripNeighborhood.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloCell
Data object for each calorimeter readout cell.
Definition
CaloCell.h:57
CaloNoise
Definition
CaloNoise.h:17
GlobalSim::Egamma1_LArStrip_Fex_RowAware::m_dumpTerse
Gaudi::Property< bool > m_dumpTerse
Definition
Egamma1_LArStrip_Fex_RowAware.h:75
GlobalSim::Egamma1_LArStrip_Fex_RowAware::m_totalNoiseKey
SG::ReadCondHandleKey< CaloNoise > m_totalNoiseKey
Key to the total noise used for each CaloCell.
Definition
Egamma1_LArStrip_Fex_RowAware.h:63
GlobalSim::Egamma1_LArStrip_Fex_RowAware::m_neighKey
SG::WriteHandleKey< IOBitwise::eEmNbhoodTOBContainer > m_neighKey
Definition
Egamma1_LArStrip_Fex_RowAware.h:82
GlobalSim::Egamma1_LArStrip_Fex_RowAware::m_dump
Gaudi::Property< bool > m_dump
Definition
Egamma1_LArStrip_Fex_RowAware.h:69
GlobalSim::Egamma1_LArStrip_Fex_RowAware::execute
virtual StatusCode execute(const EventContext &) const override
Definition
Egamma1_LArStrip_Fex_RowAware.cxx:64
GlobalSim::Egamma1_LArStrip_Fex_RowAware::initialize
virtual StatusCode initialize() override
Definition
Egamma1_LArStrip_Fex_RowAware.cxx:51
GlobalSim::Egamma1_LArStrip_Fex_RowAware::findNeighborhood_RowAware
StatusCode findNeighborhood_RowAware(const xAOD::eFexEMRoI *, const std::vector< const CaloCell * > &, IOBitwise::eEmNbhoodTOBContainer &, const CaloNoise &) const
Definition
Egamma1_LArStrip_Fex_RowAware.cxx:130
GlobalSim::Egamma1_LArStrip_Fex_RowAware::m_cellProducer
ToolHandle< ICaloCellsProducer > m_cellProducer
Definition
Egamma1_LArStrip_Fex_RowAware.h:48
GlobalSim::Egamma1_LArStrip_Fex_RowAware::findClosestCellToRoI
StatusCode findClosestCellToRoI(const xAOD::eFexEMRoI *, const std::vector< const CaloCell * > &, const CaloCell *&) const
GlobalSim::Egamma1_LArStrip_Fex_RowAware::findNeighborhoods_RowAware
StatusCode findNeighborhoods_RowAware(const std::vector< const xAOD::eFexEMRoI * > &, const std::vector< const CaloCell * > &, IOBitwise::eEmNbhoodTOBContainer &, const CaloNoise &) const
Definition
Egamma1_LArStrip_Fex_RowAware.cxx:115
GlobalSim::Egamma1_LArStrip_Fex_RowAware::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
Egamma1_LArStrip_Fex_RowAware.h:41
GlobalSim::Egamma1_LArStrip_Fex_RowAware::Egamma1_LArStrip_Fex_RowAware
Egamma1_LArStrip_Fex_RowAware(const std::string &name, ISvcLocator *pSvcLocator)
Definition
Egamma1_LArStrip_Fex_RowAware.cxx:46
GlobalSim::Egamma1_LArStrip_Fex_RowAware::m_roiAlgTool
ToolHandle< eFexRoIAlgTool > m_roiAlgTool
Definition
Egamma1_LArStrip_Fex_RowAware.h:56
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
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
eEmNbhoodTOB.h
eFexRoIAlgTool.h
GlobalSim::IOBitwise::eEmNbhoodTOBContainer
DataVector< GlobalSim::IOBitwise::eEmNbhoodTOB > eEmNbhoodTOBContainer
Definition
eEmNbhoodTOB.h:79
GlobalSim
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.
Definition
BitSpec.h:23
xAOD::eFexEMRoI
eFexEMRoI_v1 eFexEMRoI
Define the latest version of the eFexEMRoI class.
Definition
eFexEMRoI.h:17
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0