16 std::size_t max_cell_pos) :
27 ss <<
"LArStripNeighborhood: roi coords ("
32 ss <<
"phi low: " <<
" [" <<
phi_low().size() <<
"]\n";
33 for(
const auto& sd :
phi_low()) {
ss << sd <<
'\n';}
37 ss <<
"phi center: " <<
" [" <<
phi_center().size() <<
"]\n";
42 ss <<
"phi high: " <<
" [" <<
phi_high().size() <<
"]\n";
43 for(
const auto& sd :
phi_high()) {
ss << sd <<
'\n';}
std::ostream & operator<<(std::ostream &os, const GlobalSim::LArStripNeighborhood &n)
Class to hold windows of LAr strip cells in a the neighbourhood of a eFexRoI.
std::string to_string() const
print out contents to string
Coords m_cellCoords
Parameter: eta/phi coords of cell in RoI with maximum energy.
const StripDataVector & phi_low() const
Returns a vector of strip cell e/eta/phi data for the low phi row of the neighborhood.
StripDataVector m_phi_low
Parameter: Vector strip cell e/eta/phi, low phi row.
const StripDataVector & phi_center() const
Returns a vector of strip cell e/eta/phi data for the central phi row of the neighborhood.
const Coords & roiCoords() const
Returns the eta/phi coordinates of the RoI used to seed this neighbourhood.
StripDataVector m_phi_high
Parameter: Vector strip cell e/eta/phi, high phi row.
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.
std::size_t maxCellIndex() const
Returns the index of the maximum energy cell in this neighbourhood.
std::size_t m_max_cell_pos
Parameter: Index of the cell with the maximum energy.
StripDataVector m_phi_center
Parameter: Vector strip cell e/eta/phi, central phi row.
const StripDataVector & phi_high() const
Returns a vector of strip cell e/eta/phi data for the central high row of the neighborhood.
const Coords & cellCoords() const
Returns the eta/phi coordinates of the maximum energy cell.
Coords m_roiCoords
Parameter: eta/Phi coordinate of the seed eFexRoITOB.
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...
std::vector< StripData > StripDataVector
std::pair< double, double > Coords