CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes
EcalErrorDictionary Class Reference

#include <EcalErrorDictionary.h>

Classes

struct  errorDef_t
 

Static Public Member Functions

static void getDictionary (std::vector< errorDef_t > &dict)
 
static void getErrors (std::vector< errorDef_t > &errorVec, uint64_t bitcode)
 
static uint64_t getMask (std::string shortDesc)
 
static uint64_t hasError (std::string shortDesc, uint64_t bitcode)
 
static void printErrors (uint64_t bitcode)
 

Private Member Functions

 EcalErrorDictionary ()
 
 ~EcalErrorDictionary ()
 

Static Private Member Functions

static errorDef_t getDef (unsigned int i)
 

Static Private Attributes

static const unsigned int DICTSIZE = 55
 

Detailed Description

A dictionary of bitmasks for ECAL channel errors and their meaning This object is not meant to be stored in the offline DB, but the bits defined here are stored in EcalChannelStatus.

This class holds no dynamic data and all the methods are static.

Definition at line 15 of file EcalErrorDictionary.h.

Constructor & Destructor Documentation

EcalErrorDictionary::EcalErrorDictionary ( )
inlineprivate

Definition at line 65 of file EcalErrorDictionary.h.

EcalErrorDictionary::~EcalErrorDictionary ( )
inlineprivate

Definition at line 66 of file EcalErrorDictionary.h.

Member Function Documentation

static errorDef_t EcalErrorDictionary::getDef ( unsigned int  i)
inlinestaticprivate

Definition at line 70 of file EcalErrorDictionary.h.

static void EcalErrorDictionary::getDictionary ( std::vector< errorDef_t > &  dict)
inlinestatic

Definition at line 56 of file EcalErrorDictionary.h.

static void EcalErrorDictionary::getErrors ( std::vector< errorDef_t > &  errorVec,
uint64_t  bitcode 
)
inlinestatic

Definition at line 46 of file EcalErrorDictionary.h.

static uint64_t EcalErrorDictionary::getMask ( std::string  shortDesc)
inlinestatic

Definition at line 28 of file EcalErrorDictionary.h.

static uint64_t EcalErrorDictionary::hasError ( std::string  shortDesc,
uint64_t  bitcode 
)
inlinestatic

Definition at line 23 of file EcalErrorDictionary.h.

static void EcalErrorDictionary::printErrors ( uint64_t  bitcode)
inlinestatic

Definition at line 38 of file EcalErrorDictionary.h.

Member Data Documentation

const unsigned int EcalErrorDictionary::DICTSIZE = 55
staticprivate

Definition at line 68 of file EcalErrorDictionary.h.