CMS 3D CMS Logo

List of all members | Classes | Public Types | Static Public Attributes | Static Private Member Functions
SiPixelRecHitQuality Class Reference

#include <SiPixelRecHitQuality.h>

Classes

class  Packing
 

Public Types

typedef unsigned int QualWordType
 

Static Public Attributes

static const Packing thePacking
 

Static Private Member Functions

static void warningObsolete ()
 
static void warningOutOfBoundProb (const char *iVariable, float, QualWordType const &)
 
static void warningOutOfBoundQbin (int, QualWordType const &)
 
static void warningOutOfBoundRaw (const char *iVariable, int iRaw, QualWordType const &)
 

Detailed Description

Definition at line 6 of file SiPixelRecHitQuality.h.

Member Typedef Documentation

◆ QualWordType

typedef unsigned int SiPixelRecHitQuality::QualWordType

Definition at line 8 of file SiPixelRecHitQuality.h.

Member Function Documentation

◆ warningObsolete()

void SiPixelRecHitQuality::warningObsolete ( )
staticprivate

Definition at line 56 of file SiPixelRecHitQuality.cc.

Referenced by SiPixelRecHitQuality::Packing::probabilityX(), and SiPixelRecHitQuality::Packing::probabilityY().

56  {
57  edm::LogWarning("ObsoleteVariable")
58  << "Since 39x, probabilityX and probabilityY have been replaced by probabilityXY and probabilityQ";
59 }
Log< level::Warning, false > LogWarning

◆ warningOutOfBoundProb()

void SiPixelRecHitQuality::warningOutOfBoundProb ( const char *  iVariable,
float  iProb,
QualWordType const &  iQualWord 
)
staticprivate

Definition at line 66 of file SiPixelRecHitQuality.cc.

Referenced by SiPixelRecHitQuality::Packing::setProbabilityQ(), and SiPixelRecHitQuality::Packing::setProbabilityXY().

66  {
67  edm::LogWarning("OutOfBounds") << "Prob" << iName << " outside the bounds of the quality word: Prob" << iName
68  << " = 1+" << iProb - 1 << " and QualityWord = " << iQualWord
69  << " --> Now defaulting to Prob" << iName << " = 0.0";
70 }
Log< level::Warning, false > LogWarning

◆ warningOutOfBoundQbin()

void SiPixelRecHitQuality::warningOutOfBoundQbin ( int  iValue,
QualWordType const &  iQualWord 
)
staticprivate

Definition at line 61 of file SiPixelRecHitQuality.cc.

Referenced by SiPixelRecHitQuality::Packing::qBin(), and SiPixelRecHitQuality::Packing::setQBin().

61  {
62  edm::LogWarning("OutOfBounds") << "Qbin outside the bounds of the quality word: Qbin = " << iValue
63  << " and QualityWord = " << iQualWord << " --> Now defaulting to Qbin = 0.0";
64 }
Log< level::Warning, false > LogWarning

◆ warningOutOfBoundRaw()

void SiPixelRecHitQuality::warningOutOfBoundRaw ( const char *  iVariable,
int  iRaw,
QualWordType const &  iQualWord 
)
staticprivate

Definition at line 72 of file SiPixelRecHitQuality.cc.

Referenced by SiPixelRecHitQuality::Packing::probabilityQ(), and SiPixelRecHitQuality::Packing::probabilityXY().

72  {
73  edm::LogWarning("OutOfBounds") << "Probability" << iName << " outside the bounds of the quality word: Raw = " << iRaw
74  << " and QualityWord = " << iQualWord << " --> Now defaulting to Prob" << iName
75  << " = 0.0";
76 }
Log< level::Warning, false > LogWarning

Member Data Documentation

◆ thePacking

const SiPixelRecHitQuality::Packing SiPixelRecHitQuality::thePacking
static