Classes | |
union | sizes |
class | TCDSBST |
class | TCDSFEDHeader |
class | TCDSHeader |
class | TCDSL1AHistory |
class | TCDSRecord |
Enumerations | |
enum | EvmRecordScheme { BST32_3BX = 34 * SLINK_WORD_SIZE, BST32_5BX = 48 * SLINK_WORD_SIZE, BST52_3BX = 37 * SLINK_WORD_SIZE, BST52_5BX = 51 * SLINK_WORD_SIZE } |
Functions | |
bool | daq_board_sense (const unsigned char *p) |
bool | evm_board_sense (const unsigned char *p, size_t size) |
void | evm_board_setformat (size_t size) |
bool | evm_tcs_board_sense (const unsigned char *p) |
unsigned int | get (const unsigned char *, bool) |
unsigned int | getevtyp (const unsigned char *) |
unsigned int | getfdlbx (const unsigned char *) |
unsigned int | getfdlpsc (const unsigned char *) |
unsigned long long | getfdlta1 (const unsigned char *) |
unsigned long long | getfdlta2 (const unsigned char *) |
unsigned long long | getfdlttr (const unsigned char *) |
unsigned int | getgpshigh (const unsigned char *) |
unsigned int | getgpslow (const unsigned char *) |
unsigned int | getlbn (const unsigned char *) |
unsigned int | getorbit (const unsigned char *) |
bool | gtpe_board_sense (const unsigned char *p) |
unsigned int | gtpe_get (const unsigned char *) |
unsigned int | gtpe_getbx (const unsigned char *) |
unsigned int | gtpe_getlbn (const unsigned char *) |
unsigned int | gtpe_getorbit (const unsigned char *) |
edm::EventAuxiliary | makeEventAuxiliary (TCDSRecord *record, unsigned int runNumber, unsigned int lumiSection, std::string const &processGUID, bool verifyLumiSection) |
unsigned int | offset (bool) |
Variables | |
const unsigned int | DAQ_BOARDID_MASK = 0xffff0000 |
const unsigned int | DAQ_BOARDID_OFFSET = 1 |
const unsigned int | DAQ_BOARDID_SHIFT = 24 |
const unsigned int | DAQ_BOARDID_VALUE = 0x11 |
const unsigned int | DAQ_TOTTRG_OFFSET = 2 |
const unsigned int | EVM_BOARDID_MASK = 0xffff0000 |
const unsigned int | EVM_BOARDID_OFFSET = 1 |
const unsigned int | EVM_BOARDID_SHIFT = 24 |
const unsigned int | EVM_BOARDID_VALUE = 0x11 |
const unsigned int | EVM_FDL_ALGOB1_OFFSET = 4 |
const unsigned int | EVM_FDL_ALGOB2_OFFSET = 6 |
const unsigned int | EVM_FDL_BCNRIN_OFFSET = 1 |
const unsigned int | EVM_FDL_BLOCK = 7 |
const unsigned int | EVM_FDL_PSCVSN_OFFSET = 11 |
const unsigned int | EVM_FDL_TECTRG_OFFSET = 2 |
const unsigned int | EVM_GTFE_BLOCK_V0000 = 6 |
const unsigned int | EVM_GTFE_BLOCK_V0011 = 9 |
const unsigned int | EVM_GTFE_BSTGPS_OFFSET = 4 |
const unsigned int | EVM_TCS_BCNRIN_MASK = 0x00000fff |
const unsigned int | EVM_TCS_BLOCK = 5 |
const unsigned int | EVM_TCS_BOARDID_MASK = 0xffff0000 |
const unsigned int | EVM_TCS_BOARDID_OFFSET = 1 |
const unsigned int | EVM_TCS_BOARDID_SHIFT = 16 |
const unsigned int | EVM_TCS_BOARDID_VALUE = 0xcc07 |
const unsigned int | EVM_TCS_EVNTYP_MASK = 0x00f00000 |
const unsigned int | EVM_TCS_EVNTYP_SHIFT = 20 |
const unsigned int | EVM_TCS_LSBLNR_MASK = 0x0000ffff |
const unsigned int | EVM_TCS_LSBLNR_OFFSET = 0 |
const unsigned int | EVM_TCS_ORBTNR_OFFSET = 6 |
const unsigned int | EVM_TCS_TRIGNR_OFFSET = 5 |
const unsigned int | FED_HEADER_SIZE = SLINK_WORD_SIZE |
const unsigned int | FED_TRAILER_SIZE = SLINK_WORD_SIZE |
const unsigned int | GTPE_BCNRIN_MASK = 0x00000fff |
const unsigned int | GTPE_BCNRIN_OFFSET = 3 |
const unsigned int | GTPE_BOARDID_MASK = 0x000000ff |
const unsigned int | GTPE_BOARDID_OFFSET = 16 |
const unsigned int | GTPE_BOARDID_SHIFT = 0 |
const unsigned int | GTPE_BOARDID_VALUE = 0x1 |
const unsigned int | GTPE_ORBTNR_OFFSET = 18 |
const unsigned int | GTPE_TRIGNR_OFFSET = 14 |
const unsigned int | SLINK_HALFWORD_SIZE = 4 |
const unsigned int | SLINK_WORD_SIZE = 8 |
Enumerator | |
---|---|
BST32_3BX | |
BST32_5BX | |
BST52_3BX | |
BST52_5BX |
Definition at line 19 of file GlobalEventNumber.h.
|
inline |
Definition at line 67 of file GlobalEventNumber.h.
References DAQ_BOARDID_VALUE, evm_board_sense(), evm_board_setformat(), evm_tcs_board_sense(), AlCaHLTBitMon_ParallelJobs::p, findQualityFiles::size, and SLINK_WORD_SIZE.
bool evf::evtn::evm_board_sense | ( | const unsigned char * | p, |
size_t | size | ||
) |
Definition at line 7 of file GlobalEventNumber.cc.
References BST32_3BX, BST32_5BX, BST52_3BX, BST52_5BX, EVM_BOARDID_OFFSET, EVM_BOARDID_SHIFT, EVM_BOARDID_VALUE, EVM_GTFE_BLOCK_V0000, EVM_GTFE_BLOCK_V0011, and SLINK_WORD_SIZE.
Referenced by daq_board_sense(), FedRawDataInputSource::fillFEDRawDataCollection(), and FRDStreamSource::setRunAndEventInfo().
void evf::evtn::evm_board_setformat | ( | size_t | size | ) |
Definition at line 40 of file GlobalEventNumber.cc.
References BST32_3BX, BST32_5BX, BST52_3BX, BST52_5BX, EVM_GTFE_BLOCK_V0000, and EVM_GTFE_BLOCK_V0011.
Referenced by daq_board_sense().
bool evf::evtn::evm_tcs_board_sense | ( | const unsigned char * | p | ) |
Definition at line 32 of file GlobalEventNumber.cc.
References EVM_TCS_BOARDID_OFFSET, EVM_TCS_BOARDID_SHIFT, EVM_TCS_BOARDID_VALUE, and SLINK_WORD_SIZE.
Referenced by daq_board_sense(), and get().
unsigned int evf::evtn::get | ( | const unsigned char * | p, |
bool | evm | ||
) |
Definition at line 73 of file GlobalEventNumber.cc.
References evm_tcs_board_sense(), and offset().
Referenced by FedRawDataInputSource::fillFEDRawDataCollection(), and FRDStreamSource::setRunAndEventInfo().
unsigned int evf::evtn::getevtyp | ( | const unsigned char * | p | ) |
Definition at line 105 of file GlobalEventNumber.cc.
References EVM_TCS_EVNTYP_MASK, EVM_TCS_EVNTYP_SHIFT, EVM_TCS_LSBLNR_OFFSET, and SLINK_WORD_SIZE.
Referenced by gtpe_board_sense().
unsigned int evf::evtn::getfdlbx | ( | const unsigned char * | p | ) |
Definition at line 114 of file GlobalEventNumber.cc.
References EVM_FDL_BCNRIN_OFFSET, EVM_FDL_BLOCK, EVM_TCS_BCNRIN_MASK, EVM_TCS_BLOCK, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.
Referenced by gtpe_board_sense().
unsigned int evf::evtn::getfdlpsc | ( | const unsigned char * | p | ) |
Definition at line 124 of file GlobalEventNumber.cc.
References EVM_FDL_BLOCK, EVM_FDL_PSCVSN_OFFSET, EVM_TCS_BLOCK, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.
Referenced by gtpe_board_sense().
unsigned long long evf::evtn::getfdlta1 | ( | const unsigned char * | p | ) |
Definition at line 136 of file GlobalEventNumber.cc.
References EVM_FDL_ALGOB1_OFFSET, EVM_FDL_BLOCK, EVM_TCS_BLOCK, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.
Referenced by gtpe_board_sense().
unsigned long long evf::evtn::getfdlta2 | ( | const unsigned char * | p | ) |
Definition at line 142 of file GlobalEventNumber.cc.
References EVM_FDL_ALGOB2_OFFSET, EVM_FDL_BLOCK, EVM_TCS_BLOCK, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.
Referenced by gtpe_board_sense().
unsigned long long evf::evtn::getfdlttr | ( | const unsigned char * | p | ) |
Definition at line 130 of file GlobalEventNumber.cc.
References EVM_FDL_BLOCK, EVM_FDL_TECTRG_OFFSET, EVM_TCS_BLOCK, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.
Referenced by gtpe_board_sense().
unsigned int evf::evtn::getgpshigh | ( | const unsigned char * | p | ) |
Definition at line 97 of file GlobalEventNumber.cc.
References EVM_GTFE_BSTGPS_OFFSET, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.
Referenced by FedRawDataInputSource::fillFEDRawDataCollection(), gtpe_board_sense(), and FRDStreamSource::setRunAndEventInfo().
unsigned int evf::evtn::getgpslow | ( | const unsigned char * | p | ) |
Definition at line 93 of file GlobalEventNumber.cc.
References EVM_GTFE_BSTGPS_OFFSET, and SLINK_WORD_SIZE.
Referenced by FedRawDataInputSource::fillFEDRawDataCollection(), gtpe_board_sense(), and FRDStreamSource::setRunAndEventInfo().
unsigned int evf::evtn::getlbn | ( | const unsigned char * | p | ) |
Definition at line 84 of file GlobalEventNumber.cc.
References EVM_TCS_LSBLNR_MASK, EVM_TCS_LSBLNR_OFFSET, and SLINK_WORD_SIZE.
Referenced by gtpe_board_sense().
unsigned int evf::evtn::getorbit | ( | const unsigned char * | p | ) |
Definition at line 101 of file GlobalEventNumber.cc.
References EVM_TCS_ORBTNR_OFFSET, and SLINK_WORD_SIZE.
Referenced by gtpe_board_sense().
|
inline |
Definition at line 75 of file GlobalEventNumber.h.
References getevtyp(), getfdlbx(), getfdlpsc(), getfdlta1(), getfdlta2(), getfdlttr(), getgpshigh(), getgpslow(), getlbn(), getorbit(), gtpe_get(), gtpe_getbx(), gtpe_getlbn(), gtpe_getorbit(), and SLINK_WORD_SIZE.
Referenced by FedRawDataInputSource::fillFEDRawDataCollection(), and FRDStreamSource::setRunAndEventInfo().
unsigned int evf::evtn::gtpe_get | ( | const unsigned char * | p | ) |
Definition at line 80 of file GlobalEventNumber.cc.
References GTPE_TRIGNR_OFFSET, and SLINK_HALFWORD_SIZE.
Referenced by FedRawDataInputSource::fillFEDRawDataCollection(), gtpe_board_sense(), and FRDStreamSource::setRunAndEventInfo().
unsigned int evf::evtn::gtpe_getbx | ( | const unsigned char * | p | ) |
Definition at line 120 of file GlobalEventNumber.cc.
References GTPE_BCNRIN_MASK, GTPE_BCNRIN_OFFSET, and SLINK_HALFWORD_SIZE.
Referenced by gtpe_board_sense().
unsigned int evf::evtn::gtpe_getlbn | ( | const unsigned char * | p | ) |
Definition at line 89 of file GlobalEventNumber.cc.
References gtpe_getorbit().
Referenced by gtpe_board_sense().
unsigned int evf::evtn::gtpe_getorbit | ( | const unsigned char * | p | ) |
Definition at line 110 of file GlobalEventNumber.cc.
References GTPE_ORBTNR_OFFSET, and SLINK_HALFWORD_SIZE.
Referenced by gtpe_board_sense(), and gtpe_getlbn().
edm::EventAuxiliary evf::evtn::makeEventAuxiliary | ( | TCDSRecord * | record, |
unsigned int | runNumber, | ||
unsigned int | lumiSection, | ||
std::string const & | processGUID, | ||
bool | verifyLumiSection | ||
) |
Definition at line 9 of file AuxiliaryMakers.cc.
References evf::evtn::TCDSHeader::tcdsheader::bcid, evf::evtn::TCDSBST::tcdsbst::bst, evf::evtn::TCDSFEDHeader::tcdsfedheader::eventid, evf::evtn::TCDSHeader::tcdsheader::eventNumber, FED_EVTY_EXTRACT, evf::evtn::TCDSBST::getBST(), evf::evtn::TCDSRecord::getBST(), evf::evtn::TCDSFEDHeader::getData(), evf::evtn::TCDSHeader::getData(), evf::evtn::TCDSRecord::getFEDHeader(), evf::evtn::TCDSRecord::getHeader(), evf::evtn::TCDSBST::tcdsbst::gpstimehigh, evf::evtn::TCDSBST::tcdsbst::gpstimelow, evf::evtn::TCDSFEDHeader::tcdsfedheader::header, evf::evtn::TCDSHeader::tcdsheader::header, createfilelist::int, edm::EventAuxiliary::invalidStoreNumber, evf::evtn::TCDSHeader::tcdsheader::lumiSection, evf::evtn::TCDSHeader::tcdsheader::orbitHigh, evf::evtn::TCDSHeader::tcdsheader::orbitLow, and ntuplemaker::time.
Referenced by FedRawDataInputSource::read().
unsigned int evf::evtn::offset | ( | bool | evm | ) |
Definition at line 66 of file GlobalEventNumber.cc.
References DAQ_TOTTRG_OFFSET, EVM_TCS_TRIGNR_OFFSET, and SLINK_WORD_SIZE.
Referenced by get().
const unsigned int evf::evtn::DAQ_BOARDID_MASK = 0xffff0000 |
Definition at line 15 of file GlobalEventNumber.h.
const unsigned int evf::evtn::DAQ_BOARDID_OFFSET = 1 |
Definition at line 14 of file GlobalEventNumber.h.
const unsigned int evf::evtn::DAQ_BOARDID_SHIFT = 24 |
Definition at line 16 of file GlobalEventNumber.h.
const unsigned int evf::evtn::DAQ_BOARDID_VALUE = 0x11 |
Definition at line 17 of file GlobalEventNumber.h.
Referenced by daq_board_sense().
const unsigned int evf::evtn::DAQ_TOTTRG_OFFSET = 2 |
Definition at line 13 of file GlobalEventNumber.h.
Referenced by offset().
const unsigned int evf::evtn::EVM_BOARDID_MASK = 0xffff0000 |
Definition at line 27 of file GlobalEventNumber.h.
const unsigned int evf::evtn::EVM_BOARDID_OFFSET = 1 |
Definition at line 26 of file GlobalEventNumber.h.
Referenced by evm_board_sense(), and DaqFakeReader::fillGTPFED().
const unsigned int evf::evtn::EVM_BOARDID_SHIFT = 24 |
Definition at line 28 of file GlobalEventNumber.h.
Referenced by evm_board_sense(), and DaqFakeReader::fillGTPFED().
const unsigned int evf::evtn::EVM_BOARDID_VALUE = 0x11 |
Definition at line 29 of file GlobalEventNumber.h.
Referenced by evm_board_sense(), and DaqFakeReader::fillGTPFED().
const unsigned int evf::evtn::EVM_FDL_ALGOB1_OFFSET = 4 |
Definition at line 51 of file GlobalEventNumber.h.
Referenced by getfdlta1().
const unsigned int evf::evtn::EVM_FDL_ALGOB2_OFFSET = 6 |
Definition at line 52 of file GlobalEventNumber.h.
Referenced by getfdlta2().
const unsigned int evf::evtn::EVM_FDL_BCNRIN_OFFSET = 1 |
Definition at line 49 of file GlobalEventNumber.h.
Referenced by getfdlbx().
const unsigned int evf::evtn::EVM_FDL_BLOCK = 7 |
Definition at line 48 of file GlobalEventNumber.h.
Referenced by getfdlbx(), getfdlpsc(), getfdlta1(), getfdlta2(), and getfdlttr().
const unsigned int evf::evtn::EVM_FDL_PSCVSN_OFFSET = 11 |
Definition at line 53 of file GlobalEventNumber.h.
Referenced by getfdlpsc().
const unsigned int evf::evtn::EVM_FDL_TECTRG_OFFSET = 2 |
Definition at line 50 of file GlobalEventNumber.h.
Referenced by getfdlttr().
const unsigned int evf::evtn::EVM_GTFE_BLOCK_V0000 = 6 |
Definition at line 31 of file GlobalEventNumber.h.
Referenced by evm_board_sense(), and evm_board_setformat().
const unsigned int evf::evtn::EVM_GTFE_BLOCK_V0011 = 9 |
Definition at line 32 of file GlobalEventNumber.h.
Referenced by evm_board_sense(), and evm_board_setformat().
const unsigned int evf::evtn::EVM_GTFE_BSTGPS_OFFSET = 4 |
Definition at line 33 of file GlobalEventNumber.h.
Referenced by DaqFakeReader::fillGTPFED(), getgpshigh(), and getgpslow().
const unsigned int evf::evtn::EVM_TCS_BCNRIN_MASK = 0x00000fff |
Definition at line 46 of file GlobalEventNumber.h.
Referenced by getfdlbx().
const unsigned int evf::evtn::EVM_TCS_BLOCK = 5 |
Definition at line 36 of file GlobalEventNumber.h.
Referenced by getfdlbx(), getfdlpsc(), getfdlta1(), getfdlta2(), and getfdlttr().
const unsigned int evf::evtn::EVM_TCS_BOARDID_MASK = 0xffff0000 |
Definition at line 42 of file GlobalEventNumber.h.
const unsigned int evf::evtn::EVM_TCS_BOARDID_OFFSET = 1 |
Definition at line 39 of file GlobalEventNumber.h.
Referenced by evm_tcs_board_sense().
const unsigned int evf::evtn::EVM_TCS_BOARDID_SHIFT = 16 |
Definition at line 43 of file GlobalEventNumber.h.
Referenced by evm_tcs_board_sense().
const unsigned int evf::evtn::EVM_TCS_BOARDID_VALUE = 0xcc07 |
Definition at line 35 of file GlobalEventNumber.h.
Referenced by evm_tcs_board_sense().
const unsigned int evf::evtn::EVM_TCS_EVNTYP_MASK = 0x00f00000 |
Definition at line 44 of file GlobalEventNumber.h.
Referenced by getevtyp().
const unsigned int evf::evtn::EVM_TCS_EVNTYP_SHIFT = 20 |
Definition at line 45 of file GlobalEventNumber.h.
Referenced by getevtyp().
const unsigned int evf::evtn::EVM_TCS_LSBLNR_MASK = 0x0000ffff |
Definition at line 41 of file GlobalEventNumber.h.
Referenced by getlbn().
const unsigned int evf::evtn::EVM_TCS_LSBLNR_OFFSET = 0 |
Definition at line 38 of file GlobalEventNumber.h.
Referenced by getevtyp(), and getlbn().
const unsigned int evf::evtn::EVM_TCS_ORBTNR_OFFSET = 6 |
Definition at line 40 of file GlobalEventNumber.h.
Referenced by getorbit().
const unsigned int evf::evtn::EVM_TCS_TRIGNR_OFFSET = 5 |
Definition at line 37 of file GlobalEventNumber.h.
Referenced by DaqFakeReader::fillGTPFED(), and offset().
const unsigned int evf::evtn::FED_HEADER_SIZE = SLINK_WORD_SIZE |
Definition at line 8 of file FEDConstants.h.
const unsigned int evf::evtn::FED_TRAILER_SIZE = SLINK_WORD_SIZE |
Definition at line 9 of file FEDConstants.h.
const unsigned int evf::evtn::GTPE_BCNRIN_MASK = 0x00000fff |
Definition at line 64 of file GlobalEventNumber.h.
Referenced by gtpe_getbx().
const unsigned int evf::evtn::GTPE_BCNRIN_OFFSET = 3 |
Definition at line 63 of file GlobalEventNumber.h.
Referenced by gtpe_getbx().
const unsigned int evf::evtn::GTPE_BOARDID_MASK = 0x000000ff |
Definition at line 58 of file GlobalEventNumber.h.
const unsigned int evf::evtn::GTPE_BOARDID_OFFSET = 16 |
Definition at line 57 of file GlobalEventNumber.h.
const unsigned int evf::evtn::GTPE_BOARDID_SHIFT = 0 |
Definition at line 59 of file GlobalEventNumber.h.
const unsigned int evf::evtn::GTPE_BOARDID_VALUE = 0x1 |
Definition at line 60 of file GlobalEventNumber.h.
const unsigned int evf::evtn::GTPE_ORBTNR_OFFSET = 18 |
Definition at line 62 of file GlobalEventNumber.h.
Referenced by gtpe_getorbit().
const unsigned int evf::evtn::GTPE_TRIGNR_OFFSET = 14 |
Definition at line 61 of file GlobalEventNumber.h.
Referenced by gtpe_get().
const unsigned int evf::evtn::SLINK_HALFWORD_SIZE = 4 |
Definition at line 7 of file FEDConstants.h.
Referenced by DaqFakeReader::fillGTPFED(), getfdlbx(), getfdlpsc(), getfdlta1(), getfdlta2(), getfdlttr(), getgpshigh(), gtpe_get(), gtpe_getbx(), and gtpe_getorbit().
const unsigned int evf::evtn::SLINK_WORD_SIZE = 8 |
Definition at line 6 of file FEDConstants.h.
Referenced by daq_board_sense(), evm_board_sense(), evm_tcs_board_sense(), DaqFakeReader::fillGTPFED(), getevtyp(), getfdlbx(), getfdlpsc(), getfdlta1(), getfdlta2(), getfdlttr(), getgpshigh(), getgpslow(), getlbn(), getorbit(), gtpe_board_sense(), and offset().