Class to contain information from TCDS FED. More...
#include <TCDSRecord.h>
Public Types | |
typedef std::bitset< 96 > | ActivePartitions |
enum | BGo { LumiNibble = 0, BC0 = 1, TestEnable = 2, PrivateGap = 3, PrivateOrbit = 4, Resync = 5, HardReset = 6, EC0 = 7, OC0 = 8, Start = 9, Stop = 10, StartOfGap = 11, WarningTestEnable = 13 } |
enum | BSTstatus { Unknown = 0x00000000, Reset = 0x0000dead, Unlocked = 0xfa11010c, NoData = 0xfa110acc, Okay = 0x0000bea0 } |
typedef std::vector< L1aInfo > | L1aHistory |
Public Member Functions | |
ActivePartitions | getActivePartitions () const |
const BSTRecord & | getBST () const |
uint32_t | getBstReceptionStatus () const |
uint16_t | getBXID () const |
uint64_t | getEventNumber () const |
uint16_t | getEventType () const |
const L1aHistory & | getFullL1aHistory () const |
uint32_t | getFwVersion () const |
uint16_t | getInputs () const |
const L1aInfo & | getL1aHistoryEntry (const uint8_t entry) const |
uint32_t | getLastEventCounter0 () const |
uint32_t | getLastHardReset () const |
uint32_t | getLastOrbitCounter0 () const |
uint32_t | getLastResync () const |
uint32_t | getLastStart () const |
uint32_t | getLastTestEnable () const |
uint32_t | getLumiSection () const |
uint64_t | getMacAddress () const |
uint32_t | getNibble () const |
uint16_t | getNibblesPerLumiSection () const |
uint64_t | getOrbitNr () const |
uint32_t | getOrbitOfLastBgo (const uint16_t bgo) const |
uint32_t | getRecordVersion () const |
uint32_t | getRunNumber () const |
uint32_t | getSwVersion () const |
uint64_t | getTriggerCount () const |
uint16_t | getTriggerTypeFlags () const |
TCDSRecord () | |
TCDSRecord (const unsigned char *rawData) | |
virtual | ~TCDSRecord () |
Private Attributes | |
ActivePartitions | activePartitions_ |
BSTRecord | bst_ |
uint32_t | bstReceptionStatus_ |
uint16_t | bxid_ |
uint64_t | eventNumber_ |
uint16_t | eventType_ |
uint32_t | fwVersion_ |
uint16_t | inputs_ |
L1aHistory | l1aHistory_ |
std::vector< uint32_t > | lastBgos_ |
uint32_t | lumiSection_ |
uint64_t | macAddress_ |
uint32_t | nibble_ |
uint16_t | nibblesPerLumiSection_ |
uint64_t | orbitNr_ |
uint32_t | recordVersion_ |
uint32_t | runNumber_ |
uint32_t | swVersion_ |
uint64_t | triggerCount_ |
uint16_t | triggerTypeFlags_ |
Class to contain information from TCDS FED.
Definition at line 21 of file TCDSRecord.h.
typedef std::bitset<96> TCDSRecord::ActivePartitions |
Definition at line 107 of file TCDSRecord.h.
typedef std::vector<L1aInfo> TCDSRecord::L1aHistory |
Definition at line 111 of file TCDSRecord.h.
enum TCDSRecord::BGo |
Enumerator | |
---|---|
LumiNibble | |
BC0 | |
TestEnable | |
PrivateGap | |
PrivateOrbit | |
Resync | |
HardReset | |
EC0 | |
OC0 | |
Start | |
Stop | |
StartOfGap | |
WarningTestEnable |
Definition at line 25 of file TCDSRecord.h.
Enumerator | |
---|---|
Unknown | |
Reset | |
Unlocked | |
NoData | |
Okay |
Definition at line 41 of file TCDSRecord.h.
TCDSRecord::TCDSRecord | ( | ) |
Definition at line 8 of file TCDSRecord.cc.
TCDSRecord::TCDSRecord | ( | const unsigned char * | rawData | ) |
Definition at line 28 of file TCDSRecord.cc.
References tcds::Header_v1::activePartitions0, tcds::Header_v1::activePartitions1, tcds::Header_v1::activePartitions2, activePartitions_, tcds::bgoCount_v1, tcds::Raw_v1::bgoHistory, tcds::Raw_v1::bst, bst_, tcds::Header_v1::bstReceptionStatus, bstReceptionStatus_, tcds::Header_v1::bxid, bxid_, tcds::Header_v1::eventNumber, eventNumber_, eventType_, tcds::Header_v1::fwVersion, fwVersion_, tcds::Raw_v1::header, mps_fire::i, tcds::Header_v1::inputs, inputs_, tcds::Raw_v1::l1aHistory, l1aHistory_, tcds::l1aHistoryDepth_v1, tcds::L1aHistory_v1::l1aInfo, tcds::BGoHistory_v1::lastBGo, lastBgos_, FEDHeader::length, tcds::Header_v1::lumiSection, lumiSection_, tcds::Header_v1::macAddress, macAddress_, tcds::Header_v1::nibble, nibble_, tcds::Header_v1::nibblesPerLumiSection, nibblesPerLumiSection_, tcds::Header_v1::orbitHigh, tcds::LastBGo_v1::orbithigh, tcds::Header_v1::orbitLow, tcds::LastBGo_v1::orbitlow, orbitNr_, tcds::Header_v1::recordVersion, recordVersion_, tcds::Header_v1::runNumber, runNumber_, tcds::Header_v1::swVersion, swVersion_, tcds::Header_v1::triggerCount, triggerCount_, FEDHeader::triggerType(), tcds::Header_v1::triggerTypeFlags, and triggerTypeFlags_.
|
virtual |
Definition at line 69 of file TCDSRecord.cc.
|
inline |
Definition at line 108 of file TCDSRecord.h.
References activePartitions_.
Referenced by operator<<().
|
inline |
Definition at line 104 of file TCDSRecord.h.
References bst_.
Referenced by ECALpedestalPCLworker::analyze(), DQMProvInfo::analyzeLhcInfo(), ecaldqm::TrigPrimTask::beginEvent(), and operator<<().
|
inline |
Definition at line 101 of file TCDSRecord.h.
References bstReceptionStatus_.
Referenced by operator<<().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 75 of file TCDSRecord.h.
References nibblesPerLumiSection_.
Referenced by operator<<().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 95 of file TCDSRecord.h.
References triggerCount_.
Referenced by L1TValidationEventFilter::filter(), and operator<<().
|
inline |
Definition at line 83 of file TCDSRecord.h.
References triggerTypeFlags_.
Referenced by operator<<().
|
private |
Definition at line 156 of file TCDSRecord.h.
Referenced by getActivePartitions(), and TCDSRecord().
|
private |
Definition at line 159 of file TCDSRecord.h.
Referenced by getBST(), and TCDSRecord().
|
private |
Definition at line 147 of file TCDSRecord.h.
Referenced by getBstReceptionStatus(), and TCDSRecord().
|
private |
Definition at line 154 of file TCDSRecord.h.
Referenced by getBXID(), and TCDSRecord().
|
private |
Definition at line 141 of file TCDSRecord.h.
Referenced by getEventNumber(), and TCDSRecord().
|
private |
Definition at line 151 of file TCDSRecord.h.
Referenced by getEventType(), and TCDSRecord().
|
private |
Definition at line 144 of file TCDSRecord.h.
Referenced by getFwVersion(), and TCDSRecord().
|
private |
Definition at line 153 of file TCDSRecord.h.
Referenced by getInputs(), and TCDSRecord().
|
private |
Definition at line 157 of file TCDSRecord.h.
Referenced by getFullL1aHistory(), getL1aHistoryEntry(), and TCDSRecord().
|
private |
Definition at line 161 of file TCDSRecord.h.
Referenced by getLastEventCounter0(), getLastHardReset(), getLastOrbitCounter0(), getLastResync(), getLastStart(), getLastTestEnable(), getOrbitOfLastBgo(), and TCDSRecord().
|
private |
Definition at line 149 of file TCDSRecord.h.
Referenced by getLumiSection(), and TCDSRecord().
|
private |
Definition at line 142 of file TCDSRecord.h.
Referenced by getMacAddress(), and TCDSRecord().
|
private |
Definition at line 148 of file TCDSRecord.h.
Referenced by getNibble(), and TCDSRecord().
|
private |
Definition at line 150 of file TCDSRecord.h.
Referenced by getNibblesPerLumiSection(), and TCDSRecord().
|
private |
Definition at line 139 of file TCDSRecord.h.
Referenced by getOrbitNr(), and TCDSRecord().
|
private |
Definition at line 145 of file TCDSRecord.h.
Referenced by getRecordVersion(), and TCDSRecord().
|
private |
Definition at line 146 of file TCDSRecord.h.
Referenced by getRunNumber(), and TCDSRecord().
|
private |
Definition at line 143 of file TCDSRecord.h.
Referenced by getSwVersion(), and TCDSRecord().
|
private |
Definition at line 140 of file TCDSRecord.h.
Referenced by getTriggerCount(), and TCDSRecord().
|
private |
Definition at line 152 of file TCDSRecord.h.
Referenced by getTriggerTypeFlags(), and TCDSRecord().