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