#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 53 of file CSCALCTTrailer.h.
CSCALCTTrailer::CSCALCTTrailer | ( | int | size, |
int | firmVersion | ||
) |
needed for packing
needed for packing
Definition at line 39 of file CSCALCTTrailer.cc.
References firmwareVersion, CSCALCTTrailer2006::setSize(), CSCALCTTrailer2007::setSize(), findQualityFiles::size, trailer2006, and trailer2007.
CSCALCTTrailer::CSCALCTTrailer | ( | const unsigned short * | buf | ) |
determine the version first
Now fill data
Definition at line 52 of file CSCALCTTrailer.cc.
References visDQMUpload::buf, firmwareVersion, CSCALCTTrailer2006::setFromBuffer(), CSCALCTTrailer2007::setFromBuffer(), trailer2006, and trailer2007.
|
inline |
Definition at line 58 of file CSCALCTTrailer.h.
References CSCALCTTrailer(), and CSCALCTStatusDigi::trailer().
Referenced by CSCALCTTrailer().
|
inline |
Definition at line 151 of file CSCALCTTrailer.h.
References firmwareVersion, CSCALCTTrailer2006::reserved_3, CSCALCTTrailer2007::reserved_3, trailer2006, and trailer2007.
|
inline |
|
inline |
|
inline |
Definition at line 119 of file CSCALCTTrailer.h.
References CSCALCTTrailer2006::e0dLine, CSCALCTTrailer2007::e0dLine, firmwareVersion, trailer2006, and trailer2007.
|
inline |
Definition at line 62 of file CSCALCTTrailer.h.
References firmwareVersion, CSCALCTTrailer2006::sizeInWords(), CSCALCTTrailer2007::sizeInWords(), theOriginalBuffer, trailer2006, and trailer2007.
Referenced by CSCEventData::pack().
|
inline |
|
inline |
Definition at line 103 of file CSCALCTTrailer.h.
References CSCALCTTrailer2006::crc0, CSCALCTTrailer2007::crc0, CSCALCTTrailer2006::crc1, CSCALCTTrailer2007::crc1, firmwareVersion, trailer2006, and trailer2007.
|
inline |
Definition at line 85 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 83 of file CSCALCTTrailer.h.
Referenced by CSCEventData::checkALCTClasses(), CSCEventData::pack(), and CSCEventData::unpack_data().
|
inline |
Definition at line 135 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(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), runTauIdMVA.TauIDEmbedder::runTauID(), 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().