#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 |
Get the format version number
Definition at line 27 of file AMC13Header.h.
References amc13Header, and createfilelist::int.
|
inline |
Get the block number
Definition at line 35 of file AMC13Header.h.
References mps_fire::i, createfilelist::int, and modulesHeaders.
|
inline |
Was the CRC correct as received by the AMC13?
Definition at line 45 of file AMC13Header.h.
References mps_fire::i, modulesHeaders, and testProducerWithPsetDescEmpty_cfi::x1.
|
inline |
Is there data for this AMC?
Definition at line 47 of file AMC13Header.h.
References mps_fire::i, modulesHeaders, and testProducerWithPsetDescEmpty_cfi::x1.
|
inline |
Does the EvN and BCN match for this AMC?
Definition at line 49 of file AMC13Header.h.
References mps_fire::i, modulesHeaders, and testProducerWithPsetDescEmpty_cfi::x1.
|
inline |
Is this AMC input enabled?
Definition at line 51 of file AMC13Header.h.
References mps_fire::i, modulesHeaders, and testProducerWithPsetDescEmpty_cfi::x1.
|
inline |
Get the board identifier for the given module (sequential)
Definition at line 31 of file AMC13Header.h.
References mps_fire::i, and modulesHeaders.
Referenced by RawTask::_process().
|
inline |
Was the length as expected?
Definition at line 43 of file AMC13Header.h.
References mps_fire::i, modulesHeaders, and testProducerWithPsetDescEmpty_cfi::x1.
|
inline |
More blocks?
Definition at line 39 of file AMC13Header.h.
References mps_fire::i, modulesHeaders, and testProducerWithPsetDescEmpty_cfi::x1.
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, mps_fire::i, dqmiolumiharvest::j, and NAMC().
Referenced by RawTask::_process(), and HLTHcalCalibTypeFilter::filter().
|
inline |
Segmented data?
Definition at line 41 of file AMC13Header.h.
References mps_fire::i, modulesHeaders, and testProducerWithPsetDescEmpty_cfi::x1.
|
inline |
Get the size
Definition at line 37 of file AMC13Header.h.
References mps_fire::i, createfilelist::int, and modulesHeaders.
Referenced by RawTask::_process(), AMCPayload(), and HLTHcalCalibTypeFilter::filter().
|
inline |
Get the slot for the given module (sequential)
Definition at line 33 of file AMC13Header.h.
References mps_fire::i, createfilelist::int, and modulesHeaders.
Referenced by RawTask::_process().
|
inline |
get the bunch id from the CDF header
Definition at line 17 of file AMC13Header.h.
References cdfHeader, and createfilelist::int.
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, and createfilelist::int.
Referenced by RawTask::_process().
|
inline |
Get the number of modules in the payload
Definition at line 25 of file AMC13Header.h.
References amc13Header, and createfilelist::int.
Referenced by RawTask::_process(), AMCPayload(), and HLTHcalCalibTypeFilter::filter().
|
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, and createfilelist::int.
|
private |
Definition at line 58 of file AMC13Header.h.
Referenced by AMC13FormatVersion(), NAMC(), and orbitNumber().
|
private |
Definition at line 57 of file AMC13Header.h.
Referenced by AMCPayload(), bunchId(), CDFEventType(), l1aNumber(), and sourceId().
|
private |
Definition at line 59 of file AMC13Header.h.
Referenced by AMCBlockNumber(), AMCCRCOk(), AMCDataPresent(), AMCDataValid(), AMCEnabled(), AMCId(), AMCLengthOk(), AMCMore(), AMCSegmented(), AMCSize(), and AMCSlot().