#include <PixelROC.h>
Public Member Functions | |
int | bpixSidePhase0 (uint32_t rawId) const |
int | bpixSidePhase1 (uint32_t rawId) const |
int | fpixSidePhase0 (uint32_t rawId) const |
int | fpixSidePhase1 (uint32_t rawId) const |
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 () |
void | initFrameConversionPhase1 () |
void | initFrameConversionPhase1_CMSSW_9_0_X () |
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 |
Static Public Member Functions | |
static int | bpixLayerPhase1 (uint32_t rawId) |
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 13 of file PixelROC.cc.
References initFrameConversion().
|
static |
two bits would be enough, but we could use the number "0" as a wildcard
two bits would be enough, but we could use the number "0" as a wildcard
layer id
ladder id
det id
Definition at line 142 of file PixelROC.cc.
Referenced by initFrameConversionPhase1(), and toGlobal().
int PixelROC::bpixSidePhase0 | ( | uint32_t | rawId | ) | const |
two bits would be enough, but we could use the number "0" as a wildcard
two bits would be enough, but we could use the number "0" as a wildcard
layer id
ladder id
det id
Definition at line 97 of file PixelROC.cc.
Referenced by toGlobal().
int PixelROC::bpixSidePhase1 | ( | uint32_t | rawId | ) | const |
two bits would be enough, but we could use the number "0" as a wildcard
two bits would be enough, but we could use the number "0" as a wildcard
layer id
ladder id
det id
Definition at line 119 of file PixelROC.cc.
Referenced by initFrameConversionPhase1(), initFrameConversionPhase1_CMSSW_9_0_X(), and toGlobal().
int PixelROC::fpixSidePhase0 | ( | uint32_t | rawId | ) | const |
two bits would be enough, but we could use the number "0" as a wildcard
two bits would be enough, but we could use the number "0" as a wildcard
positive or negative id
disk id
blade id
panel id
det id
Definition at line 163 of file PixelROC.cc.
Referenced by toGlobal().
int PixelROC::fpixSidePhase1 | ( | uint32_t | rawId | ) | const |
two bits would be enough, but we could use the number "0" as a wildcard
two bits would be enough, but we could use the number "0" as a wildcard
positive or negative id
disk id
blade id
panel id 1 or 2
det id
Definition at line 195 of file PixelROC.cc.
Referenced by initFrameConversionPhase1(), initFrameConversionPhase1_CMSSW_9_0_X(), and toGlobal().
|
inline |
id of this ROC in DetUnit etermined by token path
Definition at line 37 of file PixelROC.h.
References theIdDU.
Referenced by SiPixelCoordinates::channel(), SiPixelStatusHarvester::dqmEndRun(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelFrameReverter::findRocInDet(), SiPixelQuality::getBadRocPositions(), PixelDataFormatter::interpretRawData(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), Phase2TrackerDigitizerAlgorithm::module_killing_DB(), SiPixelDigitizerAlgorithm::module_killing_DB(), SiPixelStatusProducer::onlineRocColRow(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), SiPixelRawToDigi::produce(), SiPixelCoordinates::roc(), MeasurementTrackerEventProducer::updatePixels(), and PixelDataFormatter::word2digi().
|
inline |
id of this ROC in parent Link.
Definition at line 40 of file PixelROC.h.
References theIdLk.
Referenced by sipixelobjects::PixelFEDLink::addItem(), SiPixelFrameReverter::findRocInLink(), and SiPixelFedCablingTree::pathToDetUnit().
void PixelROC::initFrameConversion | ( | ) |
Definition at line 84 of file PixelROC.cc.
References PixelModuleName::isBarrel(), theDetUnit, theFrameConverter, and theIdDU.
Referenced by PixelROC(), and toGlobal().
void PixelROC::initFrameConversionPhase1 | ( | ) |
Definition at line 69 of file PixelROC.cc.
References bpixLayerPhase1(), bpixSidePhase1(), fpixSidePhase1(), PixelPluginsPhase0_cfi::isBarrel, PixelModuleName::isBarrel(), theDetUnit, theFrameConverter, and theIdDU.
Referenced by toGlobal().
void PixelROC::initFrameConversionPhase1_CMSSW_9_0_X | ( | ) |
Definition at line 56 of file PixelROC.cc.
References bpixSidePhase1(), fpixSidePhase1(), PixelPluginsPhase0_cfi::isBarrel, PixelModuleName::isBarrel(), theDetUnit, theFrameConverter, and theIdDU.
Referenced by toGlobal().
string PixelROC::print | ( | int | depth = 0 | ) | const |
printout for debug
Definition at line 231 of file PixelROC.cc.
References Reference_intrackfit_cff::barrel, PixelModuleName::isBarrel(), MillePedeFileConverter_cfg::out, theDetUnit, theIdDU, and theIdLk.
Referenced by toGlobal().
|
inline |
return the DetUnit to which this ROC belongs to.
Definition at line 34 of file PixelROC.h.
References theDetUnit.
Referenced by PixelDataFormatter::interpretRawData(), SiPixelFedCablingTree::pathToDetUnit(), SiPixelFedCablingTree::pathToDetUnitHasDetUnit(), SiPixelFrameReverter::toCabling(), SiPixelFrameConverter::toCabling(), toGlobal(), and MeasurementTrackerEventProducer::updatePixels().
|
private |
|
inline |
converts LocalPixel in ROC to DU coordinates. LocalPixel must be inside ROC. Otherwise result is meaningless
Definition at line 55 of file PixelROC.h.
References bpixLayerPhase1(), bpixSidePhase0(), bpixSidePhase1(), sipixelobjects::GlobalPixel::col, sipixelobjects::FrameConversion::collumn(), sipixelobjects::LinearConversion::convert(), LEDCalibrationChannels::depth, fpixSidePhase0(), fpixSidePhase1(), initFrameConversion(), initFrameConversionPhase1(), initFrameConversionPhase1_CMSSW_9_0_X(), print(), rawId(), mps_fire::result, sipixelobjects::LocalPixel::rocCol(), sipixelobjects::LocalPixel::rocRow(), sipixelobjects::GlobalPixel::row, sipixelobjects::FrameConversion::row(), AlCaHLTBitMon_QueryRunRegistry::string, and theFrameConverter.
Referenced by SiPixelStatusHarvester::dqmEndRun(), SiPixelQuality::getBadRocPositions(), PixelDataFormatter::interpretRawData(), Phase2TrackerDigitizerAlgorithm::module_killing_DB(), SiPixelDigitizerAlgorithm::module_killing_DB(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), and MeasurementTrackerEventProducer::updatePixels().
|
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 45 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 85 of file PixelROC.h.
|
friend |
Definition at line 85 of file PixelROC.h.
|
private |
Definition at line 81 of file PixelROC.h.
Referenced by initFrameConversion(), initFrameConversionPhase1(), initFrameConversionPhase1_CMSSW_9_0_X(), print(), and rawId().
|
private |
Definition at line 83 of file PixelROC.h.
Referenced by initFrameConversion(), initFrameConversionPhase1(), initFrameConversionPhase1_CMSSW_9_0_X(), toGlobal(), and toLocal().
|
private |
Definition at line 82 of file PixelROC.h.
Referenced by idInDetUnit(), initFrameConversion(), initFrameConversionPhase1(), initFrameConversionPhase1_CMSSW_9_0_X(), and print().
|
private |
Definition at line 82 of file PixelROC.h.
Referenced by idInLink(), and print().