![]() |
ATLAS Offline Software
|
Class to hold windows of LAr strip cells in a the neighbourhood of a eFexRoI. More...
#include <LArStripNeighborhood.h>
Public Member Functions | |
| 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. More... | |
| const StripDataVector & | phi_low () const |
| Returns a vector of strip cell e/eta/phi data for the low phi row of the neighborhood. More... | |
| const StripDataVector & | phi_center () const |
| Returns a vector of strip cell e/eta/phi data for the central phi row of the neighborhood. More... | |
| const StripDataVector & | phi_high () const |
| Returns a vector of strip cell e/eta/phi data for the central high row of the neighborhood. More... | |
| std::size_t | maxCellIndex () const |
| Returns the index of the maximum energy cell in this neighbourhood. More... | |
| const Coords & | roiCoords () const |
| Returns the eta/phi coordinates of the RoI used to seed this neighbourhood. More... | |
| const Coords & | cellCoords () const |
| Returns the eta/phi coordinates of the maximum energy cell. More... | |
| std::string | to_string () const |
| print out contents to string More... | |
Private Attributes | |
| StripDataVector | m_phi_low |
| Parameter: Vector strip cell e/eta/phi, low phi row. More... | |
| StripDataVector | m_phi_center |
| Parameter: Vector strip cell e/eta/phi, central phi row. More... | |
| StripDataVector | m_phi_high |
| Parameter: Vector strip cell e/eta/phi, high phi row. More... | |
| Coords | m_roiCoords {0., 0.} |
| Parameter: eta/Phi coordinate of the seed eFexRoITOB. More... | |
| Coords | m_cellCoords {0., 0.} |
| Parameter: eta/phi coords of cell in RoI with maximum energy. More... | |
| std::size_t | m_max_cell_pos {0} |
| Parameter: Index of the cell with the maximum energy. More... | |
Class to hold windows of LAr strip cells in a the neighbourhood of a eFexRoI.
This class represents windows of LAr strip cells centred on a eFexRoI. It defines three rows of cells e/eta/phi — low, center, high — surrounding the eFexRoI. It defines which cell has the maximum energy, and the max_cell/RoI eta/phi coordinates are also stored.
Definition at line 37 of file LArStripNeighborhood.h.
| GlobalSim::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.
| [in] | phi_low | A vector of e/eta/phi coordinates for the low phi row |
| [in] | phi_center | A vector of e/eta/phi coordinates for the center phi row |
| [in] | phi_high | A vector of e/eta/phi coordinates for the high phi row |
| [in] | roiCoords | The eta/phi coordinates of the eFexRoI that produced this object |
| [in] | cellCoords | The eta/phi coordinates of the maximum energy cell |
| [in] | max_cell_pos | The index of the maximum energy cell |
To be used to create, and initilise a neighborhood of LAr Strip cells centred on a incoming eFeXRoITOB. The neighbourhood is organised as three rows of 17 strips in phi.
Definition at line 11 of file LArStripNeighborhood.cxx.
Returns the eta/phi coordinates of the maximum energy cell.
Definition at line 72 of file LArStripNeighborhood.h.
|
inline |
Returns the index of the maximum energy cell in this neighbourhood.
Definition at line 67 of file LArStripNeighborhood.h.
|
inline |
Returns a vector of strip cell e/eta/phi data for the central phi row of the neighborhood.
Definition at line 62 of file LArStripNeighborhood.h.
|
inline |
Returns a vector of strip cell e/eta/phi data for the central high row of the neighborhood.
Definition at line 64 of file LArStripNeighborhood.h.
|
inline |
Returns a vector of strip cell e/eta/phi data for the low phi row of the neighborhood.
Definition at line 60 of file LArStripNeighborhood.h.
Returns the eta/phi coordinates of the RoI used to seed this neighbourhood.
Definition at line 70 of file LArStripNeighborhood.h.
| std::string GlobalSim::LArStripNeighborhood::to_string | ( | ) | const |
|
private |
Parameter: eta/phi coords of cell in RoI with maximum energy.
Definition at line 87 of file LArStripNeighborhood.h.
|
private |
Parameter: Index of the cell with the maximum energy.
Definition at line 89 of file LArStripNeighborhood.h.
|
private |
Parameter: Vector strip cell e/eta/phi, central phi row.
Definition at line 81 of file LArStripNeighborhood.h.
|
private |
Parameter: Vector strip cell e/eta/phi, high phi row.
Definition at line 83 of file LArStripNeighborhood.h.
|
private |
Parameter: Vector strip cell e/eta/phi, low phi row.
Definition at line 79 of file LArStripNeighborhood.h.
|
private |
Parameter: eta/Phi coordinate of the seed eFexRoITOB.
Definition at line 85 of file LArStripNeighborhood.h.
1.8.18