#include <config.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/Asserter.h>
#include "Asserts.h"
#include "CCAENV1x90.h"
#include "DesignByContract.h"
#include <vector>
Go to the source code of this file.
Classes | |
class | ReadoutModes |
Functions | |
CPPUNIT_TEST_SUITE_REGISTRATION (ReadoutModes) | |
bool | isSet (vector< unsigned short > masks, unsigned int bit) |
void | Set (vector< unsigned short > &masks, unsigned int bit) |
void | Clear (vector< unsigned short > &masks, unsigned int bit) |
Variables | |
long | ModuleBase |
static const CCAENV1x90::HitMax | hitvalues [] |
Test various max hit counts. | |
static const int | nHitMaxes = sizeof(hitvalues)/sizeof(CCAENV1x90::HitMax) |
static const unsigned short | ErrorPatterns [] |
static const int | nErrorPatterns = sizeof(ErrorPatterns)/sizeof(unsigned short) |
static const CCAENV1x90::L1Size | l1sizes [] |
static const int | nL1Sizes = sizeof(l1sizes)/sizeof(CCAENV1x90::L1Size) |
void Clear | ( | vector< unsigned short > & | masks, | |
unsigned int | bit | |||
) |
CPPUNIT_TEST_SUITE_REGISTRATION | ( | ReadoutModes | ) |
bool isSet | ( | vector< unsigned short > | masks, | |
unsigned int | bit | |||
) |
void Set | ( | vector< unsigned short > & | masks, | |
unsigned int | bit | |||
) |
const unsigned short ErrorPatterns[] [static] |
Initial value:
{ CCAENV1x90::ERR_VERNIER, CCAENV1x90::ERR_SELECT, CCAENV1x90::ERR_L1PARITY, CCAENV1x90::ERR_TFIFOPARITY, CCAENV1x90::ERR_MATCHERROR, CCAENV1x90::ERR_RFIFOPARITY, CCAENV1x90::ERR_RDOSTATE, CCAENV1x90::ERR_SUPPARITY, CCAENV1x90::ERR_CTLPARITY, CCAENV1x90::ERR_JTAGPARITY, CCAENV1x90::ERR_VERNIER | CCAENV1x90::ERR_L1PARITY | CCAENV1x90::ERR_MATCHERROR | CCAENV1x90::ERR_RDOSTATE | CCAENV1x90::ERR_CTLPARITY, CCAENV1x90::ERR_SELECT | CCAENV1x90::ERR_TFIFOPARITY | CCAENV1x90::ERR_RFIFOPARITY| CCAENV1x90::ERR_SUPPARITY | CCAENV1x90::ERR_JTAGPARITY }
Definition at line 150 of file 1x90ReadoutModes.cpp.
const CCAENV1x90::HitMax hitvalues[] [static] |
Initial value:
{ CCAENV1x90::HITS_0, CCAENV1x90::HITS_1, CCAENV1x90::HITS_2, CCAENV1x90::HITS_4, CCAENV1x90::HITS_8, CCAENV1x90::HITS_16, CCAENV1x90::HITS_32, CCAENV1x90::HITS_64, CCAENV1x90::HITS_128, CCAENV1x90::HITS_UNLIMITED }
Definition at line 128 of file 1x90ReadoutModes.cpp.
Referenced by ReadoutModes::MaxHitTest().
const CCAENV1x90::L1Size l1sizes[] [static] |
Initial value:
{ CCAENV1x90::L1_2wds, CCAENV1x90::L1_4wds, CCAENV1x90::L1_8wds, CCAENV1x90::L1_16wds, CCAENV1x90::L1_32wds, CCAENV1x90::L1_64wds, CCAENV1x90::L1_128wds, CCAENV1x90::L1_256wds }
Definition at line 180 of file 1x90ReadoutModes.cpp.
long ModuleBase |
Definition at line 11 of file 1x90TestRunner.cpp.
const int nErrorPatterns = sizeof(ErrorPatterns)/sizeof(unsigned short) [static] |
Definition at line 168 of file 1x90ReadoutModes.cpp.
const int nHitMaxes = sizeof(hitvalues)/sizeof(CCAENV1x90::HitMax) [static] |
const int nL1Sizes = sizeof(l1sizes)/sizeof(CCAENV1x90::L1Size) [static] |
Definition at line 189 of file 1x90ReadoutModes.cpp.