#include <CSCDMBHeader.h>
Public Member Functions | |
unsigned | activeDavMismatch () const |
void | addCFEB (int icfeb) |
void | addNALCT () |
void | addNCLCT () |
unsigned | bxn () const |
unsigned | bxn12 () const |
unsigned | cfebActive () const |
bool | cfebAvailable (unsigned icfeb) |
counts from zero More... | |
unsigned | cfebAvailable () const |
unsigned | cfebMovlp () const |
bool | check () const |
unsigned | crateID () const |
CSCDMBHeader () | |
CSCDMBHeader (unsigned short *buf) | |
CSCDMBHeader (const CSCDMBStatusDigi &digi) | |
unsigned short * | data () |
unsigned short * | data () const |
unsigned | dmbCfebSync () const |
unsigned | dmbID () const |
unsigned | l1a () const |
unsigned | nalct () const |
unsigned | nclct () const |
void | setBXN (int bxn) |
void | setCrateAddress (int crate, int dmbId) |
void | setdmbID (int newDMBID) |
void | setL1A (int l1a) |
unsigned | sizeInWords () const |
Private Attributes | |
unsigned | active_dav_mismatch: 1 |
unsigned | active_dav_mismatch_2: 1 |
unsigned | active_dav_mismatch_3: 1 |
unsigned | alct_dav_1: 1 |
unsigned | alct_dav_2: 1 |
unsigned | alct_dav_4: 1 |
unsigned | cfeb_active: 5 |
unsigned | cfeb_dav: 5 |
unsigned | cfeb_dav_1: 5 |
unsigned | cfeb_movlp: 5 |
unsigned | ddu_code_1: 4 |
constant, should be '1010' More... | |
unsigned | ddu_code_2: 4 |
constant, should be '1010' More... | |
unsigned | ddu_code_3: 4 |
constant, should be '1010' More... | |
unsigned | ddu_code_4: 4 |
constant, should be '1010' More... | |
unsigned | dmb_bxn: 7 |
unsigned | dmb_bxn1: 12 |
unsigned | dmb_cfeb_sync: 4 |
unsigned | dmb_crate: 8 |
unsigned | dmb_id: 4 |
unsigned | dmb_l1a: 8 |
unsigned | dmb_l1a_copy1: 12 |
unsigned | dmb_l1a_copy2: 12 |
unsigned | newddu_code_1: 4 |
constant, should be 1001 More... | |
unsigned | newddu_code_2: 4 |
constant, should be 1001 More... | |
unsigned | newddu_code_3: 4 |
constant, should be 1001 More... | |
unsigned | newddu_code_4: 4 |
constant, should be 1001 More... | |
unsigned | tmb_dav_1: 1 |
unsigned | tmb_dav_2: 1 |
unsigned | tmb_dav_4: 1 |
Definition at line 9 of file CSCDMBHeader.h.
CSCDMBHeader::CSCDMBHeader | ( | ) |
Definition at line 5 of file CSCDMBHeader.cc.
References ddu_code_1, ddu_code_2, ddu_code_3, ddu_code_4, newddu_code_1, newddu_code_2, newddu_code_3, newddu_code_4, and sizeInWords().
CSCDMBHeader::CSCDMBHeader | ( | unsigned short * | buf | ) |
|
inline |
Definition at line 16 of file CSCDMBHeader.h.
References CSCDMBStatusDigi::header(), and sizeInWords().
unsigned CSCDMBHeader::activeDavMismatch | ( | ) | const |
void CSCDMBHeader::addCFEB | ( | int | icfeb | ) |
Definition at line 109 of file CSCDMBHeader.cc.
References cfeb_dav.
Referenced by CSCEventData::add().
void CSCDMBHeader::addNALCT | ( | ) |
Definition at line 120 of file CSCDMBHeader.cc.
References alct_dav_1, alct_dav_2, and alct_dav_4.
Referenced by CSCEventData::checkALCTClasses().
void CSCDMBHeader::addNCLCT | ( | ) |
Definition at line 115 of file CSCDMBHeader.cc.
References tmb_dav_1, tmb_dav_2, and tmb_dav_4.
Referenced by CSCEventData::checkTMBClasses().
unsigned CSCDMBHeader::bxn | ( | ) | const |
Definition at line 61 of file CSCDMBHeader.cc.
References dmb_bxn.
Referenced by setBXN(), CSCTMBHeader2006::setEventInformation(), CSCTMBHeader2007::setEventInformation(), CSCTMBHeader2007_rev0x50c3::setEventInformation(), CSCALCTHeader2006::setEventInformation(), and CSCALCTHeader2007::setEventInformation().
unsigned CSCDMBHeader::bxn12 | ( | ) | const |
Definition at line 66 of file CSCDMBHeader.cc.
References dmb_bxn1.
Referenced by cscdqm::EventProcessor::processCSC().
|
inline |
Definition at line 31 of file CSCDMBHeader.h.
References cfeb_active.
Referenced by cscdqm::EventProcessor::processCSC().
bool CSCDMBHeader::cfebAvailable | ( | unsigned | icfeb | ) |
counts from zero
Definition at line 103 of file CSCDMBHeader.cc.
References cfebAvailable().
Referenced by cscdqm::EventProcessor::processCSC(), and CSCEventData::unpack_data().
unsigned CSCDMBHeader::cfebAvailable | ( | ) | const |
unsigned CSCDMBHeader::cfebMovlp | ( | ) | const |
Definition at line 18 of file CSCDMBHeader.cc.
References cfeb_movlp.
Referenced by cscdqm::EventProcessor::processCSC().
bool CSCDMBHeader::check | ( | ) | const |
Definition at line 126 of file CSCDMBHeader.cc.
References ddu_code_1, ddu_code_2, ddu_code_3, ddu_code_4, newddu_code_1, newddu_code_2, newddu_code_3, and newddu_code_4.
Referenced by CSCEventData::unpack_data().
unsigned CSCDMBHeader::crateID | ( | ) | const |
Definition at line 51 of file CSCDMBHeader.cc.
References dmb_crate.
Referenced by cscdqm::EventProcessor::processCSC().
|
inline |
Definition at line 48 of file CSCDMBHeader.h.
Referenced by cuy.FindIssue::__init__(), and CSCEventData::pack().
|
inline |
Definition at line 49 of file CSCDMBHeader.h.
Referenced by cuy.FindIssue::__init__().
unsigned CSCDMBHeader::dmbCfebSync | ( | ) | const |
Definition at line 24 of file CSCDMBHeader.cc.
References dmb_cfeb_sync.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBHeader::dmbID | ( | ) | const |
Definition at line 56 of file CSCDMBHeader.cc.
References dmb_id.
Referenced by cscdqm::EventProcessor::processCSC(), CSCTMBHeader2007_rev0x50c3::setEventInformation(), CSCTMBHeader2007::setEventInformation(), CSCTMBHeader2006::setEventInformation(), and CSCALCTHeader2006::setEventInformation().
unsigned CSCDMBHeader::l1a | ( | ) | const |
Definition at line 74 of file CSCDMBHeader.cc.
References dmb_l1a.
Referenced by cscdqm::EventProcessor::processCSC(), CSCTMBHeader2007_rev0x50c3::setEventInformation(), CSCTMBHeader2006::setEventInformation(), CSCTMBHeader2007::setEventInformation(), CSCALCTHeader2006::setEventInformation(), CSCALCTHeader2007::setEventInformation(), and setL1A().
unsigned CSCDMBHeader::nalct | ( | ) | const |
Definition at line 41 of file CSCDMBHeader.cc.
References alct_dav_1.
Referenced by CSCEventData::nalct(), and cscdqm::EventProcessor::processCSC().
unsigned CSCDMBHeader::nclct | ( | ) | const |
Definition at line 46 of file CSCDMBHeader.cc.
References tmb_dav_1.
Referenced by CSCEventData::nclct(), and cscdqm::EventProcessor::processCSC().
void CSCDMBHeader::setBXN | ( | int | bxn | ) |
Definition at line 85 of file CSCDMBHeader.cc.
References bxn(), and dmb_bxn.
Referenced by CSCEventData::setEventInformation().
void CSCDMBHeader::setCrateAddress | ( | int | crate, |
int | dmbId | ||
) |
Definition at line 91 of file CSCDMBHeader.cc.
References dmb_crate, and dmb_id.
Referenced by CSCDigiToRaw::findEventData().
|
inline |
Definition at line 29 of file CSCDMBHeader.h.
References dmb_id.
Referenced by CSCDDUEventData::add().
void CSCDMBHeader::setL1A | ( | int | l1a | ) |
Definition at line 80 of file CSCDMBHeader.cc.
References dmb_l1a, and l1a().
Referenced by CSCEventData::setEventInformation().
unsigned CSCDMBHeader::sizeInWords | ( | ) | const |
Definition at line 97 of file CSCDMBHeader.cc.
Referenced by CSCDMBHeader(), CSCEventData::pack(), and CSCEventData::unpack_data().
|
private |
Definition at line 78 of file CSCDMBHeader.h.
Referenced by activeDavMismatch().
|
private |
Definition at line 80 of file CSCDMBHeader.h.
|
private |
Definition at line 82 of file CSCDMBHeader.h.
|
private |
Definition at line 77 of file CSCDMBHeader.h.
Referenced by addNALCT(), and nalct().
|
private |
Definition at line 81 of file CSCDMBHeader.h.
Referenced by addNALCT().
|
private |
Definition at line 66 of file CSCDMBHeader.h.
Referenced by addNALCT().
|
private |
Definition at line 65 of file CSCDMBHeader.h.
Referenced by cfebActive().
|
private |
Definition at line 76 of file CSCDMBHeader.h.
Referenced by addCFEB(), and cfebAvailable().
|
private |
Definition at line 64 of file CSCDMBHeader.h.
|
private |
the time sample for this event has multiple overlaps with samples from previous events
Definition at line 98 of file CSCDMBHeader.h.
Referenced by cfebMovlp().
|
private |
constant, should be '1010'
Definition at line 85 of file CSCDMBHeader.h.
Referenced by check(), and CSCDMBHeader().
|
private |
constant, should be '1010'
Definition at line 90 of file CSCDMBHeader.h.
Referenced by check(), and CSCDMBHeader().
|
private |
constant, should be '1010'
Definition at line 100 of file CSCDMBHeader.h.
Referenced by check(), and CSCDMBHeader().
|
private |
constant, should be '1010'
Definition at line 105 of file CSCDMBHeader.h.
Referenced by check(), and CSCDMBHeader().
|
private |
Definition at line 95 of file CSCDMBHeader.h.
|
private |
Definition at line 72 of file CSCDMBHeader.h.
Referenced by bxn12().
|
private |
Definition at line 103 of file CSCDMBHeader.h.
Referenced by dmbCfebSync().
|
private |
Definition at line 88 of file CSCDMBHeader.h.
Referenced by crateID(), and setCrateAddress().
|
private |
Definition at line 87 of file CSCDMBHeader.h.
Referenced by dmbID(), setCrateAddress(), and setdmbID().
|
private |
Definition at line 102 of file CSCDMBHeader.h.
|
private |
Definition at line 60 of file CSCDMBHeader.h.
|
private |
Definition at line 56 of file CSCDMBHeader.h.
|
private |
constant, should be 1001
Definition at line 58 of file CSCDMBHeader.h.
Referenced by check(), and CSCDMBHeader().
|
private |
constant, should be 1001
Definition at line 62 of file CSCDMBHeader.h.
Referenced by check(), and CSCDMBHeader().
|
private |
constant, should be 1001
Definition at line 69 of file CSCDMBHeader.h.
Referenced by check(), and CSCDMBHeader().
|
private |
constant, should be 1001
Definition at line 74 of file CSCDMBHeader.h.
Referenced by check(), and CSCDMBHeader().
|
private |
Definition at line 79 of file CSCDMBHeader.h.
Referenced by addNCLCT(), and nclct().
|
private |
Definition at line 83 of file CSCDMBHeader.h.
Referenced by addNCLCT().
|
private |
Definition at line 67 of file CSCDMBHeader.h.
Referenced by addNCLCT().