#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 24 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 145 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 102 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 123 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 166 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 197 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 40 of file PixelROC.h.
References theIdDU.
Referenced by SiPixelCoordinates::channel(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelFrameReverter::findRocInDet(), SiPixelQuality::getBadRocPositions(), PixelDataFormatter::interpretRawData(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), Phase2TrackerDigitizerAlgorithm::module_killing_DB(), SiPixelDigitizerAlgorithm::module_killing_DB(), SiPixelStatusProducer::onlineRocColRow(), SiPixelRawToDigi::produce(), SiPixelCoordinates::roc(), MeasurementTrackerEventProducer::updatePixels(), and PixelDataFormatter::word2digi().
|
inline |
id of this ROC in parent Link.
Definition at line 43 of file PixelROC.h.
References theIdLk.
Referenced by sipixelobjects::PixelFEDLink::addItem(), SiPixelFrameReverter::findRocInLink(), and SiPixelFedCablingTree::pathToDetUnit().
void PixelROC::initFrameConversion | ( | ) |
Definition at line 87 of file PixelROC.cc.
References PixelModuleName::isBarrel(), theDetUnit, theFrameConverter, and theIdDU.
Referenced by PixelROC(), and toGlobal().
void PixelROC::initFrameConversionPhase1 | ( | ) |
Definition at line 71 of file PixelROC.cc.
References bpixLayerPhase1(), bpixSidePhase1(), fpixSidePhase1(), PixelModuleName::isBarrel(), gedGsfElectrons_cfi::isBarrel, theDetUnit, theFrameConverter, and theIdDU.
Referenced by toGlobal().
void PixelROC::initFrameConversionPhase1_CMSSW_9_0_X | ( | ) |
Definition at line 57 of file PixelROC.cc.
References bpixSidePhase1(), fpixSidePhase1(), PixelModuleName::isBarrel(), gedGsfElectrons_cfi::isBarrel, theDetUnit, theFrameConverter, and theIdDU.
Referenced by toGlobal().
string PixelROC::print | ( | int | depth = 0 | ) | const |
printout for debug
Definition at line 233 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 37 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 59 of file PixelROC.h.
References bpixLayerPhase1(), bpixSidePhase0(), bpixSidePhase1(), sipixelobjects::GlobalPixel::col, sipixelobjects::FrameConversion::collumn(), sipixelobjects::LinearConversion::convert(), egammaForCoreTracking_cff::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 SiPixelQuality::getBadRocPositions(), PixelDataFormatter::interpretRawData(), Phase2TrackerDigitizerAlgorithm::module_killing_DB(), SiPixelDigitizerAlgorithm::module_killing_DB(), 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 48 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 90 of file PixelROC.h.
|
friend |
Definition at line 90 of file PixelROC.h.
|
private |
Definition at line 85 of file PixelROC.h.
Referenced by initFrameConversion(), initFrameConversionPhase1(), initFrameConversionPhase1_CMSSW_9_0_X(), print(), and rawId().
|
private |
Definition at line 87 of file PixelROC.h.
Referenced by initFrameConversion(), initFrameConversionPhase1(), initFrameConversionPhase1_CMSSW_9_0_X(), toGlobal(), and toLocal().
|
private |
Definition at line 86 of file PixelROC.h.
Referenced by idInDetUnit(), initFrameConversion(), initFrameConversionPhase1(), initFrameConversionPhase1_CMSSW_9_0_X(), and print().
|
private |
Definition at line 86 of file PixelROC.h.
Referenced by idInLink(), and print().