#include <CTPPSPixelROC.h>
|
| CTPPSPixelROC () |
|
| CTPPSPixelROC (uint32_t du, int idInDU, int idLk) |
|
unsigned int | idInDetUnit () const |
| id of this ROC in DetUnit etermined by token path More...
|
|
unsigned int | idInLink () const |
| id of this ROC in parent Link. More...
|
|
std::string | print (int depth=0) const |
| printout for debug More...
|
|
uint32_t | rawId () const |
| return the DetUnit to which this ROC belongs to. More...
|
|
void | setParameters (uint32_t du, int idInDU, int idLk) |
|
std::pair< int, int > | toGlobal (const std::pair< int, int > &rocPixel) const |
|
std::pair< int, int > | toGlobalfromDcol (const std::pair< int, int > &rocPixel) const |
|
std::pair< int, int > | toLocal (const std::pair< int, int > &modulePixel) const |
|
| ~CTPPSPixelROC () |
|
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 18 of file CTPPSPixelROC.h.
◆ CTPPSPixelROC() [1/2]
CTPPSPixelROC::CTPPSPixelROC |
( |
| ) |
|
|
inline |
◆ ~CTPPSPixelROC()
CTPPSPixelROC::~CTPPSPixelROC |
( |
| ) |
|
|
inline |
◆ CTPPSPixelROC() [2/2]
CTPPSPixelROC::CTPPSPixelROC |
( |
uint32_t |
du, |
|
|
int |
idInDU, |
|
|
int |
idLk |
|
) |
| |
ctor with DetUnit id, ROC number in DU (given by token passage), ROC number in Link (given by token passage),
Definition at line 3 of file CTPPSPixelROC.cc.
◆ idInDetUnit()
unsigned int CTPPSPixelROC::idInDetUnit |
( |
| ) |
const |
|
inline |
◆ idInLink()
unsigned int CTPPSPixelROC::idInLink |
( |
| ) |
const |
|
inline |
◆ print()
std::string CTPPSPixelROC::print |
( |
int |
depth = 0 | ) |
const |
◆ rawId()
uint32_t CTPPSPixelROC::rawId |
( |
| ) |
const |
|
inline |
◆ serialize()
template<class Archive >
void CTPPSPixelROC::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
◆ setParameters()
void CTPPSPixelROC::setParameters |
( |
uint32_t |
du, |
|
|
int |
idInDU, |
|
|
int |
idLk |
|
) |
| |
|
inline |
◆ toGlobal()
std::pair<int, int> CTPPSPixelROC::toGlobal |
( |
const std::pair< int, int > & |
rocPixel | ) |
const |
|
inline |
◆ toGlobalfromDcol()
std::pair<int, int> CTPPSPixelROC::toGlobalfromDcol |
( |
const std::pair< int, int > & |
rocPixel | ) |
const |
|
inline |
Definition at line 71 of file CTPPSPixelROC.h.
References CTPPSPixelIndices::convertDcolToCol(), theIdDU, theIndices, and CTPPSPixelIndices::transformToModule().
Referenced by CTPPSPixelDataFormatter::interpretRawData().
72 int modulePixelRow = -1;
73 int modulePixelColumn = -1;
74 int rocDcol = rocPixel.first;
75 int rocPxl = rocPixel.second;
84 std::pair<int, int> modulePixel;
85 modulePixel = std::make_pair(modulePixelRow, modulePixelColumn);
static int convertDcolToCol(const int dcol, const int pix, int &colROC, int &rowROC)
int transformToModule(const int colROC, const int rowROC, const int rocId, int &col, int &row) const
CTPPSPixelIndices theIndices
◆ toLocal()
std::pair<int, int> CTPPSPixelROC::toLocal |
( |
const std::pair< int, int > & |
modulePixel | ) |
const |
|
inline |
Definition at line 44 of file CTPPSPixelROC.h.
References theIndices, and CTPPSPixelIndices::transformToROC().
45 int rocPixelRow, rocPixelColumn, idDU;
46 int modulePixelRow = modulePixel.first;
47 int modulePixelColumn = modulePixel.second;
51 std::pair<int, int> rocPixel;
52 rocPixel = std::make_pair(rocPixelRow, rocPixelColumn);
int transformToROC(const int col, const int row, int &rocId, int &colROC, int &rowROC) const
CTPPSPixelIndices theIndices
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ cond::serialization::access
template<typename CondSerializationT , typename Enabled >
◆ theDetUnit
uint32_t CTPPSPixelROC::theDetUnit |
|
private |
◆ theIdDU
unsigned int CTPPSPixelROC::theIdDU |
|
private |
◆ theIdLk
unsigned int CTPPSPixelROC::theIdLk |
|
private |
◆ theIndices