CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GEMVfatStatusDigi Class Reference

#include <GEMVfatStatusDigi.h>

Public Member Functions

 GEMVfatStatusDigi (uint64_t lsData, uint64_t msData, uint16_t crc, uint16_t crc_calc, uint8_t b1010, uint8_t b1100, uint8_t b1110, uint8_t flag, bool isBlockGood)
 
 GEMVfatStatusDigi ()
 
uint8_t getB1010 () const
 
uint8_t getB1100 () const
 
uint8_t getB1110 () const
 
uint16_t getCrc () const
 
uint16_t getCrc_calc () const
 
uint8_t getFlag () const
 
uint16_t getIsBlocGood () const
 
uint64_t getLsData () const
 
uint64_t getMsData () const
 

Private Attributes

uint8_t b1010_
 1010:4 Control bits, shoud be 1010 More...
 
uint8_t b1100_
 1100:4, Control bits, shoud be 1100 More...
 
uint8_t b1110_
 1110:4 Control bits, shoud be 1110 More...
 
uint16_t crc_
 Check Sum value, 16 bits. More...
 
uint16_t crc_calc_
 Check Sum value recalculated, 16 bits. More...
 
uint8_t flag_
 Control Flags: 4 bits, Hamming Error/AFULL/SEUlogic/SUEI2C. More...
 
bool isBlockGood_
 Shows if block is good (control bits, chip ID and CRC checks) More...
 
uint64_t lsData_
 channels from 1to64 More...
 
uint64_t msData_
 channels from 65to128 More...
 

Detailed Description

Definition at line 6 of file GEMVfatStatusDigi.h.

Constructor & Destructor Documentation

GEMVfatStatusDigi::GEMVfatStatusDigi ( uint64_t  lsData,
uint64_t  msData,
uint16_t  crc,
uint16_t  crc_calc,
uint8_t  b1010,
uint8_t  b1100,
uint8_t  b1110,
uint8_t  flag,
bool  isBlockGood 
)
explicit

Definition at line 3 of file GEMVfatStatusDigi.cc.

11  :
12  lsData_(lsData),
13  msData_(msData),
14  crc_(crc),
15  crc_calc_(crc_calc),
16  b1010_(b1010),
17  b1100_(b1100),
18  b1110_(b1110),
19  flag_(flag),
20  isBlockGood_(isBlockGood)
21 {};
uint16_t crc_calc_
Check Sum value recalculated, 16 bits.
uint8_t b1110_
1110:4 Control bits, shoud be 1110
uint8_t flag_
Control Flags: 4 bits, Hamming Error/AFULL/SEUlogic/SUEI2C.
uint8_t b1010_
1010:4 Control bits, shoud be 1010
uint16_t crc_
Check Sum value, 16 bits.
uint8_t b1100_
1100:4, Control bits, shoud be 1100
uint64_t lsData_
channels from 1to64
uint64_t msData_
channels from 65to128
bool isBlockGood_
Shows if block is good (control bits, chip ID and CRC checks)
GEMVfatStatusDigi::GEMVfatStatusDigi ( )
inline

Definition at line 19 of file GEMVfatStatusDigi.h.

19 {}

Member Function Documentation

uint8_t GEMVfatStatusDigi::getB1010 ( ) const
inline

Definition at line 26 of file GEMVfatStatusDigi.h.

References b1010_.

26 { return b1010_; }
uint8_t b1010_
1010:4 Control bits, shoud be 1010
uint8_t GEMVfatStatusDigi::getB1100 ( ) const
inline

Definition at line 27 of file GEMVfatStatusDigi.h.

References b1100_.

27 { return b1100_; }
uint8_t b1100_
1100:4, Control bits, shoud be 1100
uint8_t GEMVfatStatusDigi::getB1110 ( ) const
inline

Definition at line 28 of file GEMVfatStatusDigi.h.

References b1110_.

28 { return b1110_; }
uint8_t b1110_
1110:4 Control bits, shoud be 1110
uint16_t GEMVfatStatusDigi::getCrc ( ) const
inline

Definition at line 23 of file GEMVfatStatusDigi.h.

References crc_.

23 { return crc_; }
uint16_t crc_
Check Sum value, 16 bits.
uint16_t GEMVfatStatusDigi::getCrc_calc ( ) const
inline

Definition at line 24 of file GEMVfatStatusDigi.h.

References crc_calc_.

24 { return crc_calc_; }
uint16_t crc_calc_
Check Sum value recalculated, 16 bits.
uint8_t GEMVfatStatusDigi::getFlag ( ) const
inline

Definition at line 29 of file GEMVfatStatusDigi.h.

References flag_.

29 { return flag_; }
uint8_t flag_
Control Flags: 4 bits, Hamming Error/AFULL/SEUlogic/SUEI2C.
uint16_t GEMVfatStatusDigi::getIsBlocGood ( ) const
inline

Definition at line 25 of file GEMVfatStatusDigi.h.

References isBlockGood_.

25 { return isBlockGood_; }
bool isBlockGood_
Shows if block is good (control bits, chip ID and CRC checks)
uint64_t GEMVfatStatusDigi::getLsData ( ) const
inline

Definition at line 21 of file GEMVfatStatusDigi.h.

References lsData_.

21 { return lsData_; }
uint64_t lsData_
channels from 1to64
uint64_t GEMVfatStatusDigi::getMsData ( ) const
inline

Definition at line 22 of file GEMVfatStatusDigi.h.

References msData_.

22 { return msData_; }
uint64_t msData_
channels from 65to128

Member Data Documentation

uint8_t GEMVfatStatusDigi::b1010_
private

1010:4 Control bits, shoud be 1010

Definition at line 37 of file GEMVfatStatusDigi.h.

Referenced by getB1010().

uint8_t GEMVfatStatusDigi::b1100_
private

1100:4, Control bits, shoud be 1100

Definition at line 38 of file GEMVfatStatusDigi.h.

Referenced by getB1100().

uint8_t GEMVfatStatusDigi::b1110_
private

1110:4 Control bits, shoud be 1110

Definition at line 39 of file GEMVfatStatusDigi.h.

Referenced by getB1110().

uint16_t GEMVfatStatusDigi::crc_
private

Check Sum value, 16 bits.

Definition at line 35 of file GEMVfatStatusDigi.h.

Referenced by getCrc().

uint16_t GEMVfatStatusDigi::crc_calc_
private

Check Sum value recalculated, 16 bits.

Definition at line 36 of file GEMVfatStatusDigi.h.

Referenced by getCrc_calc().

uint8_t GEMVfatStatusDigi::flag_
private

Control Flags: 4 bits, Hamming Error/AFULL/SEUlogic/SUEI2C.

Definition at line 40 of file GEMVfatStatusDigi.h.

Referenced by getFlag().

bool GEMVfatStatusDigi::isBlockGood_
private

Shows if block is good (control bits, chip ID and CRC checks)

Definition at line 41 of file GEMVfatStatusDigi.h.

Referenced by getIsBlocGood().

uint64_t GEMVfatStatusDigi::lsData_
private

channels from 1to64

Definition at line 33 of file GEMVfatStatusDigi.h.

Referenced by getLsData().

uint64_t GEMVfatStatusDigi::msData_
private

channels from 65to128

Definition at line 34 of file GEMVfatStatusDigi.h.

Referenced by getMsData().