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);
131 unsigned int raw = (int)(draw + 0.5);
137 if (qbin < 0 || qbin > 7) {
float probabilityQ(QualWordType qualWord) const
void setProbabilityXY(float prob, QualWordType &qualWord) const
double probX_1_over_log_units
bool spansTwoROCs(QualWordType qualWord) const
static const Packing thePacking
static std::vector< std::string > checklist log
float probabilityXY(QualWordType qualWord) const
double probY_1_over_log_units
void setHasBadPixels(bool flag, QualWordType &qualWord) const
void setProbabilityQ(float prob, QualWordType &qualWord) const
float probabilityY(QualWordType qualWord) const
int qBin(QualWordType qualWord) const
void setSpansTwoROCs(bool flag, QualWordType &qualWord) const
float probabilityX(QualWordType qualWord) const
static void warningObsolete()
static void warningOutOfBoundRaw(const char *iVariable, int iRaw, QualWordType const &)
void setIsOnEdge(bool flag, QualWordType &qualWord) const
bool isOnEdge(QualWordType qualWord) const
unsigned int QualWordType
static void warningOutOfBoundQbin(int, QualWordType const &)
bool hasBadPixels(QualWordType qualWord) const
void setHasFilledProb(bool flag, QualWordType &qualWord) const
static void warningOutOfBoundProb(const char *iVariable, float, QualWordType const &)
void setQBin(int qbin, QualWordType &qualWord) const
QualWordType hasFilledProb_mask
Power< A, B >::type pow(const A &a, const B &b)
bool hasFilledProb(QualWordType qualWord) const