#include <GEMVFAT.h>
Classes | |
union | VFATfirst |
VFAT data structure - 3 words of 64 bits each. More... | |
union | VFATsecond |
union | VFATthird |
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 |
GEMVFAT () | |
GEMVFAT (const int vfatVer, const uint16_t BC, const uint32_t EC, const uint16_t chipID, const uint64_t lsDatas, const uint64_t msDatas) | |
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) |
bool | vc () const |
int | version () const |
uint16_t | vfatId () const |
~GEMVFAT () | |
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_ |
GEMVFAT::GEMVFAT | ( | ) |
Definition at line 4 of file GEMVFAT.cc.
GEMVFAT::GEMVFAT | ( | const int | vfatVer, |
const uint16_t | BC, | ||
const uint32_t | EC, | ||
const uint16_t | chipID, | ||
const uint64_t | lsDatas, | ||
const uint64_t | msDatas | ||
) |
Definition at line 6 of file GEMVFAT.cc.
References checkCRC(), chipID(), fw_, sw_, tw_, and ver_.
|
inline |
|
inline |
Definition at line 77 of file GEMVFAT.h.
Referenced by geometryXMLparser.Alignable::covariance(), and GEMVFATStatus::GEMVFATStatus().
uint16_t GEMVFAT::checkCRC | ( | ) |
|
inline |
uint16_t GEMVFAT::crc_cal | ( | uint16_t | crc_in, |
uint16_t | dato | ||
) |
Definition at line 65 of file GEMVFAT.cc.
References ztail::d, mps_fire::i, gpuClustering::pixelStatus::mask, and findQualityFiles::v.
Referenced by checkCRC().
|
inline |
|
inline |
|
inline |
v3
Definition at line 100 of file GEMVFAT.h.
References fw_.
Referenced by GEMVFATStatus::GEMVFATStatus().
|
inline |
|
inline |
|
inline |
Definition at line 72 of file GEMVFAT.h.
References phiPos_.
Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().
|
inline |
uint8_t GEMVFAT::quality | ( | ) |
quality flag - bit: 0 good, 1 crc fail, 2 b1010 fail, 3 b1100 fail, 4 b1110
Definition at line 49 of file GEMVFAT.cc.
References checkCRC(), fw_, submitPVResolutionJobs::q, tw_, and ver_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 101 of file GEMVFAT.h.
References fw_.
Referenced by GEMVFATStatus::GEMVFATStatus().
|
inline |
Definition at line 94 of file GEMVFAT.h.
References ver_.
Referenced by validation.Sample::datasetpattern(), validation.Sample::filename(), and GEMVFATStatus::GEMVFATStatus().
|
inline |
|
private |
|
static |
Definition at line 116 of file GEMVFAT.h.
Referenced by GEMRawToDigiModule::produce().
|
private |
|
private |
|
private |