3 #ifndef EventFilter_CSCRawToDigi_CSCDCCEventData_h 4 #define EventFilter_CSCRawToDigi_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();
CSCDCCHeader theDCCHeader
CSCDCCTrailer theDCCTrailer
boost::dynamic_bitset pack()
packs data into bits
static std::atomic< bool > debug
const std::vector< CSCDDUEventData > & dduData() const
accessor to dduData
void unpack_data(const uint16_t *buf, CSCDCCExaminer *examiner=nullptr)
std::vector< CSCDDUEventData > theDDUData
static void setDebug(bool value)
bool check() const
for making events. Sets the bxnum and lvl1num inside the chamber event
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)
CSCDCCTrailer dccTrailer() const
std::vector< CSCDDUEventData > & dduData()
CSCDCCHeader dccHeader() const