ATLAS Offline Software
Public Member Functions | Private Attributes | Friends | List of all members
GlobalSim::LArStripNeighborhood Class Reference

#include <LArStripNeighborhood.h>

Collaboration diagram for GlobalSim::LArStripNeighborhood:

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)
 
const StripDataVectorphi_low () const
 
const StripDataVectorphi_center () const
 
const StripDataVectorphi_high () const
 
std::size_t maxCellIndex () const
 
const CoordsroiCoords () const
 
const CoordscellCoords () const
 

Private Attributes

StripDataVector m_phi_low
 
StripDataVector m_phi_center
 
StripDataVector m_phi_high
 
Coords m_roiCoords {0., 0.}
 
Coords m_cellCoords {0., 0.}
 
std::size_t m_max_cell_pos {0}
 

Friends

std::ostream & operator<< (std::ostream &, const LArStripNeighborhood &)
 

Detailed Description

Definition at line 28 of file LArStripNeighborhood.h.

Constructor & Destructor Documentation

◆ LArStripNeighborhood()

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 
)

Definition at line 11 of file LArStripNeighborhood.cxx.

16  :
17  m_phi_low{std::move(phi_low)},
18  m_phi_center{std::move(phi_center)},
19  m_phi_high{std::move(phi_high)},
20  m_roiCoords{roi},
22  m_max_cell_pos{max_cell_pos}{
23  }

Member Function Documentation

◆ cellCoords()

const Coords& GlobalSim::LArStripNeighborhood::cellCoords ( ) const
inline

Definition at line 46 of file LArStripNeighborhood.h.

46 {return m_cellCoords;}

◆ maxCellIndex()

std::size_t GlobalSim::LArStripNeighborhood::maxCellIndex ( ) const
inline

Definition at line 43 of file LArStripNeighborhood.h.

43 {return m_max_cell_pos;}

◆ phi_center()

const StripDataVector& GlobalSim::LArStripNeighborhood::phi_center ( ) const
inline

Definition at line 40 of file LArStripNeighborhood.h.

40 {return m_phi_center;}

◆ phi_high()

const StripDataVector& GlobalSim::LArStripNeighborhood::phi_high ( ) const
inline

Definition at line 41 of file LArStripNeighborhood.h.

41 {return m_phi_high;}

◆ phi_low()

const StripDataVector& GlobalSim::LArStripNeighborhood::phi_low ( ) const
inline

Definition at line 39 of file LArStripNeighborhood.h.

39 {return m_phi_low;}

◆ roiCoords()

const Coords& GlobalSim::LArStripNeighborhood::roiCoords ( ) const
inline

Definition at line 45 of file LArStripNeighborhood.h.

45 {return m_roiCoords;}

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
const LArStripNeighborhood  
)
friend

Definition at line 26 of file LArStripNeighborhood.cxx.

27  {
28 
29  os << "LArStripNeighborhood: roi coords ("
30  << n.m_roiCoords.first << ',' << n.m_roiCoords.second << ") cell coords ("
31  << n.m_cellCoords.first << ',' << n.m_cellCoords.second
32  << ") max_cell_pos " << n.m_max_cell_pos << '\n';
33 
34  os << "phi low: " << " [" << n.m_phi_low.size() <<"]\n";
35  for(const auto& sd : n.m_phi_low) { os << sd << '\n';}
36 
37  os << '\n';
38 
39  os << "phi center: " << " [" << n.m_phi_center.size() <<"]\n";
40  for(const auto& sd : n.m_phi_center) { os << sd << '\n';}
41 
42  os << '\n';
43 
44  os << "phi high: " << " [" << n.m_phi_high.size() <<"]\n";
45  for(const auto& sd : n.m_phi_high) { os << sd << '\n';}
46 
47  os << '\n';
48  return os;
49 }

Member Data Documentation

◆ m_cellCoords

Coords GlobalSim::LArStripNeighborhood::m_cellCoords {0., 0.}
private

Definition at line 56 of file LArStripNeighborhood.h.

◆ m_max_cell_pos

std::size_t GlobalSim::LArStripNeighborhood::m_max_cell_pos {0}
private

Definition at line 57 of file LArStripNeighborhood.h.

◆ m_phi_center

StripDataVector GlobalSim::LArStripNeighborhood::m_phi_center
private

Definition at line 52 of file LArStripNeighborhood.h.

◆ m_phi_high

StripDataVector GlobalSim::LArStripNeighborhood::m_phi_high
private

Definition at line 53 of file LArStripNeighborhood.h.

◆ m_phi_low

StripDataVector GlobalSim::LArStripNeighborhood::m_phi_low
private

Definition at line 51 of file LArStripNeighborhood.h.

◆ m_roiCoords

Coords GlobalSim::LArStripNeighborhood::m_roiCoords {0., 0.}
private

Definition at line 54 of file LArStripNeighborhood.h.


The documentation for this class was generated from the following files:
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
GlobalSim::LArStripNeighborhood::m_cellCoords
Coords m_cellCoords
Definition: LArStripNeighborhood.h:56
GlobalSim::LArStripNeighborhood::phi_center
const StripDataVector & phi_center() const
Definition: LArStripNeighborhood.h:40
GlobalSim::LArStripNeighborhood::m_phi_center
StripDataVector m_phi_center
Definition: LArStripNeighborhood.h:52
GlobalSim::LArStripNeighborhood::m_phi_low
StripDataVector m_phi_low
Definition: LArStripNeighborhood.h:51
python.selector.AtlRunQuerySelectorLhcOlc.sd
sd
Definition: AtlRunQuerySelectorLhcOlc.py:612
beamspotman.n
n
Definition: beamspotman.py:731
GlobalSim::LArStripNeighborhood::m_phi_high
StripDataVector m_phi_high
Definition: LArStripNeighborhood.h:53
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
GlobalSim::LArStripNeighborhood::phi_low
const StripDataVector & phi_low() const
Definition: LArStripNeighborhood.h:39
GlobalSim::LArStripNeighborhood::phi_high
const StripDataVector & phi_high() const
Definition: LArStripNeighborhood.h:41
GlobalSim::LArStripNeighborhood::m_max_cell_pos
std::size_t m_max_cell_pos
Definition: LArStripNeighborhood.h:57
GlobalSim::LArStripNeighborhood::m_roiCoords
Coords m_roiCoords
Definition: LArStripNeighborhood.h:54