#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 () |
void | setCRC (unsigned int crc) |
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 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.
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 61 of file CSCALCTTrailer.cc.
References firmwareVersion, CSCALCTTrailer2006::sizeInWords(), CSCALCTTrailer2007::sizeInWords(), trailer2006, and trailer2007.
|
inline |
Definition at line 49 of file CSCALCTTrailer.h.
References CSCALCTTrailer(), and CSCALCTStatusDigi::trailer().
|
inline |
Definition at line 149 of file CSCALCTTrailer.h.
References firmwareVersion, CSCALCTTrailer2006::reserved_3, CSCALCTTrailer2007::reserved_3, trailer2006, and trailer2007.
|
inline |
|
inline |
|
inline |
Definition at line 115 of file CSCALCTTrailer.h.
References CSCALCTTrailer2006::e0dLine, CSCALCTTrailer2007::e0dLine, firmwareVersion, trailer2006, and trailer2007.
|
inline |
Definition at line 55 of file CSCALCTTrailer.h.
References firmwareVersion, CSCALCTTrailer2006::sizeInWords(), CSCALCTTrailer2007::sizeInWords(), theOriginalBuffer, trailer2006, and trailer2007.
Referenced by cuy.FindIssue::__init__(), and CSCEventData::pack().
|
inline |
|
inline |
Definition at line 98 of file CSCALCTTrailer.h.
References CSCALCTTrailer2006::crc0, CSCALCTTrailer2007::crc0, CSCALCTTrailer2006::crc1, CSCALCTTrailer2007::crc1, firmwareVersion, trailer2006, and trailer2007.
|
inline |
Definition at line 78 of file CSCALCTTrailer.h.
References firmwareVersion, CSCALCTTrailer2006::setCRC(), CSCALCTTrailer2007::setCRC(), trailer2006, and trailer2007.
Referenced by CSCEventData::pack().
|
inlinestatic |
|
inlinestatic |
in 16-bit frames
Definition at line 76 of file CSCALCTTrailer.h.
Referenced by CSCEventData::checkALCTClasses(), CSCEventData::pack(), and CSCEventData::unpack_data().
|
inline |
Definition at line 132 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 177 of file CSCALCTTrailer.h.
Referenced by util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), rrapi.RRApi::get(), util.rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), setDebug(), and pkg.AbstractPkg::write().
|
staticprivate |
Definition at line 178 of file CSCALCTTrailer.h.
Referenced by alctCRCCheck(), check(), CSCALCTTrailer(), data(), getCRC(), setCRC(), and wordCount().
|
private |
Definition at line 183 of file CSCALCTTrailer.h.
Referenced by data().
|
private |
Definition at line 181 of file CSCALCTTrailer.h.
Referenced by alctCRCCheck(), alctTrailer2006(), check(), CSCALCTTrailer(), data(), getCRC(), setCRC(), and wordCount().
|
private |
Definition at line 182 of file CSCALCTTrailer.h.
Referenced by alctCRCCheck(), alctTrailer2007(), check(), CSCALCTTrailer(), data(), getCRC(), setCRC(), and wordCount().