#include <PixelROC.h>
Public Member Functions | |
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... | |
const PixelROC & | operator= (const PixelROC &) |
PixelROC () | |
dummy More... | |
PixelROC (const PixelROC &o) | |
PixelROC (uint32_t du, int idInDU, int idLk) | |
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 | swap (PixelROC &) |
GlobalPixel | toGlobal (const LocalPixel &loc) const |
LocalPixel | toLocal (const GlobalPixel &gp) const |
~PixelROC () | |
Private Member Functions | |
void | initFrameConversion () const |
Private Attributes | |
uint32_t | theDetUnit |
const FrameConversion * | theFrameConverter |
unsigned int | theIdDU |
unsigned int | theIdLk |
Definition at line 21 of file PixelROC.h.
|
inline |
dummy
Definition at line 25 of file PixelROC.h.
PixelROC::~PixelROC | ( | ) |
Definition at line 22 of file PixelROC.cc.
References theFrameConverter.
PixelROC::PixelROC | ( | const PixelROC & | o | ) |
Definition at line 16 of file PixelROC.cc.
References sipixelobjects::FrameConversion::clone(), and theFrameConverter.
PixelROC::PixelROC | ( | 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 12 of file PixelROC.cc.
|
inline |
id of this ROC in DetUnit etermined by token path
Definition at line 43 of file PixelROC.h.
References theIdDU.
Referenced by SiPixelInformationExtractor::findNoisyPixels(), SiPixelFrameReverter::findRocInDet(), SiPixelQuality::getBadRocPositions(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), SiPixelDigitizerAlgorithm::module_killing_DB(), and PixelDataFormatter::word2digi().
|
inline |
id of this ROC in parent Link.
Definition at line 46 of file PixelROC.h.
References theIdLk.
Referenced by sipixelobjects::PixelFEDLink::addItem(), SiPixelFrameReverter::findRocInLink(), SiPixelFedCablingTree::pathToDetUnit(), and SiPixelFedCablingMap::SiPixelFedCablingMap().
|
private |
Definition at line 64 of file PixelROC.cc.
References PixelModuleName::isBarrel(), theDetUnit, theFrameConverter, and theIdDU.
Referenced by print(), toGlobal(), and toLocal().
Definition at line 28 of file PixelROC.cc.
References swap(), and groupFilesInBlocks::temp.
string PixelROC::print | ( | int | depth = 0 | ) | const |
printout for debug
Definition at line 75 of file PixelROC.cc.
References Reference_intrackfit_cff::barrel, initFrameConversion(), PixelModuleName::isBarrel(), PixelBarrelName::name(), PixelEndcapName::name(), dbtoconf::out, theDetUnit, theFrameConverter, theIdDU, and theIdLk.
|
inline |
return the DetUnit to which this ROC belongs to.
Definition at line 40 of file PixelROC.h.
References theDetUnit.
Referenced by SiPixelFedCablingTree::pathToDetUnit(), SiPixelFrameConverter::toCabling(), SiPixelFrameReverter::toCabling(), and SiPixelFrameConverter::toDetector().
void PixelROC::swap | ( | PixelROC & | iOther | ) |
Definition at line 36 of file PixelROC.cc.
References std::swap(), theDetUnit, theFrameConverter, theIdDU, and theIdLk.
Referenced by operator=().
GlobalPixel PixelROC::toGlobal | ( | const LocalPixel & | loc | ) | const |
converts LocalPixel in ROC to DU coordinates. LocalPixel must be inside ROC. Otherwise result is meaningless
Definition at line 44 of file PixelROC.cc.
References sipixelobjects::GlobalPixel::col, sipixelobjects::FrameConversion::collumn(), sipixelobjects::LinearConversion::convert(), initFrameConversion(), query::result, sipixelobjects::LocalPixel::rocCol(), sipixelobjects::LocalPixel::rocRow(), sipixelobjects::GlobalPixel::row, sipixelobjects::FrameConversion::row(), and theFrameConverter.
Referenced by SiPixelQuality::getBadRocPositions(), SiPixelDigitizerAlgorithm::module_killing_DB(), and SiPixelFrameConverter::toDetector().
LocalPixel PixelROC::toLocal | ( | const GlobalPixel & | gp | ) | const |
converts DU position to local. If GlobalPixel is outside ROC the resulting LocalPixel is not inside ROC. (call to inside(..) recommended)
Definition at line 54 of file PixelROC.cc.
References sipixelobjects::GlobalPixel::col, sipixelobjects::FrameConversion::collumn(), initFrameConversion(), sipixelobjects::LinearConversion::inverse(), sipixelobjects::GlobalPixel::row, sipixelobjects::FrameConversion::row(), and theFrameConverter.
Referenced by SiPixelFrameReverter::findLinkInFed(), SiPixelFrameReverter::findPixelInRoc(), SiPixelFrameReverter::findRocInDet(), SiPixelFrameReverter::findRocInLink(), SiPixelFrameConverter::toCabling(), and SiPixelFrameReverter::toCabling().
|
private |
Definition at line 64 of file PixelROC.h.
Referenced by initFrameConversion(), print(), rawId(), and swap().
|
mutableprivate |
Definition at line 66 of file PixelROC.h.
Referenced by initFrameConversion(), PixelROC(), print(), swap(), toGlobal(), toLocal(), and ~PixelROC().
|
private |
Definition at line 65 of file PixelROC.h.
Referenced by idInDetUnit(), initFrameConversion(), print(), and swap().
|
private |
Definition at line 65 of file PixelROC.h.
Referenced by idInLink(), print(), and swap().