#include <CSCChamberDataItr.h>
Public Member Functions | |
CSCChamberDataItr (const char *buf) | |
bool | next () |
const CSCEventData & | operator* () |
~CSCChamberDataItr () | |
Private Member Functions | |
void | constructFromDCC (const CSCDCCEventData &) |
for DCC data. More... | |
void | constructFromDDU (const CSCDDUEventData &) |
for DDU-only data More... | |
void | initDDU () |
sets theDDU & theNumberOfCSCs More... | |
Private Attributes | |
unsigned | theCurrentDDU |
const CSCDCCEventData * | theDCCData |
make a new vector of DDUs (length 1). More... | |
CSCDDUDataItr * | theDDUItr |
unsigned | theNumberOfDDUs |
Definition at line 15 of file CSCChamberDataItr.h.
CSCChamberDataItr::CSCChamberDataItr | ( | const char * | buf | ) |
construct from data buffer. Will figure out whether it's DCC or DDU
Definition at line 4 of file CSCChamberDataItr.cc.
References CSCDCCHeader::check(), CSCDCCEventData::dduData(), theCurrentDDU, theDCCData, theDDUItr, and theNumberOfDDUs.
CSCChamberDataItr::~CSCChamberDataItr | ( | ) |
Definition at line 26 of file CSCChamberDataItr.cc.
References theDCCData.
|
private |
for DCC data.
|
private |
for DDU-only data
|
private |
sets theDDU & theNumberOfCSCs
bool CSCChamberDataItr::next | ( | void | ) |
Definition at line 33 of file CSCChamberDataItr.cc.
References assert(), CSCDCCEventData::dduData(), CSCDDUDataItr::next(), mps_fire::result, theCurrentDDU, theDCCData, theDDUItr, and theNumberOfDDUs.
Referenced by BeautifulSoup.PageElement::_invert().
const CSCEventData & CSCChamberDataItr::operator* | ( | void | ) |
|
private |
Definition at line 41 of file CSCChamberDataItr.h.
Referenced by CSCChamberDataItr(), and next().
|
private |
make a new vector of DDUs (length 1).
a little confusing here. This class will either own theDCCData, in which case the DDUs points inside it,
Definition at line 39 of file CSCChamberDataItr.h.
Referenced by CSCChamberDataItr(), next(), and ~CSCChamberDataItr().
|
private |
Definition at line 40 of file CSCChamberDataItr.h.
Referenced by CSCChamberDataItr(), next(), and operator*().
|
private |
Definition at line 42 of file CSCChamberDataItr.h.
Referenced by CSCChamberDataItr(), and next().