1 #ifndef CSCCFEBStatusDigi_CSCCFEBStatusDigi_h
2 #define CSCCFEBStatusDigi_CSCCFEBStatusDigi_h
29 std::vector<uint16_t> contrWords, std::vector<uint16_t> bWords) {
56 int ShiftSel(
int nmb,
int nshift,
int nsel)
const;
CSCCFEBStatusDigi(int cfebnmb, std::vector< uint16_t > crcWords, std::vector< uint16_t > contrWords, std::vector< uint16_t > bWords)
Constructor for all variables.
std::vector< int > getTS_FLAG() const
Get TS_FLAG bit from SCA Controller data per each time slice.
std::vector< int > getSCA_BLK() const
Get SCA_BLK 4 bit word from SCA Controller data per each time slice.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
CSCCFEBStatusDigi()
Default construction.
std::vector< int > getL1A_PHASE() const
Get L1A_PHASE bit from SCA Controller data per each time slice.
CSCCFEBStatusDigi(int cfebnmb)
Construct from the CFEB number (1-5).
std::vector< int > getLCT_PHASE() const
Get LCT_PHASE bit from SCA Controller data per each time slice.
int getCFEBNmb() const
Get the CFEB number.
std::vector< uint16_t > getSCAFullCond() const
Get SCA Full Condition.
void setCRC(std::vector< uint16_t > crc)
Set CRC vector.
std::vector< int > getSCA_FULL() const
Get SCA_FULL bit from SCA Controller data per each time slice.
void setSCAC(std::vector< uint16_t > scac)
Set SCAC (SCA Controller) vector.
std::vector< uint16_t > getCRC() const
Get CRC per each time sample.
int ShiftSel(int nmb, int nshift, int nsel) const
Shift and select.
std::vector< int > getTRIG_TIME() const
Get TRIG_TIME 8 bit word from SCA Controller data per each time slice.
std::vector< uint16_t > crcWords_
std::vector< uint16_t > contrWords_
std::vector< uint16_t > bWords_
void print() const
Print content of digi.