1 #ifndef CSCCFEBTimeSlice_h 2 #define CSCCFEBTimeSlice_h 44 unsigned short trig_time : 8;
45 unsigned short sca_blk : 4;
46 unsigned short l1a_phase : 1;
47 unsigned short lct_phase : 1;
48 unsigned short sca_full : 1;
49 unsigned short ts_flag : 1;
108 unsigned short theSamples[96];
114 unsigned n_free_sca_blocks : 4;
115 unsigned lctpipe_count : 4;
116 unsigned lctpipe_full : 1;
117 unsigned l1pipe_full : 1;
118 unsigned lctpipe_empty : 1;
119 unsigned l1pipe_empty : 1;
120 unsigned blank_space_1 : 4;
123 unsigned buffer_warning : 1;
124 unsigned buffer_count : 5;
125 unsigned L1A_number : 6;
126 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