ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
ITkPixLayout< T > Class Template Reference

#include <ITkPixLayout.h>

Collaboration diagram for ITkPixLayout< T >:

Public Member Functions

 ITkPixLayout ()
 
T & operator() (const uint16_t col, const uint16_t row)
 
operator() (const uint16_t col, const uint16_t row) const
 

Private Attributes

std::array< T, 153600 > m_pixels = {}
 

Detailed Description

template<class T>
class ITkPixLayout< T >

Definition at line 18 of file ITkPixLayout.h.

Constructor & Destructor Documentation

◆ ITkPixLayout()

template<class T >
ITkPixLayout< T >::ITkPixLayout ( )
inline

Definition at line 22 of file ITkPixLayout.h.

22 {};

Member Function Documentation

◆ operator()() [1/2]

template<class T >
T& ITkPixLayout< T >::operator() ( const uint16_t  col,
const uint16_t  row 
)
inline

Definition at line 24 of file ITkPixLayout.h.

24  {
25 
26  //Columns are stored after one another
27  return m_pixels[ col * 384 + row ];
28 
29  }

◆ operator()() [2/2]

template<class T >
T ITkPixLayout< T >::operator() ( const uint16_t  col,
const uint16_t  row 
) const
inline

Definition at line 31 of file ITkPixLayout.h.

31  {
32 
33  //Columns are stored after one another
34  return m_pixels[ col * 384 + row ];
35 
36  }

Member Data Documentation

◆ m_pixels

template<class T >
std::array<T, 153600> ITkPixLayout< T >::m_pixels = {}
private

Definition at line 41 of file ITkPixLayout.h.


The documentation for this class was generated from the following file:
query_example.row
row
Definition: query_example.py:24
ITkPixLayout::m_pixels
std::array< T, 153600 > m_pixels
Definition: ITkPixLayout.h:41
query_example.col
col
Definition: query_example.py:7