FairRoot/PandaRoot
Public Member Functions | Public Attributes | List of all members
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 40 of file PndTopix4.h.

Constructor & Destructor Documentation

ToPix4::pixelAddress::pixelAddress ( )
inline

Definition at line 41 of file PndTopix4.h.

41 :fRow(0), fCol(0), fSide(0){};
ToPix4::pixelAddress::pixelAddress ( UInt_t  row,
UInt_t  dcol,
Bool_t  side 
)
inline

Definition at line 42 of file PndTopix4.h.

42 :fRow(row), fCol(dcol), fSide(side){}; //row 0-31 or 0-127; dcol 0-3; side 0-1
int row
Definition: anaLmdDigi.C:67
ToPix4::pixelAddress::pixelAddress ( UInt_t  row,
UInt_t  col 
)
inline

Definition at line 43 of file PndTopix4.h.

References fCol, and fSide.

43  :fRow(row){ //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  };
int row
Definition: anaLmdDigi.C:67
int col
Definition: anaLmdDigi.C:67

Member Data Documentation

UInt_t ToPix4::pixelAddress::fCol
UInt_t ToPix4::pixelAddress::fRow
Bool_t ToPix4::pixelAddress::fSide

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