3 #ifndef CSCDCCEventData_h 4 #define CSCDCCEventData_h 7 #include <boost/dynamic_bitset.hpp> 41 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)
std::vector< CSCDDUEventData > & dduData()
void unpack_data(const uint16_t *buf, CSCDCCExaminer *examiner=0)