#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... | |
void | initFrameConversion () |
PixelROC () | |
dummy More... | |
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... | |
GlobalPixel | toGlobal (const LocalPixel &loc) const |
LocalPixel | toLocal (const GlobalPixel &glo) const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
uint32_t | theDetUnit |
FrameConversion | theFrameConverter |
unsigned int | theIdDU |
unsigned int | theIdLk |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 23 of file PixelROC.h.
|
inline |
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.
References initFrameConversion().
|
inline |
id of this ROC in DetUnit etermined by token path
Definition at line 39 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 42 of file PixelROC.h.
References theIdLk.
Referenced by sipixelobjects::PixelFEDLink::addItem(), SiPixelFrameReverter::findRocInLink(), SiPixelFedCablingTree::pathToDetUnit(), and SiPixelFedCablingMap::SiPixelFedCablingMap().
void PixelROC::initFrameConversion | ( | ) |
Definition at line 16 of file PixelROC.cc.
References PixelModuleName::isBarrel(), theDetUnit, theFrameConverter, and theIdDU.
Referenced by PixelROC().
string PixelROC::print | ( | int | depth = 0 | ) | const |
printout for debug
Definition at line 27 of file PixelROC.cc.
References Reference_intrackfit_cff::barrel, PixelModuleName::isBarrel(), PixelBarrelName::name(), PixelEndcapName::name(), dbtoconf::out, theDetUnit, theIdDU, and theIdLk.
|
inline |
return the DetUnit to which this ROC belongs to.
Definition at line 36 of file PixelROC.h.
References theDetUnit.
Referenced by SiPixelFedCablingTree::pathToDetUnit(), SiPixelFrameReverter::toCabling(), and SiPixelFrameConverter::toCabling().
|
private |
|
inline |
converts LocalPixel in ROC to DU coordinates. LocalPixel must be inside ROC. Otherwise result is meaningless
Definition at line 58 of file PixelROC.h.
References sipixelobjects::GlobalPixel::col, sipixelobjects::FrameConversion::collumn(), sipixelobjects::LinearConversion::convert(), query::result, sipixelobjects::LocalPixel::rocCol(), sipixelobjects::LocalPixel::rocRow(), sipixelobjects::GlobalPixel::row, sipixelobjects::FrameConversion::row(), and theFrameConverter.
Referenced by doVectorize(), SiPixelQuality::getBadRocPositions(), and SiPixelDigitizerAlgorithm::module_killing_DB().
|
inline |
converts DU position to local. If GlobalPixel is outside ROC the resulting LocalPixel is not inside ROC. (call to inside(..) recommended)
Definition at line 47 of file PixelROC.h.
References sipixelobjects::GlobalPixel::col, sipixelobjects::FrameConversion::collumn(), sipixelobjects::LinearConversion::inverse(), sipixelobjects::GlobalPixel::row, sipixelobjects::FrameConversion::row(), and theFrameConverter.
Referenced by SiPixelFrameReverter::findLinkInFed(), SiPixelFrameReverter::findPixelInRoc(), SiPixelFrameReverter::findRocInDet(), SiPixelFrameReverter::findRocInLink(), SiPixelFrameReverter::toCabling(), and SiPixelFrameConverter::toCabling().
|
friend |
Definition at line 76 of file PixelROC.h.
|
friend |
Definition at line 76 of file PixelROC.h.
|
private |
Definition at line 71 of file PixelROC.h.
Referenced by initFrameConversion(), print(), and rawId().
|
private |
Definition at line 73 of file PixelROC.h.
Referenced by initFrameConversion(), toGlobal(), and toLocal().
|
private |
Definition at line 72 of file PixelROC.h.
Referenced by idInDetUnit(), initFrameConversion(), and print().
|
private |
Definition at line 72 of file PixelROC.h.
Referenced by idInLink(), and print().