#include <CTPPSPixelIndices.h>
|
| 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 () |
|
Definition at line 74 of file CTPPSPixelIndices.h.
◆ CTPPSPixelIndices() [1/2]
CTPPSPixelIndices::CTPPSPixelIndices |
( |
| ) |
|
|
inline |
◆ CTPPSPixelIndices() [2/2]
CTPPSPixelIndices::CTPPSPixelIndices |
( |
const int |
colsInDet, |
|
|
const int |
rowsInDet |
|
) |
| |
|
inline |
◆ ~CTPPSPixelIndices()
CTPPSPixelIndices::~CTPPSPixelIndices |
( |
| ) |
|
|
inline |
◆ channelToPixelROC()
static std::pair<int, int> CTPPSPixelIndices::channelToPixelROC |
( |
const int |
chan | ) |
|
|
inlinestatic |
Definition at line 320 of file CTPPSPixelIndices.h.
References officialStyle::chan.
321 int rowROC = (
chan >> 6) & 0x7F;
322 int colROC =
chan & 0x3F;
323 return std::pair<int, int>(rowROC, colROC);
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
◆ convertDcolToCol()
static int CTPPSPixelIndices::convertDcolToCol |
( |
const int |
dcol, |
|
|
const int |
pix, |
|
|
int & |
colROC, |
|
|
int & |
rowROC |
|
) |
| |
|
inlinestatic |
◆ DColumn()
static int CTPPSPixelIndices::DColumn |
( |
const int |
colROC | ) |
|
|
inlinestatic |
◆ DColumnInModule()
static int CTPPSPixelIndices::DColumnInModule |
( |
const int |
dcol, |
|
|
const int |
chipIndex |
|
) |
| |
|
inlinestatic |
◆ getDefaultColDetSize()
int CTPPSPixelIndices::getDefaultColDetSize |
( |
| ) |
const |
|
inline |
◆ getDefaultRowDetSize()
int CTPPSPixelIndices::getDefaultRowDetSize |
( |
| ) |
const |
|
inline |
◆ getROCId()
int CTPPSPixelIndices::getROCId |
( |
const int |
col, |
|
|
const int |
row |
|
) |
| const |
|
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().
254 edm::LogError(
"RPix") <<
"CTPPSPixelIndices: wrong roc index " << rocId;
Log< level::Error, false > LogError
static int rocIndex(const int chipX, const int chipY)
constexpr bool CTPPS_CHECK_LIMITS
◆ isOnEdge()
bool CTPPSPixelIndices::isOnEdge |
( |
const int |
col, |
|
|
const int |
row |
|
) |
| const |
|
inline |
◆ numberOfROCsInX()
int CTPPSPixelIndices::numberOfROCsInX |
( |
void |
| ) |
|
|
inline |
◆ numberOfROCsInY()
int CTPPSPixelIndices::numberOfROCsInY |
( |
void |
| ) |
|
|
inline |
◆ pixelToChannelROC()
static int CTPPSPixelIndices::pixelToChannelROC |
( |
const int |
rowROC, |
|
|
const int |
colROC |
|
) |
| |
|
inlinestatic |
◆ print()
void CTPPSPixelIndices::print |
( |
void |
| ) |
const |
|
inline |
◆ rocIndex()
static int CTPPSPixelIndices::rocIndex |
( |
const int |
chipX, |
|
|
const int |
chipY |
|
) |
| |
|
inlinestatic |
◆ transformToModule()
int CTPPSPixelIndices::transformToModule |
( |
const int |
colROC, |
|
|
const int |
rowROC, |
|
|
const int |
rocId, |
|
|
int & |
col, |
|
|
int & |
row |
|
) |
| const |
|
inline |
◆ transformToROC()
int CTPPSPixelIndices::transformToROC |
( |
const int |
col, |
|
|
const int |
row, |
|
|
int & |
rocId, |
|
|
int & |
colROC, |
|
|
int & |
rowROC |
|
) |
| const |
|
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().
200 edm::LogError(
"RPix") <<
"CTPPSPixelIndices: wrong index 3 ";
212 edm::LogError(
"RPix") <<
"CTPPSPixelIndices: wrong roc index " << rocId;
220 colROC = 51 - colROC;
221 rowROC = 79 - rowROC;
226 edm::LogError(
"RPix") <<
"CTPPSPixelIndices: wrong index " << colROC <<
" " << rowROC;
Log< level::Error, false > LogError
static int rocIndex(const int chipX, const int chipY)
constexpr bool CTPPS_CHECK_LIMITS
◆ theChipsInX
int CTPPSPixelIndices::theChipsInX |
|
private |
◆ theChipsInY
int CTPPSPixelIndices::theChipsInY |
|
private |
◆ theColsInDet
int CTPPSPixelIndices::theColsInDet |
|
private |
◆ theRowsInDet
int CTPPSPixelIndices::theRowsInDet |
|
private |