#include <CSCALCTTrailer.h>
|
static std::atomic< bool > | debug {false} |
|
static std::atomic< unsigned short int > | firmwareVersion {2006} |
|
Definition at line 43 of file CSCALCTTrailer.h.
CSCALCTTrailer::CSCALCTTrailer |
( |
int |
size, |
|
|
int |
firmVersion |
|
) |
| |
needed for packing
needed for packing
Definition at line 43 of file CSCALCTTrailer.cc.
45 if(firmVersion == 2006)
50 else if (firmVersion == 2007)
56 edm::LogError(
"CSCALCTTrailer|CSCRawToDigi") <<
"failed to construct: undetermined ALCT firmware version!!" << firmVersion;
static std::atomic< unsigned short int > firmwareVersion
CSCALCTTrailer2007 trailer2007
CSCALCTTrailer2006 trailer2006
CSCALCTTrailer::CSCALCTTrailer |
( |
const unsigned short * |
buf | ) |
|
determine the version first
Now fill data
Definition at line 61 of file CSCALCTTrailer.cc.
63 if ((buf[0]==0xDE0D)&&((buf[1]&0xF000)==0xD000)) {
66 else if ( (buf[2]&0xFFF)==0xE0D ) {
87 <<
"couldn't construct: ALCT firmware version is bad/not defined!";
short unsigned int sizeInWords() const
static std::atomic< unsigned short int > firmwareVersion
CSCALCTTrailer2007 trailer2007
CSCALCTTrailer2006 trailer2006
short unsigned int sizeInWords() const
unsigned CSCALCTTrailer::alctCRCCheck |
( |
| ) |
const |
|
inline |
Definition at line 149 of file CSCALCTTrailer.h.
161 <<
"couldn't CRCcheck: ALCT firmware version is bad/not defined!";
static std::atomic< unsigned short int > firmwareVersion
CSCALCTTrailer2007 trailer2007
CSCALCTTrailer2006 trailer2006
bool CSCALCTTrailer::check |
( |
| ) |
const |
|
inline |
Definition at line 115 of file CSCALCTTrailer.h.
127 <<
"couldn't check: ALCT firmware version is bad/not defined!";
static std::atomic< unsigned short int > firmwareVersion
CSCALCTTrailer2007 trailer2007
CSCALCTTrailer2006 trailer2006
unsigned short* CSCALCTTrailer::data |
( |
| ) |
|
|
inline |
Definition at line 55 of file CSCALCTTrailer.h.
Referenced by CSCEventData::pack().
69 <<
"couldn't access data: ALCT firmware version is bad/not defined!";
short unsigned int sizeInWords() const
static std::atomic< unsigned short int > firmwareVersion
CSCALCTTrailer2007 trailer2007
CSCALCTTrailer2006 trailer2006
short unsigned int sizeInWords() const
unsigned short int theOriginalBuffer[4]
unsigned CSCALCTTrailer::FrameCount |
( |
| ) |
const |
|
inline |
int CSCALCTTrailer::getCRC |
( |
| ) |
|
|
inline |
Definition at line 98 of file CSCALCTTrailer.h.
110 <<
"couldn't getCRC: ALCT firmware version is bad/not defined!";
static std::atomic< unsigned short int > firmwareVersion
CSCALCTTrailer2007 trailer2007
CSCALCTTrailer2006 trailer2006
void CSCALCTTrailer::setCRC |
( |
unsigned int |
crc | ) |
|
|
inline |
Definition at line 78 of file CSCALCTTrailer.h.
Referenced by CSCEventData::pack().
92 <<
"couldn't setCRC: ALCT firmware version is bad/not defined!";
void setCRC(unsigned int crc)
static std::atomic< unsigned short int > firmwareVersion
CSCALCTTrailer2007 trailer2007
CSCALCTTrailer2006 trailer2006
void setCRC(unsigned int crc)
static void CSCALCTTrailer::setDebug |
( |
bool |
debugValue | ) |
|
|
inlinestatic |
static int CSCALCTTrailer::sizeInWords |
( |
| ) |
|
|
inlinestatic |
int CSCALCTTrailer::wordCount |
( |
| ) |
const |
|
inline |
Definition at line 132 of file CSCALCTTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
144 <<
"couldn't wordCount: ALCT firmware version is bad/not defined!";
static std::atomic< unsigned short int > firmwareVersion
CSCALCTTrailer2007 trailer2007
CSCALCTTrailer2006 trailer2006
std::atomic< bool > CSCALCTTrailer::debug {false} |
|
staticprivate |
std::atomic< short unsigned int > CSCALCTTrailer::firmwareVersion {2006} |
|
staticprivate |
unsigned short int CSCALCTTrailer::theOriginalBuffer[4] |
|
private |