#include <AEMheader.h>
Public Types | |
| NUM_CABLES = 12 | |
| NUM_CHANNELS = 18 | |
| enum | { NUM_CABLES = 12, NUM_CHANNELS = 18 } |
Public Member Functions | |
| AEMheader (unsigned short *header) | |
| Constructor for initializing the class with raw header data. | |
| unsigned | startBit () const |
| Static method to return the start bit when suppied an AEM header. | |
| unsigned | hitMap () const |
| Static method to return the hit map when suppied an AEM header. | |
| unsigned | acceptMap () const |
| Static method to return the accept map when suppied an AEM header. | |
| unsigned | phaVector () const |
| Static method to return the PHA vector when suppied an AEM header. | |
| unsigned | parityError () const |
| Static method to return the parity error when suppied an AEM header. | |
| unsigned | endOfCables () const |
| Static method to return the end of cables indicator when suppied an AEM header. | |
| unsigned | cableNumber () const |
| Static method to return the cable number when suppied an AEM header. | |
Static Public Member Functions | |
| static unsigned | startBit (unsigned short *header) |
| Static method to return the start bit when suppied an AEM header. | |
| static unsigned | hitMap (unsigned short *header) |
| Static method to return the hit map when suppied an AEM header. | |
| static unsigned | acceptMap (unsigned short *header) |
| Static method to return the accept map when suppied an AEM header. | |
| static unsigned | phaVector (unsigned short *header) |
| Static method to return the PHA vector when suppied an AEM header. | |
| static unsigned | parityError (unsigned short *header) |
| Static method to return the parity error when suppied an AEM header. | |
| static unsigned | endOfCables (unsigned short *header) |
| Static method to return the end of cables indicator when suppied an AEM header. | |
| static unsigned | cableNumber (unsigned short *header) |
| Static method to return the cable number when suppied an AEM header. | |
Format of AEM header is defined in the AEM primer: "The ACD Electronics Module (AEM): Programming ICD specification" LAT-TD-00639 - rev 2.6, section 3.2.1
Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
| AEMheader::AEMheader | ( | unsigned short * | header | ) | [inline] |
Constructor for initializing the class with raw header data.
| header | - A pointer to the AEM header data |
| unsigned AEMheader::acceptMap | ( | ) | const [inline] |
Static method to return the accept map when suppied an AEM header.
| unsigned AEMheader::acceptMap | ( | unsigned short * | header | ) | [inline, static] |
Static method to return the accept map when suppied an AEM header.
| header | - A pointer to the AEM header data |
| unsigned AEMheader::cableNumber | ( | ) | const [inline] |
Static method to return the cable number when suppied an AEM header.
| unsigned AEMheader::cableNumber | ( | unsigned short * | header | ) | [inline, static] |
Static method to return the cable number when suppied an AEM header.
| header | - A pointer to the AEM header data |
| unsigned AEMheader::endOfCables | ( | ) | const [inline] |
Static method to return the end of cables indicator when suppied an AEM header.
| unsigned AEMheader::endOfCables | ( | unsigned short * | header | ) | [inline, static] |
Static method to return the end of cables indicator when suppied an AEM header.
| header | - A pointer to the AEM header data |
| unsigned AEMheader::hitMap | ( | ) | const [inline] |
Static method to return the hit map when suppied an AEM header.
| unsigned AEMheader::hitMap | ( | unsigned short * | header | ) | [inline, static] |
Static method to return the hit map when suppied an AEM header.
| header | - A header pointer to the AEM header data |
| unsigned AEMheader::parityError | ( | ) | const [inline] |
Static method to return the parity error when suppied an AEM header.
| unsigned AEMheader::parityError | ( | unsigned short * | header | ) | [inline, static] |
Static method to return the parity error when suppied an AEM header.
| header | - A pointer to the AEM header data |
| unsigned AEMheader::phaVector | ( | ) | const [inline] |
Static method to return the PHA vector when suppied an AEM header.
| unsigned AEMheader::phaVector | ( | unsigned short * | header | ) | [inline, static] |
Static method to return the PHA vector when suppied an AEM header.
| header | - A pointer to the AEM header data |
| unsigned AEMheader::startBit | ( | ) | const [inline] |
Static method to return the start bit when suppied an AEM header.
| unsigned AEMheader::startBit | ( | unsigned short * | header | ) | [inline, static] |
Static method to return the start bit when suppied an AEM header.
| header | - A pointer to the AEM header data |
1.4.7