Go to the documentation of this file. 1 #ifndef CSCCFEBStatusDigi_CSCCFEBStatusDigi_h
2 #define CSCCFEBStatusDigi_CSCCFEBStatusDigi_h
24 const std::vector<uint16_t>& crcWords,
25 const std::vector<uint16_t>& contrWords,
26 const std::vector<uint16_t>& bWords) {
52 int ShiftSel(
int nmb,
int nshift,
int nsel)
const;
std::vector< uint16_t > getSCAFullCond() const
Get SCA Full Condition.
std::vector< uint16_t > getCRC() const
Get CRC per each time sample.
std::vector< int > getSCA_FULL() const
Get SCA_FULL bit from SCA Controller data per each time slice.
int getCFEBNmb() const
Get the CFEB number.
int ShiftSel(int nmb, int nshift, int nsel) const
Shift and select.
CSCCFEBStatusDigi()
Default construction.
CSCCFEBStatusDigi(int cfebnmb)
Construct from the CFEB number (1-5).
void setCRC(const std::vector< uint16_t > &crc)
Set CRC vector.
std::vector< int > getTS_FLAG() const
Get TS_FLAG bit from SCA Controller data per each time slice.
std::vector< int > getLCT_PHASE() const
Get LCT_PHASE bit from SCA Controller data per each time slice.
std::ostream & operator<<(std::ostream &o, const CSCCFEBStatusDigi &digi)
void setSCAC(const std::vector< uint16_t > &scac)
Set SCAC (SCA Controller) vector.
std::vector< int > getL1A_PHASE() const
Get L1A_PHASE bit from SCA Controller data per each time slice.
void print() const
Print content of digi.
std::vector< uint16_t > bWords_
std::vector< uint16_t > contrWords_
std::vector< int > getTRIG_TIME() const
Get TRIG_TIME 8 bit word 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::vector< uint16_t > crcWords_
CSCCFEBStatusDigi(int cfebnmb, const std::vector< uint16_t > &crcWords, const std::vector< uint16_t > &contrWords, const std::vector< uint16_t > &bWords)
Constructor for all variables.