ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Global
GlobalSimulation
src
Lar_Preproc
Egamma1_LArStrip_Fex.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_H
6
#define GLOBALSIM_EGAMMA1_LARSTRIP_FEX_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
16
#include "
../IO/LArStripNeighborhood.h
"
17
#include "
../IO/eEmNbhoodTOB.h
"
18
19
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
20
#include "
xAODEventInfo/EventInfo.h
"
21
22
#include <vector>
23
24
namespace
GlobalSim
{
25
26
27
class
Egamma1_LArStrip_Fex
:
public
AthReentrantAlgorithm
{
28
public
:
29
30
31
Egamma1_LArStrip_Fex
(
const
std::string& name, ISvcLocator* pSvcLocator);
32
33
virtual
StatusCode
initialize
()
override
;
34
virtual
StatusCode
execute
(
const
EventContext& )
const override
;
35
36
private
:
37
38
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
39
this
,
40
"EventInfo"
,
41
"EventInfo"
,
42
"EventInfo name"
};
43
44
// tool to get a vector of cal cells
45
46
ToolHandle<ICaloCellsProducer>
m_cellProducer
{
this
,
47
"caloCellProducer"
,
48
"EMBE1CellFromCaloCells"
,
49
"AlgTool to provide a vector of CaloCells"
50
};
51
52
// tool to get eFexRoIs
53
54
ToolHandle<eFexRoIAlgTool>
55
m_roiAlgTool
{
this
,
56
"roiAlgTool"
,
57
"eFexRoIAlgTool"
,
58
"AlgTool to provide a vector<const xAOD::eFexEMRoI*>"
};
59
60
Gaudi::Property<bool>
m_dump
{
61
this
,
62
"dump"
,
63
false
,
64
"flag to enable dumps"
};
65
66
Gaudi::Property<bool>
m_dumpTerse
{
67
this
,
68
"dumpTerse"
,
69
false
,
70
"flag to enable terse dumps"
};
71
72
SG::WriteHandleKey<IOBitwise::eEmNbhoodTOBContainer>
73
m_neighKey
{
74
this
,
75
"stripNeighborhoodTOBKey"
,
76
"stripNeighborhoodTOBContainer"
,
77
"location to write strip neighborhoods of EFex RoIs, with the associated TOBs"
};
78
79
StatusCode
80
findNeighborhoods
(
const
std::vector<const xAOD::eFexEMRoI*>&,
81
const
std::vector<const CaloCell*>&,
82
IOBitwise::eEmNbhoodTOBContainer
&)
const
;
83
84
StatusCode
85
findNeighborhood
(
const
xAOD::eFexEMRoI
*,
86
const
std::vector<const CaloCell*>&,
87
IOBitwise::eEmNbhoodTOBContainer
&)
const
;
88
89
StatusCode
90
findClosestCellToRoI
(
const
xAOD::eFexEMRoI
*,
91
const
std::vector<const CaloCell*>&,
92
const
CaloCell
*&)
const
;
93
94
};
95
96
}
97
#endif
98
99
100
101
AthReentrantAlgorithm.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
GlobalSim::Egamma1_LArStrip_Fex::m_roiAlgTool
ToolHandle< eFexRoIAlgTool > m_roiAlgTool
Definition
Egamma1_LArStrip_Fex.h:55
GlobalSim::Egamma1_LArStrip_Fex::m_cellProducer
ToolHandle< ICaloCellsProducer > m_cellProducer
Definition
Egamma1_LArStrip_Fex.h:46
GlobalSim::Egamma1_LArStrip_Fex::execute
virtual StatusCode execute(const EventContext &) const override
Definition
Egamma1_LArStrip_Fex.cxx:62
GlobalSim::Egamma1_LArStrip_Fex::m_neighKey
SG::WriteHandleKey< IOBitwise::eEmNbhoodTOBContainer > m_neighKey
Definition
Egamma1_LArStrip_Fex.h:73
GlobalSim::Egamma1_LArStrip_Fex::findNeighborhood
StatusCode findNeighborhood(const xAOD::eFexEMRoI *, const std::vector< const CaloCell * > &, IOBitwise::eEmNbhoodTOBContainer &) const
Definition
Egamma1_LArStrip_Fex.cxx:125
GlobalSim::Egamma1_LArStrip_Fex::findClosestCellToRoI
StatusCode findClosestCellToRoI(const xAOD::eFexEMRoI *, const std::vector< const CaloCell * > &, const CaloCell *&) const
GlobalSim::Egamma1_LArStrip_Fex::findNeighborhoods
StatusCode findNeighborhoods(const std::vector< const xAOD::eFexEMRoI * > &, const std::vector< const CaloCell * > &, IOBitwise::eEmNbhoodTOBContainer &) const
Definition
Egamma1_LArStrip_Fex.cxx:112
GlobalSim::Egamma1_LArStrip_Fex::Egamma1_LArStrip_Fex
Egamma1_LArStrip_Fex(const std::string &name, ISvcLocator *pSvcLocator)
Definition
Egamma1_LArStrip_Fex.cxx:44
GlobalSim::Egamma1_LArStrip_Fex::m_dump
Gaudi::Property< bool > m_dump
Definition
Egamma1_LArStrip_Fex.h:60
GlobalSim::Egamma1_LArStrip_Fex::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
Egamma1_LArStrip_Fex.h:38
GlobalSim::Egamma1_LArStrip_Fex::initialize
virtual StatusCode initialize() override
Definition
Egamma1_LArStrip_Fex.cxx:49
GlobalSim::Egamma1_LArStrip_Fex::m_dumpTerse
Gaudi::Property< bool > m_dumpTerse
Definition
Egamma1_LArStrip_Fex.h:66
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
Trigger/TrigT1/Global/GlobalSimulation/src/Egamma1BDT/Egamma1BDT/BDT.h:11
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