1 #ifndef DataFormats_SiPixelRecHitQuality_h 2 #define DataFormats_SiPixelRecHitQuality_h 1 67 if (raw < 0 || raw > 16383) {
77 if (raw < 0 || raw > 255) {
89 if (qbin < 0 || qbin > 7) {
119 unsigned int raw = (
int)(
draw + 0.5);
126 }
else if (
prob == -1.0
f) {
134 unsigned int raw = (
int)(
draw + 0.5);
140 if (qbin < 0 || qbin > 7) {
double probX_1_over_log_units
static const Packing thePacking
float probabilityY(QualWordType qualWord) const
bool hasFilledProb(QualWordType qualWord) const
float probabilityXY(QualWordType qualWord) const
void setHasBadPixels(bool flag, QualWordType &qualWord) const
bool spansTwoROCs(QualWordType qualWord) const
bool hasBadPixels(QualWordType qualWord) const
void setSpansTwoROCs(bool flag, QualWordType &qualWord) const
float probabilityQ(QualWordType qualWord) const
double probY_1_over_log_units
def draw(name, histos, styles=_defaultStyles, legendLabels=[], kwargs)
void setIsOnEdge(bool flag, QualWordType &qualWord) const
int qBin(QualWordType qualWord) const
void setHasFilledProb(bool flag, QualWordType &qualWord) const
void setQBin(int qbin, QualWordType &qualWord) const
bool isOnEdge(QualWordType qualWord) const
static void warningObsolete()
static void warningOutOfBoundRaw(const char *iVariable, int iRaw, QualWordType const &)
void setProbabilityQ(float prob, QualWordType &qualWord) const
float probabilityX(QualWordType qualWord) const
unsigned int QualWordType
static void warningOutOfBoundQbin(int, QualWordType const &)
static void warningOutOfBoundProb(const char *iVariable, float, QualWordType const &)
QualWordType hasFilledProb_mask
Power< A, B >::type pow(const A &a, const B &b)
void setProbabilityXY(float prob, QualWordType &qualWord) const