#include <AMC13Header.h>
Public Member Functions | |
int | AMC13FormatVersion () const |
int | AMCBlockNumber (int i) const |
bool | AMCCRCOk (int i) const |
bool | AMCDataPresent (int i) const |
bool | AMCDataValid (int i) const |
bool | AMCEnabled (int i) const |
uint16_t | AMCId (int i) const |
bool | AMCLengthOk (int i) const |
bool | AMCMore (int i) const |
const uint64_t * | AMCPayload (int i) const |
bool | AMCSegmented (int i) const |
int | AMCSize (int i) const |
int | AMCSlot (int i) const |
int | bunchId () const |
int | CDFEventType () const |
int | l1aNumber () const |
int | NAMC () const |
unsigned int | orbitNumber () const |
int | sourceId () const |
Private Attributes | |
uint64_t | amc13Header |
uint64_t | cdfHeader |
uint64_t | modulesHeaders [12] |
Interpretive class for the AMC13XG common data format
Definition at line 12 of file AMC13Header.h.
|
inline |
|
inline |
|
inline |
Was the CRC correct as received by the AMC13?
Definition at line 45 of file AMC13Header.h.
References modulesHeaders.
Referenced by HcalUnpacker::unpackUTCA().
|
inline |
Is there data for this AMC?
Definition at line 47 of file AMC13Header.h.
References modulesHeaders.
Referenced by HcalUnpacker::unpackUTCA().
|
inline |
Does the EvN and BCN match for this AMC?
Definition at line 49 of file AMC13Header.h.
References modulesHeaders.
|
inline |
Is this AMC input enabled?
Definition at line 51 of file AMC13Header.h.
References modulesHeaders.
Referenced by HcalUnpacker::unpackUTCA().
|
inline |
Get the board identifier for the given module (sequential)
Definition at line 31 of file AMC13Header.h.
References modulesHeaders.
Referenced by RawTask::_process(), and HcalUnpacker::unpackUTCA().
|
inline |
|
inline |
const uint64_t * hcal::AMC13Header::AMCPayload | ( | int | i | ) | const |
Get the pointer to the beginning of the data for the given AMC
Definition at line 4 of file AMC13Header.cc.
References AMCSize(), cdfHeader, i, j, and NAMC().
Referenced by RawTask::_process(), and HcalUnpacker::unpackUTCA().
|
inline |
Segmented data?
Definition at line 41 of file AMC13Header.h.
References modulesHeaders.
Referenced by HcalUnpacker::unpackUTCA().
|
inline |
Get the size
Definition at line 37 of file AMC13Header.h.
References modulesHeaders.
Referenced by RawTask::_process(), AMCPayload(), and HcalUnpacker::unpackUTCA().
|
inline |
Get the slot for the given module (sequential)
Definition at line 33 of file AMC13Header.h.
References modulesHeaders.
Referenced by RawTask::_process(), and HcalUnpacker::unpackUTCA().
|
inline |
get the bunch id from the CDF header
Definition at line 17 of file AMC13Header.h.
References cdfHeader.
Referenced by RawTask::_process().
|
inline |
Get the Event Type value (2007.11.03 - Not defined, but should stay consistent among events.)
Definition at line 21 of file AMC13Header.h.
References cdfHeader.
|
inline |
get the Event Number from the CDF header
Definition at line 19 of file AMC13Header.h.
References cdfHeader.
Referenced by RawTask::_process().
|
inline |
Get the number of modules in the payload
Definition at line 25 of file AMC13Header.h.
References amc13Header.
Referenced by RawTask::_process(), AMCPayload(), and HcalUnpacker::unpackUTCA().
|
inline |
Get the Orbit Number from the CDF.
Definition at line 23 of file AMC13Header.h.
References amc13Header.
Referenced by RawTask::_process().
|
inline |
get the source id from the CDF header
Definition at line 15 of file AMC13Header.h.
References cdfHeader.
Referenced by HcalUnpacker::unpackUTCA().
|
private |
Definition at line 59 of file AMC13Header.h.
Referenced by AMC13FormatVersion(), NAMC(), and orbitNumber().
|
private |
Definition at line 58 of file AMC13Header.h.
Referenced by AMCPayload(), bunchId(), CDFEventType(), l1aNumber(), and sourceId().
|
private |
Definition at line 60 of file AMC13Header.h.
Referenced by AMCBlockNumber(), AMCCRCOk(), AMCDataPresent(), AMCDataValid(), AMCEnabled(), AMCId(), AMCLengthOk(), AMCMore(), AMCSegmented(), AMCSize(), and AMCSlot().