This data group contains data on which segments of the DEA, CPV and EV/BV counters fired.
typedef struct
{
int32 length;
int32 flags;
uint32 cpva;
uint32 cpvb;
uint32 cpvc;
uint32 dea;
uint32 ev;
uint32 bv;
} vetoCounters_t;
int unpackVetoes(void *event,int eventLength);
CPVx-TDC --- TDC distributions
CPVx-ADC --- ADC distributions
CPVx-ADC-noTDC --- ADC without corresponding TDC hit
CPVx-ADC-haveTDC --- ADC with a hit in the corresponding TDC
DEAx-TDC --- same as CPV histograms
DEAx-ADC
DEAx-ADC-noTDC
DEAx-ADC-haveTDC
The GROUP_VETO_BITMAPS group contains information about "binary"-type detectors that can only be in two states- empty or hit. Each detector has corresponding bits in the data structure that is set to 0 if the detector is empty or to 1 if the detector has a hit.
To decide if the detector has a hit, the program uses the TDC and ADC information.
The TDC has a hit if it's value is within bounds defined by the tdc_min and tdc_max parameters for the detector. The values of both parameters are stored in the Map Manager file.
The ADC has a hit if it's value is above adc_min. The value of this parameter is also stored in the Map Manager file. Normally adc_min is calculated using the corresponding ADC pedestal and sigma (width of the pedestal). See the code in daq.exes/processVetoThresholds.c for an example.
See also the CPVC/DEA documentation.
length: length of the data structure in bytes
flags: bimapped, no bits are currently defined, normally contains zero.
cpva: bitmapped hits in CPVA:
cpvb: bitmapped hits in CPVB:
cpvc: bitmapped hits in CPVC:
dea: bitmapped hits in DEA:
ev: bitmapped hits in EV:
bv: bitmapped hits in BV:
CO 1996-Aug-20