Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
Analysis of the data acquired with the readout chip
https://www.psi.ch/drs/drs-chip
0. Connect the signals
1. Start DRS Oscilloscope
2. Acquire Waveforms: File->Save->SaveAsType Binary .dat -> Number of waveforms 100000
3. Start ROOT
4. Load the analysis file
root [0] .L drs.C+
5. Run the analysis:
root [0] drs(100000,20, "drs001.dat", 0)
void drs(int nev = 1000, int updfrq = 20, const char* FileName = "drs000.dat", int trgch = 0, int debug = 0)
Input Parameters:
nev - number of events to process
updfrq - display update frequency
FileName - data file
trgch - trigger channel
debug - debug output
Resulting Histograms: open TBrowser
root [0] TBrowser tb
Browse through histograms in root/ROOT Memory folder