#include <CSCALCTTrailer.h>
Public Member Functions | |
unsigned | alctCRCCheck () const |
CSCALCTTrailer2006 | alctTrailer2006 () |
CSCALCTTrailer2007 | alctTrailer2007 () |
bool | check () const |
CSCALCTTrailer (int size, int firmVersion) | |
needed for packing More... | |
CSCALCTTrailer (const unsigned short *buf) | |
CSCALCTTrailer (const CSCALCTStatusDigi &digi) | |
unsigned short * | data () |
unsigned | FrameCount () const |
int | getCRC () |
int | wordCount () const |
Static Public Member Functions | |
static void | setDebug (bool debugValue) |
static int | sizeInWords () |
in 16-bit frames More... | |
Private Attributes | |
unsigned short int | theOriginalBuffer [4] |
CSCALCTTrailer2006 | trailer2006 |
CSCALCTTrailer2007 | trailer2007 |
Static Private Attributes | |
static bool | debug =false |
static unsigned short int | firmwareVersion =2006 |
Definition at line 38 of file CSCALCTTrailer.h.
CSCALCTTrailer::CSCALCTTrailer | ( | int | size, |
int | firmVersion | ||
) |
needed for packing
needed for packing
Definition at line 33 of file CSCALCTTrailer.cc.
References firmwareVersion, CSCALCTTrailer2006::setSize(), CSCALCTTrailer2007::setSize(), trailer2006, and trailer2007.
Referenced by CSCALCTTrailer().
CSCALCTTrailer::CSCALCTTrailer | ( | const unsigned short * | buf | ) |
determine the version first
Now fill data
Definition at line 51 of file CSCALCTTrailer.cc.
References firmwareVersion, CSCALCTTrailer2006::sizeInWords(), CSCALCTTrailer2007::sizeInWords(), trailer2006, and trailer2007.
|
inline |
Definition at line 44 of file CSCALCTTrailer.h.
References CSCALCTTrailer(), and CSCALCTStatusDigi::trailer().
|
inline |
Definition at line 108 of file CSCALCTTrailer.h.
References firmwareVersion, CSCALCTTrailer2006::reserved_3, CSCALCTTrailer2007::reserved_3, trailer2006, and trailer2007.
|
inline |
|
inline |
|
inline |
Definition at line 82 of file CSCALCTTrailer.h.
References CSCALCTTrailer2006::e0dLine, CSCALCTTrailer2007::e0dLine, firmwareVersion, trailer2006, and trailer2007.
|
inline |
Definition at line 50 of file CSCALCTTrailer.h.
References firmwareVersion, CSCALCTTrailer2006::sizeInWords(), CSCALCTTrailer2007::sizeInWords(), theOriginalBuffer, trailer2006, and trailer2007.
Referenced by CSCEventData::pack().
|
inline |
|
inline |
Definition at line 69 of file CSCALCTTrailer.h.
References CSCALCTTrailer2006::crc0, CSCALCTTrailer2007::crc0, CSCALCTTrailer2006::crc1, CSCALCTTrailer2007::crc1, firmwareVersion, trailer2006, and trailer2007.
|
inlinestatic |
|
inlinestatic |
in 16-bit frames
Definition at line 67 of file CSCALCTTrailer.h.
Referenced by CSCEventData::checkALCTClasses(), CSCEventData::pack(), and CSCEventData::unpack_data().
|
inline |
Definition at line 95 of file CSCALCTTrailer.h.
References firmwareVersion, CSCALCTTrailer2006::frameCount, CSCALCTTrailer2007::frameCount, trailer2006, and trailer2007.
Referenced by FrameCount(), and cscdqm::EventProcessor::processCSC().
|
staticprivate |
documented in flags http://www.phys.ufl.edu/~madorsky/alctv/alct2000_spec.PDF
Definition at line 127 of file CSCALCTTrailer.h.
Referenced by setDebug().
|
staticprivate |
Definition at line 128 of file CSCALCTTrailer.h.
Referenced by alctCRCCheck(), check(), CSCALCTTrailer(), data(), getCRC(), and wordCount().
|
private |
Definition at line 131 of file CSCALCTTrailer.h.
Referenced by data().
|
private |
Definition at line 129 of file CSCALCTTrailer.h.
Referenced by alctCRCCheck(), alctTrailer2006(), check(), CSCALCTTrailer(), data(), getCRC(), and wordCount().
|
private |
Definition at line 130 of file CSCALCTTrailer.h.
Referenced by alctCRCCheck(), alctTrailer2007(), check(), CSCALCTTrailer(), data(), getCRC(), and wordCount().