CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
PixelIndices Class Reference

#include <PixelIndices.h>

Public Member Functions

int numberOfROCsInX (void)
 
int numberOfROCsInY (void)
 
 PixelIndices (const int colsInDet, const int rowsInDet)
 
void print (void) const
 
int transformToModule (const int colROC, const int rowROC, const int rocId, int &col, int &row) const
 
int transformToROC (const int col, const int row, int &rocId, int &colROC, int &rowROC) const
 
 ~PixelIndices ()
 

Static Public Member Functions

static std::pair< int, int > channelToPixelROC (const int chan)
 
static int convertDcolToCol (const int dcol, const int pix, int &colROC, int &rowROC)
 
static int DColumn (const int colROC)
 
static int DColumnInModule (const int dcol, const int chipIndex)
 
static int pixelToChannelROC (const int rowROC, const int colROC)
 
static int rocIndex (const int chipX, const int chipY)
 

Private Attributes

int theChipsInX
 
int theChipsInY
 
int theColsInDet
 
int theRowsInDet
 

Detailed Description

Definition at line 40 of file PixelIndices.h.

Constructor & Destructor Documentation

PixelIndices::PixelIndices ( const int  colsInDet,
const int  rowsInDet 
)
inline

Definition at line 46 of file PixelIndices.h.

PixelIndices::~PixelIndices ( )
inline

Definition at line 62 of file PixelIndices.h.

Member Function Documentation

static std::pair<int,int> PixelIndices::channelToPixelROC ( const int  chan)
inlinestatic

Definition at line 253 of file PixelIndices.h.

static int PixelIndices::convertDcolToCol ( const int  dcol,
const int  pix,
int &  colROC,
int &  rowROC 
)
inlinestatic

Definition at line 88 of file PixelIndices.h.

static int PixelIndices::DColumn ( const int  colROC)
inlinestatic

Definition at line 229 of file PixelIndices.h.

static int PixelIndices::DColumnInModule ( const int  dcol,
const int  chipIndex 
)
inlinestatic

Definition at line 243 of file PixelIndices.h.

int PixelIndices::numberOfROCsInX ( void  )
inline

Definition at line 65 of file PixelIndices.h.

int PixelIndices::numberOfROCsInY ( void  )
inline

Definition at line 66 of file PixelIndices.h.

static int PixelIndices::pixelToChannelROC ( const int  rowROC,
const int  colROC 
)
inlinestatic

Definition at line 250 of file PixelIndices.h.

void PixelIndices::print ( void  ) const
inline

Definition at line 70 of file PixelIndices.h.

static int PixelIndices::rocIndex ( const int  chipX,
const int  chipY 
)
inlinestatic

Definition at line 206 of file PixelIndices.h.

int PixelIndices::transformToModule ( const int  colROC,
const int  rowROC,
const int  rocId,
int &  col,
int &  row 
) const
inline

Definition at line 124 of file PixelIndices.h.

int PixelIndices::transformToROC ( const int  col,
const int  row,
int &  rocId,
int &  colROC,
int &  rowROC 
) const
inline

Definition at line 163 of file PixelIndices.h.

Member Data Documentation

int PixelIndices::theChipsInX
private

Definition at line 265 of file PixelIndices.h.

int PixelIndices::theChipsInY
private

Definition at line 266 of file PixelIndices.h.

int PixelIndices::theColsInDet
private

Definition at line 263 of file PixelIndices.h.

int PixelIndices::theRowsInDet
private

Definition at line 264 of file PixelIndices.h.