PAASS
Software suite to Acquire and Analyze Data from Pixie16
pixie Namespace Reference

Pixie module related things that should not change between revisions. More...

Typedefs

typedef uint32_t word_t
 a pixie word More...
 
typedef uint16_t halfword_t
 a half pixie word More...
 
typedef uint32_t bufword_t
 word in a pixie buffer More...
 

Functions

unsigned long TstBit (unsigned short bit, unsigned long value)
 

Variables

const pixie::word_t U_DELIMITER = (pixie::word_t) -1
 
const unsigned int TOTALREAD = 1000000
 
const pixie::word_t clockVsn = 1000
 
const size_t numberOfChannels = 16
 

Detailed Description

Pixie module related things that should not change between revisions.

"Constant" constants, i.e. those who won't change going from different verison (revision) of board, some magic numbers used in code etc. For "variable" constants i.e. revision related or experiment related see Globals class.

Typedef Documentation

§ bufword_t

typedef uint32_t pixie::bufword_t

word in a pixie buffer

Definition at line 40 of file Globals.hpp.

§ halfword_t

typedef uint16_t pixie::halfword_t

a half pixie word

Definition at line 39 of file Globals.hpp.

§ word_t

typedef uint32_t pixie::word_t

a pixie word

Definition at line 38 of file Globals.hpp.

Function Documentation

§ TstBit()

unsigned long pixie::TstBit ( unsigned short  bit,
unsigned long  value 
)
inline
Returns
tst bit function from pixie16 files
Parameters
[in]bit: bit to test with
[in]value: value to compare with

Definition at line 62 of file Globals.hpp.

Here is the caller graph for this function:

Variable Documentation

§ clockVsn

const pixie::word_t pixie::clockVsn = 1000

An arbitrary vsn used to pass clock data

Definition at line 55 of file Globals.hpp.

§ numberOfChannels

const size_t pixie::numberOfChannels = 16

Number of channels in a module.

Definition at line 57 of file Globals.hpp.

§ TOTALREAD

const unsigned int pixie::TOTALREAD = 1000000

THIS SHOULD NOT BE SET LARGER THAN 1,000,000 this defines the maximum amount of data that will be received in a spill.

Definition at line 52 of file Globals.hpp.

§ U_DELIMITER

const pixie::word_t pixie::U_DELIMITER = (pixie::word_t) -1

buffer and module data are terminated with a "-1" value also used to indicate when a quantity is out of range or peculiar data this should theoretically be the same as UINT_MAX in climits header

Definition at line 46 of file Globals.hpp.