#include <CSCCFEBTimeSlice.h>
Definition at line 56 of file CSCCFEBTimeSlice.h.
CSCCFEBTimeSlice::CSCCFEBTimeSlice |
( |
| ) |
|
unsigned CSCCFEBTimeSlice::calcCRC |
( |
| ) |
const |
bool CSCCFEBTimeSlice::check |
( |
| ) |
const |
|
inline |
bool CSCCFEBTimeSlice::checkCRC |
( |
| ) |
const |
|
inline |
unsigned CSCCFEBTimeSlice::get_buffer_count |
( |
| ) |
const |
|
inline |
unsigned CSCCFEBTimeSlice::get_buffer_warning |
( |
| ) |
const |
|
inline |
unsigned CSCCFEBTimeSlice::get_crc |
( |
| ) |
const |
|
inline |
unsigned CSCCFEBTimeSlice::get_L1A_number |
( |
| ) |
const |
|
inline |
unsigned CSCCFEBTimeSlice::get_l1pipe_empty |
( |
| ) |
const |
|
inline |
unsigned CSCCFEBTimeSlice::get_l1pipe_full |
( |
| ) |
const |
|
inline |
unsigned CSCCFEBTimeSlice::get_lctpipe_count |
( |
| ) |
const |
|
inline |
unsigned CSCCFEBTimeSlice::get_lctpipe_empty |
( |
| ) |
const |
|
inline |
unsigned CSCCFEBTimeSlice::get_lctpipe_full |
( |
| ) |
const |
|
inline |
unsigned CSCCFEBTimeSlice::get_n_free_sca_blocks |
( |
| ) |
const |
|
inline |
Definition at line 56 of file CSCCFEBTimeSlice.cc.
References CSCCFEBDataWord::controllerData, and timeSample().
Referenced by CSCCFEBData::CSCCFEBData().
58 for(
int layer = 1; layer <= 6; ++layer)
60 for(
int channel = 1; channel <= 16; ++channel)
62 const unsigned short * shortWord =
reinterpret_cast<const unsigned short *
>(&controllerWord);
64 = ( *shortWord >> (channel-1)) & 1;
CSCCFEBDataWord * timeSample(int index) const
input from 0 to 95
unsigned short controllerData
combined from all 16 strips to make a word
void CSCCFEBTimeSlice::setCRC |
( |
| ) |
|
|
inline |
bool CSCCFEBTimeSlice::sixteenSamples |
( |
| ) |
|
|
inline |
unsigned CSCCFEBTimeSlice::sizeInWords |
( |
| ) |
const |
|
inline |
input from 0 to 95
Definition at line 61 of file CSCCFEBTimeSlice.h.
References getHLTprescales::index, and theSamples.
Referenced by CSCCFEBData::adcCounts(), CSCCFEBData::adcOverflow(), CSCCFEBData::add(), CSCCFEBData::controllerData(), CSCCFEBData::digis(), CSCCFEBData::errorstat(), operator<<(), CSCCFEBData::overlappedSampleFlag(), scaControllerWord(), setControllerWord(), sixteenSamples(), CSCCFEBData::statusDigi(), and timeSample().
unsigned short theSamples[96]
CSCCFEBDataWord * CSCCFEBTimeSlice::timeSample |
( |
int |
layer, |
|
|
int |
channel |
|
) |
| const |
layer and element count from one
Definition at line 34 of file CSCCFEBTimeSlice.cc.
References channelInverseGrayCode, layerInverseGrayCode, and timeSample().
36 assert(layer >= 1 && layer <= 6);
37 assert(channel >=1 && channel <= 16);
40 unsigned scaBin = channelIndex*6 + layerIndex;
CSCCFEBDataWord * timeSample(int index) const
input from 0 to 95
unsigned channelInverseGrayCode[]
unsigned layerInverseGrayCode[]
Definition at line 79 of file CSCCFEBTimeSlice.cc.
81 for(
int ichannel = 1; ichannel <= 16; ++ichannel)
83 for(
int ilayer = 1; ilayer <= 6; ++ilayer)
88 os <<
" " << std::setw(5) << std::dec <<
value;
CSCCFEBDataWord * timeSample(int index) const
input from 0 to 95
unsigned CSCCFEBTimeSlice::blank_space_1 |
|
private |
unsigned CSCCFEBTimeSlice::blank_space_3 |
|
private |
unsigned CSCCFEBTimeSlice::buffer_count |
|
private |
unsigned CSCCFEBTimeSlice::buffer_warning |
|
private |
unsigned CSCCFEBTimeSlice::crc |
|
private |
unsigned CSCCFEBTimeSlice::dummy |
|
private |
unsigned CSCCFEBTimeSlice::L1A_number |
|
private |
unsigned CSCCFEBTimeSlice::l1pipe_empty |
|
private |
unsigned CSCCFEBTimeSlice::l1pipe_full |
|
private |
unsigned CSCCFEBTimeSlice::lctpipe_count |
|
private |
unsigned CSCCFEBTimeSlice::lctpipe_empty |
|
private |
unsigned CSCCFEBTimeSlice::lctpipe_full |
|
private |
unsigned CSCCFEBTimeSlice::n_free_sca_blocks |
|
private |
unsigned short CSCCFEBTimeSlice::theSamples[96] |
|
private |