PandaRoot
ToPix4::pixelAddress Struct Reference

#include <PndTopix4.h>

Public Member Functions

 pixelAddress ()
 
 pixelAddress (UInt_t row, UInt_t dcol, Bool_t side)
 
 pixelAddress (UInt_t row, UInt_t col)
 

Public Attributes

UInt_t fRow
 
UInt_t fCol
 
Bool_t fSide
 

Detailed Description

Definition at line 39 of file PndTopix4.h.

Constructor & Destructor Documentation

◆ pixelAddress() [1/3]

ToPix4::pixelAddress::pixelAddress ( )
inline

Definition at line 40 of file PndTopix4.h.

40 : fRow(0), fCol(0), fSide(0){};

◆ pixelAddress() [2/3]

ToPix4::pixelAddress::pixelAddress ( UInt_t  row,
UInt_t  dcol,
Bool_t  side 
)
inline

Definition at line 41 of file PndTopix4.h.

41 : fRow(row), fCol(dcol), fSide(side){}; // row 0-31 or 0-127; dcol 0-3; side 0-1

◆ pixelAddress() [3/3]

ToPix4::pixelAddress::pixelAddress ( UInt_t  row,
UInt_t  col 
)
inline

Definition at line 42 of file PndTopix4.h.

42  : fRow(row)
43  { // row 0-31 or 0-127; col 0-7 (needed to translate pixel configuration data into matrix
44  fCol = col / 2;
45  fSide = !(col % 2);
46  };

Member Data Documentation

◆ fCol

UInt_t ToPix4::pixelAddress::fCol

Definition at line 48 of file PndTopix4.h.

Referenced by PndTopix4::MatrixAddressToPixelAddressConf().

◆ fRow

UInt_t ToPix4::pixelAddress::fRow

Definition at line 46 of file PndTopix4.h.

Referenced by PndTopix4::MatrixAddressToPixelAddressConf().

◆ fSide

Bool_t ToPix4::pixelAddress::fSide

Definition at line 49 of file PndTopix4.h.

Referenced by PndTopix4::MatrixAddressToPixelAddressConf().


The documentation for this struct was generated from the following file: