01/20/05 A.Tumanov More...
#include <CSCDCCEventData.h>
Public Member Functions | |
void | addChamber (CSCEventData &chamber, int dduID, int dduSlot, int dduInput, int dmbID) |
bool | check () const |
for making events. Sets the bxnum and lvl1num inside the chamber event More... | |
CSCDCCEventData (int sourceId, int nDDUs, int bx, int l1a) | |
CSCDCCEventData (unsigned short *buf, CSCDCCExaminer *examiner=NULL) | |
CSCDCCHeader | dccHeader () const |
CSCDCCTrailer | dccTrailer () const |
const std::vector < CSCDDUEventData > & | dduData () const |
accessor to dduData More... | |
std::vector< CSCDDUEventData > & | dduData () |
boost::dynamic_bitset | pack () |
packs data into bits More... | |
int | sizeInWords () const |
~CSCDCCEventData () | |
Static Public Member Functions | |
static void | setDebug (bool value) |
Static Public Attributes | |
static bool | debug = false |
Protected Member Functions | |
void | unpack_data (unsigned short *buf, CSCDCCExaminer *examiner=NULL) |
Protected Attributes | |
CSCDCCHeader | theDCCHeader |
CSCDCCTrailer | theDCCTrailer |
std::vector< CSCDDUEventData > | theDDUData |
int | theSizeInWords |
01/20/05 A.Tumanov
Definition at line 13 of file CSCDCCEventData.h.
CSCDCCEventData::CSCDCCEventData | ( | int | sourceId, |
int | nDDUs, | ||
int | bx, | ||
int | l1a | ||
) |
Definition at line 17 of file CSCDCCEventData.cc.
References theDDUData.
|
explicit |
buf may need to stay pinned in memory as long as this data is used. Not sure
Definition at line 23 of file CSCDCCEventData.cc.
References unpack_data().
CSCDCCEventData::~CSCDCCEventData | ( | ) |
Definition at line 28 of file CSCDCCEventData.cc.
void CSCDCCEventData::addChamber | ( | CSCEventData & | chamber, |
int | dduID, | ||
int | dduSlot, | ||
int | dduInput, | ||
int | dmbID | ||
) |
Definition at line 106 of file CSCDCCEventData.cc.
References dccHeader(), i, CSCDCCHeader::setDAV(), and theDDUData.
bool CSCDCCEventData::check | ( | ) | const |
for making events. Sets the bxnum and lvl1num inside the chamber event
Definition at line 94 of file CSCDCCEventData.cc.
References CSCDCCHeader::check(), CSCDCCTrailer::check(), debug, LogTrace, sizeInWords(), theDCCHeader, and theDCCTrailer.
|
inline |
Definition at line 28 of file CSCDCCEventData.h.
References theDCCHeader.
Referenced by addChamber().
|
inline |
|
inline |
accessor to dduData
Definition at line 25 of file CSCDCCEventData.h.
References theDDUData.
Referenced by CSCChamberDataItr::CSCChamberDataItr(), CSCOfflineMonitor::doBXMonitor(), CSCValidation::doTimeMonitoring(), and CSCChamberDataItr::next().
|
inline |
Definition at line 26 of file CSCDCCEventData.h.
References theDDUData.
boost::dynamic_bitset CSCDCCEventData::pack | ( | ) |
packs data into bits
Definition at line 129 of file CSCDCCEventData.cc.
References bitset_utilities::append(), CSCDCCHeader::data(), CSCDCCTrailer::data(), dccTrailer(), i, query::result, CSCDCCHeader::sizeInWords(), CSCDCCTrailer::sizeInWords(), theDCCHeader, theDCCTrailer, theDDUData, and bitset_utilities::ushortToBitset().
Referenced by pyrootRender.interactiveRender::draw().
|
inlinestatic |
Definition at line 22 of file CSCDCCEventData.h.
References debug, and relativeConstraints::value.
Referenced by CSCDCCUnpacker::CSCDCCUnpacker().
|
inline |
prints out the error associated with this status from the header or trailer
Definition at line 39 of file CSCDCCEventData.h.
References theSizeInWords.
Referenced by check().
|
protected |
loop over DDUEventDatas
Definition at line 33 of file CSCDCCEventData.cc.
References CSCDCCTrailer::check(), CSCDDUEventData::check(), debug, LogTrace, CSCDCCHeader::sizeInWords(), CSCDCCTrailer::sizeInWords(), CSCDDUEventData::sizeInWords(), theDCCHeader, theDCCTrailer, and theDDUData.
Referenced by CSCDCCEventData().
|
static |
Definition at line 46 of file CSCDCCEventData.h.
Referenced by check(), pkg.AbstractPkg::generate(), pkg.AbstractPkg::get_kwds(), setDebug(), unpack_data(), and pkg.AbstractPkg::write().
|
protected |
Definition at line 51 of file CSCDCCEventData.h.
Referenced by check(), dccHeader(), pack(), and unpack_data().
|
protected |
Definition at line 54 of file CSCDCCEventData.h.
Referenced by check(), dccTrailer(), pack(), and unpack_data().
|
protected |
Definition at line 53 of file CSCDCCEventData.h.
Referenced by addChamber(), CSCDCCEventData(), dduData(), pack(), and unpack_data().
|
protected |
Definition at line 55 of file CSCDCCEventData.h.
Referenced by sizeInWords().