CMS 3D CMS Logo

Variables

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/EventFilter/SiPixelRawToDigi/src/ErrorChecker.cc File Reference

#include "EventFilter/SiPixelRawToDigi/interface/ErrorChecker.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelFrameConverter.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "DataFormats/FEDRawData/interface/FEDHeader.h"
#include "DataFormats/FEDRawData/interface/FEDTrailer.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <bitset>
#include <sstream>
#include <iostream>

Go to the source code of this file.

Variables

const int ADC_bits = 8
const int ADC_shift = 0
const int CRC_bits = 1
const ErrorChecker::Word64 CRC_mask = ~(~ErrorChecker::Word64(0) << CRC_bits)
const int CRC_shift = 2
const int DCOL_bits = 5
const ErrorChecker::Word32 DCOL_mask = ~(~ErrorChecker::Word32(0) << DCOL_bits)
const int DCOL_shift = PXID_shift + PXID_bits
const uint32_t dummyDetId = 0xffffffff
const ErrorChecker::Word32 ERROR_mask = ~(~ErrorChecker::Word32(0) << ROC_bits)
const int LINK_bits = 6
const ErrorChecker::Word32 LINK_mask = ~(~ErrorChecker::Word32(0) << LINK_bits)
const int LINK_shift = ROC_shift + ROC_bits
const int PXID_bits = 8
const ErrorChecker::Word32 PXID_mask = ~(~ErrorChecker::Word32(0) << PXID_bits)
const int PXID_shift = ADC_shift + ADC_bits
const int ROC_bits = 5
const ErrorChecker::Word32 ROC_mask = ~(~ErrorChecker::Word32(0) << ROC_bits)
const int ROC_shift = DCOL_shift + DCOL_bits

Variable Documentation

const int ADC_bits = 8

Definition at line 25 of file ErrorChecker.cc.

const int ADC_shift = 0

Definition at line 28 of file ErrorChecker.cc.

Referenced by PixelDataFormatter::digi2word(), and PixelDataFormatter::word2digi().

const int CRC_bits = 1

Definition at line 20 of file ErrorChecker.cc.

Definition at line 36 of file ErrorChecker.cc.

Referenced by ErrorChecker::checkCRC().

const int CRC_shift = 2

Definition at line 27 of file ErrorChecker.cc.

Referenced by ErrorChecker::checkCRC().

const int DCOL_bits = 5

Definition at line 23 of file ErrorChecker.cc.

Definition at line 40 of file ErrorChecker.cc.

Referenced by PixelDataFormatter::word2digi().

Definition at line 30 of file ErrorChecker.cc.

Referenced by PixelDataFormatter::digi2word(), and PixelDataFormatter::word2digi().

const uint32_t dummyDetId = 0xffffffff

Definition at line 37 of file ErrorChecker.cc.

Referenced by ErrorChecker::checkROC().

const int LINK_bits = 6

Definition at line 21 of file ErrorChecker.cc.

Definition at line 38 of file ErrorChecker.cc.

Referenced by ErrorChecker::errorDetId(), and PixelDataFormatter::word2digi().

const int LINK_shift = ROC_shift + ROC_bits
const int PXID_bits = 8

Definition at line 24 of file ErrorChecker.cc.

Definition at line 41 of file ErrorChecker.cc.

Referenced by PixelDataFormatter::word2digi().

const int PXID_shift = ADC_shift + ADC_bits

Definition at line 29 of file ErrorChecker.cc.

Referenced by PixelDataFormatter::digi2word(), and PixelDataFormatter::word2digi().

const int ROC_bits = 5

Definition at line 22 of file ErrorChecker.cc.

Definition at line 39 of file ErrorChecker.cc.

Referenced by ErrorChecker::errorDetId(), and PixelDataFormatter::word2digi().