Go to the documentation of this file. 1 #ifndef DataFormats_SiPixelRecHitQuality_h
2 #define DataFormats_SiPixelRecHitQuality_h 1
68 if (raw < 0 || raw > 16383) {
78 if (raw < 0 || raw > 255) {
90 if (qbin < 0 || qbin > 7) {
113 if (prob < 0 || prob > 1) {
118 unsigned int raw = (
int)(
draw + 0.5);
123 if (prob < 0 || prob > 1) {
128 unsigned int raw = (
int)(
draw + 0.5);
134 if (qbin < 0 || qbin > 7) {
float probabilityQ(QualWordType qualWord) const
double probX_1_over_log_units
bool hasFilledProb(QualWordType qualWord) const
float probabilityY(QualWordType qualWord) const
void setSpansTwoROCs(bool flag, QualWordType &qualWord) const
static void warningOutOfBoundQbin(int, QualWordType const &)
def draw(name, histos, styles=_defaultStyles, legendLabels=[], **kwargs)
double probY_1_over_log_units
void setIsOnEdge(bool flag, QualWordType &qualWord) const
bool isOnEdge(QualWordType qualWord) const
float probabilityXY(QualWordType qualWord) const
int qBin(QualWordType qualWord) const
bool hasBadPixels(QualWordType qualWord) const
bool spansTwoROCs(QualWordType qualWord) const
static const Packing thePacking
unsigned int QualWordType
static void warningOutOfBoundProb(const char *iVariable, float, QualWordType const &)
static void warningOutOfBoundRaw(const char *iVariable, int iRaw, QualWordType const &)
void setQBin(int qbin, QualWordType &qualWord) const
void setHasBadPixels(bool flag, QualWordType &qualWord) const
float probabilityX(QualWordType qualWord) const
void setProbabilityQ(float prob, QualWordType &qualWord) const
void setProbabilityXY(float prob, QualWordType &qualWord) const
Power< A, B >::type pow(const A &a, const B &b)
void setHasFilledProb(bool flag, QualWordType &qualWord) const
static void warningObsolete()
QualWordType hasFilledProb_mask