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 7 of file SiPixelRecHitQuality.h.

Member Typedef Documentation

◆ QualWordType

typedef unsigned int SiPixelRecHitQuality::QualWordType

Definition at line 9 of file SiPixelRecHitQuality.h.

Member Function Documentation

◆ warningObsolete()

void SiPixelRecHitQuality::warningObsolete ( )
staticprivate

Definition at line 56 of file SiPixelRecHitQuality.cc.

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

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

◆ warningOutOfBoundProb()

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

Definition at line 66 of file SiPixelRecHitQuality.cc.

66  {
67  edm::LogWarning("OutOfBounds") << "Prob " << iName
68  << " outside the bounds of the quality word. Defaulting to Prob=0. Prob = " << iProb
69  << " QualityWord = " << iQualWord;
70 }

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

◆ warningOutOfBoundQbin()

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

Definition at line 61 of file SiPixelRecHitQuality.cc.

61  {
62  edm::LogWarning("OutOfBounds") << "Qbin outside the bounds of the quality word. Defaulting to Qbin=0. Qbin = "
63  << iValue << " QualityWord = " << iQualWord;
64 }

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

◆ warningOutOfBoundRaw()

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

Definition at line 72 of file SiPixelRecHitQuality.cc.

72  {
73  edm::LogWarning("OutOfBounds") << "Probability " << iName
74  << " outside the bounds of the quality word. Defaulting to Prob=0. Raw = " << iRaw
75  << " QualityWord = " << iQualWord;
76 }

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

Member Data Documentation

◆ thePacking

const SiPixelRecHitQuality::Packing SiPixelRecHitQuality::thePacking
static
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122