Go to the documentation of this file. 1 #ifndef EventFilter_CSCRawToDigi_CSCDDUEventData_h
2 #define EventFilter_CSCRawToDigi_CSCDDUEventData_h
17 #include <boost/dynamic_bitset.hpp>
43 void add(
CSCEventData &,
int dmbId,
int dduInput,
unsigned int format_version = 2005);
58 boost::dynamic_bitset<>
pack();
CSCDDUTrailer theDDUTrailer
CSCDCCHeader theDCCHeader
const std::vector< CSCEventData > & cscData() const
accessor to data
static void setErrorMask(unsigned int value)
CSCDDUEventData(const CSCDDUHeader &)
static std::atomic< bool > debug
static void setDebug(bool value)
CSCDDUHeader header() const
boost::dynamic_bitset pack()
Alex check this 16 or 64.
CSCDCCTrailer theDCCTrailer
CSCDDUTrailer trailer() const
long unsigned int errorstat
trailer info
uint16_t trailer0() const
CSCDCCTrailer dccTrailer() const
void unpack_data(const uint16_t *buf, CSCDCCExaminer *examiner=nullptr)
a good test routine would be to unpack data, then pack it again.
CSCDDUHeader theDDUHeader
static std::atomic< unsigned int > errMask
CSCDCCHeader dccHeader() const
uint16_t theFormatVersion
void add(CSCEventData &, int dmbId, int dduInput, unsigned int format_version=2005)
for making events. Sets the bxnum and lvl1num inside the chamber event
void decodeStatus() const
std::vector< CSCEventData > theData