#include <HcalUHTRData.h>
Classes | |
class | const_iterator |
class | packer |
Public Member Functions | |
const_iterator | begin () const |
uint32_t | boardId () const |
Get the raw board id. More... | |
uint32_t | bunchNumber () const |
Get the HTR bunch number. More... | |
uint32_t | crateId () const |
Get the board crate. More... | |
const_iterator | end () const |
int | getFirmwareFlavor () const |
Get the HTR firmware flavor. More... | |
unsigned int | getFirmwareRevision () const |
Get the HTR firmware version. More... | |
int | getFormatVersion () const |
Get the version number of this event. More... | |
const unsigned short * | getRawData16 () const |
Get a pointer to the raw data. More... | |
const int | getRawLengthBytes () const |
Get the length of the raw data. More... | |
HcalUHTRData () | |
HcalUHTRData (int version_to_create) | |
HcalUHTRData (const uint64_t *data, int length_words) | |
HcalUHTRData (const HcalUHTRData &) | |
uint32_t | l1ANumber () const |
Get the HTR event number. More... | |
HcalUHTRData & | operator= (const HcalUHTRData &) |
uint32_t | orbitNumber () const |
Get the HTR orbit number. More... | |
packer | pack () |
void | packHeaderTrailer (int L1Anumber, int bcn, int submodule, int orbitn, int pipeline, int ndd, int nps, int firmwareRev=0) |
pack header and trailer (call after pack) More... | |
void | packUnsuppressed (const bool *mp) |
pack trailer with Mark and Pass bits More... | |
uint32_t | slot () const |
Get the board slot. More... | |
bool | wasMarkAndPassZS (int fiber, int fiberchan) const |
Was this channel passed as part of Mark&Pass ZS? More... | |
bool | wasMarkAndPassZSTP (int slb, int slbchan) const |
Was this channel passed as part of Mark&Pass ZS? More... | |
~HcalUHTRData () | |
Static Public Attributes | |
static const int | CHANNELS_PER_FIBER_HBHE = 6 |
static const int | CHANNELS_PER_FIBER_HF = 4 |
static const int | CHANNELS_PER_FIBER_MAX = 8 |
static const int | FIBERS_PER_UHTR = 24 |
Protected Attributes | |
int | m_formatVersion |
uint64_t * | m_ownData |
const uint16_t * | m_raw16 |
const uint64_t * | m_raw64 |
int | m_rawLength64 |
Interpretive class for HcalUHTRData Since this class requires external specification of the length of the data, it is implemented as an interpreter, rather than a cast-able header class.
Definition at line 16 of file HcalUHTRData.h.
HcalUHTRData::HcalUHTRData | ( | ) |
Definition at line 125 of file HcalUHTRData.cc.
|
inline |
HcalUHTRData::HcalUHTRData | ( | int | version_to_create | ) |
Definition at line 133 of file HcalUHTRData.cc.
References CHANNELS_PER_FIBER_MAX, FIBERS_PER_UHTR, m_ownData, m_raw16, m_raw64, and m_rawLength64.
HcalUHTRData::HcalUHTRData | ( | const uint64_t * | data, |
int | length_words | ||
) |
HcalUHTRData::HcalUHTRData | ( | const HcalUHTRData & | hd | ) |
Definition at line 131 of file HcalUHTRData.cc.
HcalUHTRData::const_iterator HcalUHTRData::begin | ( | void | ) | const |
Definition at line 77 of file HcalUHTRData.cc.
References HEADER_LENGTH_16BIT, m_raw16, and m_rawLength64.
|
inline |
|
inline |
|
inline |
HcalUHTRData::const_iterator HcalUHTRData::end | ( | void | ) | const |
Definition at line 81 of file HcalUHTRData.cc.
References m_raw16, and m_rawLength64.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
|
inline |
|
inline |
Get the version number of this event.
Definition at line 32 of file HcalUHTRData.h.
References m_formatVersion.
|
inline |
|
inline |
Get the length of the raw data.
Definition at line 38 of file HcalUHTRData.h.
References m_rawLength64.
|
inline |
HcalUHTRData & HcalUHTRData::operator= | ( | const HcalUHTRData & | hd | ) |
Definition at line 146 of file HcalUHTRData.cc.
References m_formatVersion, m_ownData, m_raw16, m_raw64, and m_rawLength64.
|
inline |
packer HcalUHTRData::pack | ( | ) |
Referenced by pyrootRender.interactiveRender::draw().
void HcalUHTRData::packHeaderTrailer | ( | int | L1Anumber, |
int | bcn, | ||
int | submodule, | ||
int | orbitn, | ||
int | pipeline, | ||
int | ndd, | ||
int | nps, | ||
int | firmwareRev = 0 |
||
) |
pack header and trailer (call after pack)
void HcalUHTRData::packUnsuppressed | ( | const bool * | mp | ) |
pack trailer with Mark and Pass bits
|
inline |
bool HcalUHTRData::wasMarkAndPassZS | ( | int | fiber, |
int | fiberchan | ||
) | const |
Was this channel passed as part of Mark&Pass ZS?
bool HcalUHTRData::wasMarkAndPassZSTP | ( | int | slb, |
int | slbchan | ||
) | const |
Was this channel passed as part of Mark&Pass ZS?
|
static |
Definition at line 20 of file HcalUHTRData.h.
|
static |
Definition at line 19 of file HcalUHTRData.h.
|
static |
Definition at line 21 of file HcalUHTRData.h.
Referenced by HcalUHTRData().
|
static |
Definition at line 18 of file HcalUHTRData.h.
Referenced by HcalUHTRData().
|
protected |
Definition at line 128 of file HcalUHTRData.h.
Referenced by getFormatVersion(), HcalUHTRData(), and operator=().
|
protected |
Definition at line 132 of file HcalUHTRData.h.
Referenced by HcalUHTRData(), operator=(), and ~HcalUHTRData().
|
protected |
Definition at line 131 of file HcalUHTRData.h.
Referenced by begin(), end(), getRawData16(), HcalUHTRData(), and operator=().
|
protected |
Definition at line 130 of file HcalUHTRData.h.
Referenced by boardId(), bunchNumber(), crateId(), getFirmwareFlavor(), getFirmwareRevision(), HcalUHTRData(), l1ANumber(), operator=(), orbitNumber(), and slot().
|
protected |
Definition at line 129 of file HcalUHTRData.h.
Referenced by begin(), end(), getRawLengthBytes(), HcalUHTRData(), and operator=().