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