#include <HcalUHTRData.h>
Classes | |
class | const_iterator |
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 | getEventType () const |
Get the event type. More... | |
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... | |
uint32_t | presamples () const |
Get the presamples. 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 107 of file HcalUHTRData.cc.
Referenced by ~HcalUHTRData().
|
inline |
Definition at line 24 of file HcalUHTRData.h.
References data, HcalUHTRData(), m_ownData, and operator=().
HcalUHTRData::HcalUHTRData | ( | int | version_to_create | ) |
Definition at line 115 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 113 of file HcalUHTRData.cc.
HcalUHTRData::const_iterator HcalUHTRData::begin | ( | void | ) | const |
Definition at line 99 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 103 of file HcalUHTRData.cc.
References m_raw16, and m_rawLength64.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Get the event type.
Definition at line 90 of file HcalUHTRData.h.
References m_raw64.
Referenced by HLTHcalCalibTypeFilter::filter().
|
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 |
Get the HTR event number.
Definition at line 84 of file HcalUHTRData.h.
References m_raw64.
Referenced by RawTask::_process().
HcalUHTRData & HcalUHTRData::operator= | ( | const HcalUHTRData & | hd | ) |
Definition at line 128 of file HcalUHTRData.cc.
References m_formatVersion, m_ownData, m_raw16, m_raw64, and m_rawLength64.
Referenced by ~HcalUHTRData().
|
inline |
|
inline |
Get the presamples.
Definition at line 98 of file HcalUHTRData.h.
References m_raw64, slb(), wasMarkAndPassZS(), and wasMarkAndPassZSTP().
|
inline |
bool HcalUHTRData::wasMarkAndPassZS | ( | int | fiber, |
int | fiberchan | ||
) | const |
Was this channel passed as part of Mark&Pass ZS?
Referenced by presamples().
bool HcalUHTRData::wasMarkAndPassZSTP | ( | int | slb, |
int | slbchan | ||
) | const |
Was this channel passed as part of Mark&Pass ZS?
Referenced by presamples().
|
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 112 of file HcalUHTRData.h.
Referenced by getFormatVersion(), HcalUHTRData(), and operator=().
|
protected |
Definition at line 116 of file HcalUHTRData.h.
Referenced by HcalUHTRData(), operator=(), and ~HcalUHTRData().
|
protected |
Definition at line 115 of file HcalUHTRData.h.
Referenced by begin(), end(), getRawData16(), HcalUHTRData(), and operator=().
|
protected |
Definition at line 114 of file HcalUHTRData.h.
Referenced by boardId(), bunchNumber(), crateId(), getEventType(), getFirmwareFlavor(), getFirmwareRevision(), HcalUHTRData(), l1ANumber(), operator=(), orbitNumber(), presamples(), and slot().
|
protected |
Definition at line 113 of file HcalUHTRData.h.
Referenced by begin(), end(), getRawLengthBytes(), HcalUHTRData(), and operator=().