#include <CTPPSPixelIndices.h>
Public Member Functions | |
CTPPSPixelIndices () | |
CTPPSPixelIndices (const int colsInDet, const int rowsInDet) | |
int | getDefaultColDetSize () const |
int | getDefaultRowDetSize () const |
int | getROCId (const int col, const int row) const |
bool | isOnEdge (const int col, const int row) const |
int | numberOfROCsInX (void) |
int | numberOfROCsInY (void) |
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 |
~CTPPSPixelIndices () | |
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 |
Definition at line 74 of file CTPPSPixelIndices.h.
|
inline |
Definition at line 79 of file CTPPSPixelIndices.h.
References rpixValues::CTPPS_CHECK_LIMITS, rpixValues::maxROCsInX, rpixValues::maxROCsInY, rpixValues::ROCSizeInX, rpixValues::ROCSizeInY, theChipsInX, theChipsInY, theColsInDet, and theRowsInDet.
|
inline |
Definition at line 93 of file CTPPSPixelIndices.h.
References rpixValues::CTPPS_CHECK_LIMITS, rpixValues::maxROCsInX, rpixValues::maxROCsInY, rpixValues::ROCSizeInX, rpixValues::ROCSizeInY, theChipsInX, theChipsInY, theColsInDet, and theRowsInDet.
|
inline |
Definition at line 107 of file CTPPSPixelIndices.h.
|
inlinestatic |
Definition at line 320 of file CTPPSPixelIndices.h.
References officialStyle::chan.
|
inlinestatic |
Definition at line 126 of file CTPPSPixelIndices.h.
References funct::abs(), rpixValues::CTPPS_CHECK_LIMITS, rpixValues::DColsPerROC, rpixValues::ROCSizeInX, and rpixValues::ROCSizeInY.
Referenced by CTPPSPixelROC::toGlobalfromDcol().
|
inlinestatic |
Definition at line 297 of file CTPPSPixelIndices.h.
References rpixValues::CTPPS_CHECK_LIMITS.
Referenced by CTPPSPixelDataFormatter::formatRawData().
|
inlinestatic |
Definition at line 310 of file CTPPSPixelIndices.h.
|
inline |
Definition at line 327 of file CTPPSPixelIndices.h.
References rpixValues::defaultDetSizeInY.
Referenced by RPixClusterToHit::make_hit().
|
inline |
Definition at line 326 of file CTPPSPixelIndices.h.
References rpixValues::defaultDetSizeInX.
Referenced by RPixClusterToHit::make_hit().
|
inline |
Definition at line 236 of file CTPPSPixelIndices.h.
References cuy::col, rpixValues::CTPPS_CHECK_LIMITS, rocIndex(), rpixValues::ROCSizeInX, rpixValues::ROCSizeInY, theChipsInX, and theChipsInY.
Referenced by RPixDetClusterizer::buildClusters(), RPixPlaneCombinatoryTracking::findTracks(), and RPixClusterToHit::make_hit().
|
inline |
Definition at line 262 of file CTPPSPixelIndices.h.
References cuy::col, rpixValues::defaultDetSizeInX, and rpixValues::defaultDetSizeInY.
|
inline |
|
inline |
|
inlinestatic |
Definition at line 317 of file CTPPSPixelIndices.h.
|
inline |
Definition at line 112 of file CTPPSPixelIndices.h.
References rpixValues::DColsPerROC, rpixValues::ROCSizeInX, rpixValues::ROCSizeInY, theChipsInX, theChipsInY, theColsInDet, and theRowsInDet.
|
inlinestatic |
Definition at line 273 of file CTPPSPixelIndices.h.
References rpixValues::CTPPS_CHECK_LIMITS, rpixValues::maxROCsInX, and rpixValues::maxROCsInY.
Referenced by getROCId(), and transformToROC().
|
inline |
Definition at line 160 of file CTPPSPixelIndices.h.
References cuy::col, rpixValues::CTPPS_CHECK_LIMITS, rpixValues::ROCSizeInX, rpixValues::ROCSizeInY, theChipsInX, and theChipsInY.
Referenced by RPixDetClusterizer::buildClusters(), WriteCTPPSPixGainCalibrations::getGainsPedsFromHistos(), CTPPSPixelROC::toGlobal(), and CTPPSPixelROC::toGlobalfromDcol().
|
inline |
Definition at line 196 of file CTPPSPixelIndices.h.
References cuy::col, rpixValues::CTPPS_CHECK_LIMITS, rocIndex(), rpixValues::ROCSizeInX, rpixValues::ROCSizeInY, theChipsInX, and theChipsInY.
Referenced by CTPPSPixelDQMSource::analyze(), CTPPSPixelDataFormatter::formatRawData(), and CTPPSPixelROC::toLocal().
|
private |
Definition at line 333 of file CTPPSPixelIndices.h.
Referenced by CTPPSPixelIndices(), getROCId(), numberOfROCsInX(), print(), transformToModule(), and transformToROC().
|
private |
Definition at line 334 of file CTPPSPixelIndices.h.
Referenced by CTPPSPixelIndices(), getROCId(), numberOfROCsInY(), print(), transformToModule(), and transformToROC().
|
private |
Definition at line 331 of file CTPPSPixelIndices.h.
Referenced by CTPPSPixelIndices(), and print().
|
private |
Definition at line 332 of file CTPPSPixelIndices.h.
Referenced by CTPPSPixelIndices(), and print().