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;
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.
std::ostream & operator<<(std::ostream &o, const CSCCFEBStatusDigi &digi)
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.
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).
void setCRC(const std::vector< uint16_t > &crc)
Set CRC vector.
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.
std::vector< int > getSCA_FULL() const
Get SCA_FULL bit from SCA Controller data per each time slice.
void setSCAC(const 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.