#include <VFATdata.h>
Public Member Functions | |
uint8_t | b1010 () const |
v2 More... | |
uint8_t | b1100 () const |
uint8_t | b1110 () const |
uint16_t | bc () const |
uint16_t | checkCRC () |
uint16_t | chipID () const |
uint16_t | crc () const |
uint16_t | crc_cal (uint16_t crc_in, uint16_t dato) |
uint8_t | crcCheck () const |
uint8_t | ec () const |
uint8_t | flag () const |
uint64_t | get_fw () const |
uint64_t | get_sw () const |
uint64_t | get_tw () const |
uint8_t | header () const |
v3 More... | |
uint64_t | lsData () const |
uint64_t | msData () const |
int | phi () const |
uint8_t | position () const |
uint8_t | quality () |
quality flag - bit: 0 good, 1 crc fail, 2 b1010 fail, 3 b1100 fail, 4 b1110 More... | |
void | read_fw (uint64_t word) |
Read first word from the block. More... | |
void | read_sw (uint64_t word) |
Read second word from the block. More... | |
void | read_tw (uint64_t word) |
Read third word from the block. More... | |
void | setPhi (int i) |
void | setVersion (int i) |
int | version () const |
VFATdata () | |
VFATdata (const int vfatVer, const uint16_t BC, const uint8_t EC, const uint16_t chipID, const uint64_t lsDatas, const uint64_t msDatas) | |
uint16_t | vfatId () const |
~VFATdata () | |
Static Public Attributes | |
static const int | nChannels = 128 |
static const int | sizeChipID = 12 |
Private Attributes | |
uint64_t | fw_ |
phi position of vfat in chamber More... | |
int | phiPos_ |
vfat version More... | |
uint64_t | sw_ |
uint64_t | tw_ |
int | ver_ |
Definition at line 48 of file VFATdata.h.
VFATdata::VFATdata | ( | ) |
Definition at line 5 of file VFATdata.cc.
VFATdata::VFATdata | ( | const int | vfatVer, |
const uint16_t | BC, | ||
const uint8_t | EC, | ||
const uint16_t | chipID, | ||
const uint64_t | lsDatas, | ||
const uint64_t | msDatas | ||
) |
Definition at line 7 of file VFATdata.cc.
|
inline |
Definition at line 58 of file VFATdata.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 79 of file VFATdata.h.
References gem::VFATfirst::bc, and gem::VFATfirst::bcV2.
Referenced by geometryXMLparser.Alignable::covariance(), and GEMVfatStatusDigi::GEMVfatStatusDigi().
uint16_t VFATdata::checkCRC | ( | ) |
Definition at line 86 of file VFATdata.cc.
References crc_cal(), fw_, mps_fire::i, lsData(), and msData().
Referenced by quality(), and VFATdata().
|
inline |
Definition at line 111 of file VFATdata.h.
References gem::VFATfirst::chipID.
Referenced by VFATdata().
|
inline |
uint16_t VFATdata::crc_cal | ( | uint16_t | crc_in, |
uint16_t | dato | ||
) |
Definition at line 66 of file VFATdata.cc.
References ztail::d, mps_fire::i, and findQualityFiles::v.
Referenced by checkCRC().
|
inline |
|
inline |
Definition at line 84 of file VFATdata.h.
References gem::VFATfirst::ec, and gem::VFATfirst::ecV2.
Referenced by GEMVfatStatusDigi::GEMVfatStatusDigi().
|
inline |
Definition at line 110 of file VFATdata.h.
References gem::VFATfirst::flag.
Referenced by GEMVfatStatusDigi::GEMVfatStatusDigi().
|
inline |
Definition at line 62 of file VFATdata.h.
|
inline |
Definition at line 66 of file VFATdata.h.
|
inline |
Definition at line 70 of file VFATdata.h.
|
inline |
|
inline |
Definition at line 76 of file VFATdata.h.
References gem::VFATsecond::lsData1, and gem::VFATthird::lsData2.
Referenced by checkCRC().
|
inline |
Definition at line 77 of file VFATdata.h.
References gem::VFATfirst::msData1, and gem::VFATsecond::msData2.
Referenced by checkCRC().
|
inline |
Definition at line 74 of file VFATdata.h.
Referenced by Particle.Particle::__str__(), GEMVfatStatusDigi::GEMVfatStatusDigi(), and ntupleDataFormat.Track::phiPull().
|
inline |
uint8_t VFATdata::quality | ( | void | ) |
quality flag - bit: 0 good, 1 crc fail, 2 b1010 fail, 3 b1100 fail, 4 b1110
Definition at line 50 of file VFATdata.cc.
References checkCRC(), fw_, data-class-funcs::q, tw_, and ver_.
Referenced by GEMVfatStatusDigi::GEMVfatStatusDigi().
|
inline |
Read first word from the block.
Definition at line 61 of file VFATdata.h.
References gem::VFATfirst::word.
|
inline |
Read second word from the block.
Definition at line 65 of file VFATdata.h.
References gem::VFATfirst::word.
|
inline |
Read third word from the block.
Definition at line 69 of file VFATdata.h.
References gem::VFATfirst::word.
|
inline |
|
inline |
|
inline |
Definition at line 96 of file VFATdata.h.
References qcdUeDQM_cfi::quality.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
inline |
Definition at line 89 of file VFATdata.h.
References gem::VFATfirst::chipID, and gem::VFATfirst::pos.
|
private |
phi position of vfat in chamber
Definition at line 124 of file VFATdata.h.
Referenced by checkCRC(), quality(), and VFATdata().
|
static |
Definition at line 117 of file VFATdata.h.
|
private |
vfat version
Definition at line 122 of file VFATdata.h.
|
static |
Definition at line 118 of file VFATdata.h.
|
private |
Definition at line 125 of file VFATdata.h.
Referenced by VFATdata().
|
private |
Definition at line 126 of file VFATdata.h.
Referenced by quality(), and VFATdata().
|
private |
Definition at line 121 of file VFATdata.h.
Referenced by quality(), and VFATdata().