ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Global
GlobalSimulation
src
IO
LArStripNeighborhood.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
11
12
13
#ifndef GLOBALSIM_LARSTRIPNEIGHBORHOOD_H
14
#define GLOBALSIM_LARSTRIPNEIGHBORHOOD_H
15
16
#include "
StripData.h
"
17
18
#include <ostream>
19
#include <vector>
20
#include <utility>
//std::pair
21
#include <iosfwd>
22
23
namespace
GlobalSim
{
24
using
StripDataVector
= std::vector<StripData>;
25
using
Coords
= std::pair<double, double>;
26
27
36
37
class
LArStripNeighborhood
{
38
public
:
39
52
LArStripNeighborhood
(
const
StripDataVector
&
phi_low
,
53
const
StripDataVector
&
phi_center
,
54
const
StripDataVector
&
phi_high
,
55
const
Coords
&
roiCoords
,
56
const
Coords
&
cellCoords
,
57
std::size_t max_cell_pos);
58
60
const
StripDataVector
&
phi_low
()
const
{
return
m_phi_low
;}
62
const
StripDataVector
&
phi_center
()
const
{
return
m_phi_center
;}
64
const
StripDataVector
&
phi_high
()
const
{
return
m_phi_high
;}
65
67
std::size_t
maxCellIndex
()
const
{
return
m_max_cell_pos
;}
68
70
const
Coords
&
roiCoords
()
const
{
return
m_roiCoords
;}
72
const
Coords
&
cellCoords
()
const
{
return
m_cellCoords
;}
73
75
std::string
to_string
()
const
;
76
77
private
:
79
StripDataVector
m_phi_low
;
81
StripDataVector
m_phi_center
;
83
StripDataVector
m_phi_high
;
85
Coords
m_roiCoords
{0., 0.};
87
Coords
m_cellCoords
{0., 0.};
89
std::size_t
m_max_cell_pos
{0};
90
};
91
}
//End of namespace
92
93
std::ostream&
94
operator<<
(std::ostream&,
const
GlobalSim::LArStripNeighborhood
&);
95
96
#endif
//GLOBALSIM_LARSTRIPNEIGHBORHOOD_H
operator<<
std::ostream & operator<<(std::ostream &, const GlobalSim::LArStripNeighborhood &)
Definition
LArStripNeighborhood.cxx:51
StripData.h
GlobalSim::LArStripNeighborhood
Class to hold windows of LAr strip cells in a the neighbourhood of a eFexRoI.
Definition
LArStripNeighborhood.h:37
GlobalSim::LArStripNeighborhood::to_string
std::string to_string() const
print out contents to string
Definition
LArStripNeighborhood.cxx:25
GlobalSim::LArStripNeighborhood::m_cellCoords
Coords m_cellCoords
Parameter: eta/phi coords of cell in RoI with maximum energy.
Definition
LArStripNeighborhood.h:87
GlobalSim::LArStripNeighborhood::phi_low
const StripDataVector & phi_low() const
Returns a vector of strip cell e/eta/phi data for the low phi row of the neighborhood.
Definition
LArStripNeighborhood.h:60
GlobalSim::LArStripNeighborhood::m_phi_low
StripDataVector m_phi_low
Parameter: Vector strip cell e/eta/phi, low phi row.
Definition
LArStripNeighborhood.h:79
GlobalSim::LArStripNeighborhood::phi_center
const StripDataVector & phi_center() const
Returns a vector of strip cell e/eta/phi data for the central phi row of the neighborhood.
Definition
LArStripNeighborhood.h:62
GlobalSim::LArStripNeighborhood::roiCoords
const Coords & roiCoords() const
Returns the eta/phi coordinates of the RoI used to seed this neighbourhood.
Definition
LArStripNeighborhood.h:70
GlobalSim::LArStripNeighborhood::m_phi_high
StripDataVector m_phi_high
Parameter: Vector strip cell e/eta/phi, high phi row.
Definition
LArStripNeighborhood.h:83
GlobalSim::LArStripNeighborhood::LArStripNeighborhood
LArStripNeighborhood(const StripDataVector &phi_low, const StripDataVector &phi_center, const StripDataVector &phi_high, const Coords &roiCoords, const Coords &cellCoords, std::size_t max_cell_pos)
Constructor to define a LArStripNeighborhood from input objects.
Definition
LArStripNeighborhood.cxx:11
GlobalSim::LArStripNeighborhood::maxCellIndex
std::size_t maxCellIndex() const
Returns the index of the maximum energy cell in this neighbourhood.
Definition
LArStripNeighborhood.h:67
GlobalSim::LArStripNeighborhood::m_max_cell_pos
std::size_t m_max_cell_pos
Parameter: Index of the cell with the maximum energy.
Definition
LArStripNeighborhood.h:89
GlobalSim::LArStripNeighborhood::m_phi_center
StripDataVector m_phi_center
Parameter: Vector strip cell e/eta/phi, central phi row.
Definition
LArStripNeighborhood.h:81
GlobalSim::LArStripNeighborhood::phi_high
const StripDataVector & phi_high() const
Returns a vector of strip cell e/eta/phi data for the central high row of the neighborhood.
Definition
LArStripNeighborhood.h:64
GlobalSim::LArStripNeighborhood::cellCoords
const Coords & cellCoords() const
Returns the eta/phi coordinates of the maximum energy cell.
Definition
LArStripNeighborhood.h:72
GlobalSim::LArStripNeighborhood::m_roiCoords
Coords m_roiCoords
Parameter: eta/Phi coordinate of the seed eFexRoITOB.
Definition
LArStripNeighborhood.h:85
GlobalSim
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.
Definition
Trigger/TrigT1/Global/GlobalSimulation/src/Egamma1BDT/Egamma1BDT/BDT.h:11
GlobalSim::StripDataVector
std::vector< StripData > StripDataVector
Definition
LArStripNeighborhood.h:24
GlobalSim::Coords
std::pair< double, double > Coords
Definition
LArStripNeighborhood.h:25
Generated on
for ATLAS Offline Software by
1.17.0