TADCChannel - PADME-Experiment/padme-fw GitHub Wiki

Channel Number

UChar_t GetChannelNumber()

Number of this channel (0-31) within the ADC board.


Channel Sample Values

UShort_t GetNSamples()
Short_t  GetSample(Int_t)
Short_t* GetSamplesArray()

Number of samples is always 1024.

User can retrieve either the value of a single sample (GetSample), or an array with all the 1024 sample values (GetSamplesArray).

Sample values can exceed the 12 bit (0-4095) range due to CAEN V1742 correction algorithm. They are therefore encoded into a signed 16 bit variable (Short_t).