1 #ifndef CSCCFEBTimeSlice_h 2 #define CSCCFEBTimeSlice_h 45 unsigned short trig_time : 8;
46 unsigned short sca_blk : 4;
47 unsigned short l1a_phase : 1;
48 unsigned short lct_phase : 1;
49 unsigned short sca_full : 1;
50 unsigned short ts_flag : 1;
112 unsigned short theSamples[96];
118 unsigned n_free_sca_blocks : 4;
119 unsigned lctpipe_count : 4;
120 unsigned lctpipe_full : 1;
121 unsigned l1pipe_full : 1;
122 unsigned lctpipe_empty : 1;
123 unsigned l1pipe_empty : 1;
124 unsigned blank_space_1 : 4;
128 unsigned buffer_warning : 1;
129 unsigned buffer_count : 5;
130 unsigned L1A_number :6;
131 unsigned blank_space_3 : 4;
CSCCFEBSCAControllerWord()
unsigned short adcOverflow
void set_L1Anumber(unsigned l1a)
unsigned sizeInWords() const
unsigned get_l1pipe_full() const
bool sixteenSamples() const
whether we keep 8 or 16 time samples
std::ostream & operator<<(std::ostream &out, const ALILine &li)
unsigned get_crc() const
accessors for words 97, 98 and 99
unsigned get_buffer_count() const
unsigned get_L1A_number() const
unsigned get_lctpipe_empty() const
CSCCFEBDataWord * timeSample(int index) const
input from 0 to 95
unsigned short overlappedSampleFlag
unsigned get_buffer_warning() const
unsigned short controllerData
combined from all 16 strips to make a word
unsigned get_n_free_sca_blocks() const
unsigned get_l1pipe_empty() const
void calcCRC(long, int &)
CSCCFEBDataWord const *const timeSample(T const &data, int nCFEB, int nSample, int nLayer, int nStrip)
void setCRC()
=VB= Set calculated CRC value for simulated CFEB Time Slice data
unsigned get_lctpipe_count() const
unsigned get_lctpipe_full() const