parameter list for each V172X digitizer in the crate More...
#include <V172X_Params.hh>
Public Member Functions | |
V172X_BoardParams () | |
Default constructor. | |
~V172X_BoardParams () | |
Destructor does nothing. | |
int | UpdateBoardSpecificVariables () |
Update calcuated variables after changing parameters. | |
double | GetSampleRate () const |
Get the sample rate used, in samples per microsecond. | |
uint32_t | GetPreNSamps () const |
Get the number of samples before the trigger. | |
uint32_t | GetPostNSamps () const |
Get the number of samples after the trigger. | |
uint32_t | GetTotalNSamps () const |
Get the total number of samples read. | |
int | GetTriggerIndex () const |
Get the sample number at which the trigger occurred. | |
uint32_t | GetBufferCode () const |
number of triggers that can be stored in buffer is 2^n | |
uint32_t | GetCustomSizeSetting () const |
Get the value to write to the custom size register. | |
uint32_t | GetPostTriggerSetting () const |
Get the value to write to the post samples register. | |
uint64_t | GetTimestampRange () const |
Get the total time elapsed before the timestamp counter resets. | |
Public Attributes | |
bool | enabled |
is this board enabled? | |
int | id |
unique id number for this board | |
uint32_t | address |
this board's VME address | |
int | link |
the caenvmelib link number for this board or the vme bridge | |
bool | usb |
connect through usb instead of optical link? | |
int | chainindex |
Order of the board on a daisy chain fiber. | |
BOARD_TYPE | board_type |
type of V172X digitizer | |
double | v_full_scale |
full scale range of input | |
int | stupid_size_factor |
determines packing of samples in mem | |
int | sample_bits |
sampling resolution | |
double | max_sample_rate |
samples per microsecond | |
long | mem_size |
mem size per channel, in bytes | |
int | bytes_per_sample |
size of a single sample (calculated) | |
uint32_t | event_size_bytes |
expected size of a single event | |
uint64_t | ns_per_clocktick |
tick rate of timestamp clock | |
bool | enable_software_trigger |
do we allow softwre triggers? | |
bool | enable_software_trigger_out |
do soft triggers generate sig out? | |
bool | enable_external_trigger |
do we allow external triggers? | |
bool | enable_external_trigger_out |
do we repeat external trigs out? | |
uint16_t | local_trigger_coincidence |
need n+1 channels to trigger locally | |
double | pre_trigger_time_us |
pulse length to store before trigger | |
double | post_trigger_time_us |
pulse length to store after trigger | |
uint32_t | downsample_factor |
NOT USED; kept for compaitibility. | |
TRIGGER_POLARITY | trigger_polarity |
trigger on rising or falling signals | |
bool | count_all_triggers |
count triggers that overlap? | |
ZERO_SUPPRESSION_TYPE | zs_type |
do any zero suppression? | |
bool | enable_trigger_overlap |
generate partial triggers windows? | |
SIGNAL_LOGIC | signal_logic |
use NIM or TTL signals? | |
bool | enable_test_pattern |
generate a test pattern internally? | |
uint32_t | acq_control_val |
determines startup mode | |
int | nchans |
actual num channels on this unit | |
V172X_ChannelParams | channel [MAXCHANS] |
parameters for each channel | |
Static Public Attributes | |
static const int | MAXCHANS = 8 |
max hardware channels per board? | |
static const int | Nth_factor = 4 |
how many samples in the trigger time |
parameter list for each V172X digitizer in the crate
Definition at line 90 of file V172X_Params.hh.