#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.
References phase1PixelTopology::layer.
Referenced by initFrameConversionPhase1().
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.
References callgraph::module.
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.
References callgraph::module.
Referenced by initFrameConversionPhase1(), and initFrameConversionPhase1_CMSSW_9_0_X().
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.
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(), and initFrameConversionPhase1_CMSSW_9_0_X().
|
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(), SiPixelFEDChannelContainerFromQualityConverter::createFromSiPixelQuality(), FastSiPixelFEDChannelContainerFromQuality::createFromSiPixelQuality(), SiPixelStatusHarvester::dqmEndRun(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelFrameReverter::findRocInDet(), SiPixelQuality::getBadRocPositions(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), Phase2TrackerDigitizerAlgorithm::module_killing_DB(), SiPixelDigitizerAlgorithm::module_killing_DB(), SiPixelTopoFinder::onlineRocColRow(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), SiPixelCoordinates::roc(), SiPixelROCsStatusAndMappingWrapper::SiPixelROCsStatusAndMappingWrapper(), PixelDataFormatter::unpackFEDErrors(), and MeasurementTrackerEventProducer::updatePixels().
|
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().
void PixelROC::initFrameConversionPhase1 | ( | ) |
Definition at line 69 of file PixelROC.cc.
References bpixLayerPhase1(), bpixSidePhase1(), fpixSidePhase1(), PixelPluginsPhase0_cfi::isBarrel, PixelModuleName::isBarrel(), phase1PixelTopology::layer, theDetUnit, theFrameConverter, and theIdDU.
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.
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(), submitPVResolutionJobs::out, theDetUnit, theIdDU, and theIdLk.
|
inline |
return the DetUnit to which this ROC belongs to.
Definition at line 34 of file PixelROC.h.
References theDetUnit.
Referenced by SiPixelROCsStatusAndMappingWrapper::getModToUnpRegionalAsync(), SiPixelFedCablingTree::pathToDetUnit(), SiPixelFedCablingTree::pathToDetUnitHasDetUnit(), SiPixelROCsStatusAndMappingWrapper::SiPixelROCsStatusAndMappingWrapper(), SiPixelFrameReverter::toCabling(), SiPixelFrameConverter::toCabling(), 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 sipixelobjects::GlobalPixel::col, sipixelobjects::FrameConversion::collumn(), sipixelobjects::LinearConversion::convert(), mps_fire::result, sipixelobjects::LocalPixel::rocCol(), sipixelobjects::LocalPixel::rocRow(), sipixelobjects::GlobalPixel::row, sipixelobjects::FrameConversion::row(), and theFrameConverter.
Referenced by SiPixelStatusHarvester::dqmEndRun(), SiPixelQuality::getBadRocPositions(), 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().