3 #ifndef CSCDCCEventData_h
4 #define CSCDCCEventData_h
7 #include <boost/dynamic_bitset.hpp>
41 void addChamber(
CSCEventData & chamber,
int dduID,
int dduSlot,
int dduInput,
int dmbID, uint16_t format_version = 2005);
44 boost::dynamic_bitset<>
pack();
bool check() const
for making events. Sets the bxnum and lvl1num inside the chamber event
CSCDCCHeader theDCCHeader
const std::vector< CSCDDUEventData > & dduData() const
accessor to dduData
CSCDCCTrailer theDCCTrailer
CSCDCCTrailer dccTrailer() const
boost::dynamic_bitset pack()
packs data into bits
static std::atomic< bool > debug
CSCDCCHeader dccHeader() const
std::vector< CSCDDUEventData > theDDUData
static void setDebug(bool value)
void addChamber(CSCEventData &chamber, int dduID, int dduSlot, int dduInput, int dmbID, uint16_t format_version=2005)
CSCDCCEventData(int sourceId, int nDDUs, int bx, int l1a)
void unpack_data(unsigned short *buf, CSCDCCExaminer *examiner=NULL)
std::vector< CSCDDUEventData > & dduData()