Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
175 | f9daq | 1 | Analysis of the data acquired with the readout chip |
2 | |||
3 | https://www.psi.ch/drs/drs-chip |
||
4 | |||
5 | 0. Connect the signals |
||
6 | 1. Start DRS Oscilloscope |
||
7 | 2. Acquire Waveforms: File->Save->SaveAsType Binary .dat -> Number of waveforms 100000 |
||
8 | 3. Start ROOT |
||
9 | 4. Load the analysis file |
||
10 | root [0] .L drs.C+ |
||
11 | 5. Run the analysis: |
||
12 | root [0] drs(100000,20, "drs001.dat", 0) |
||
13 | |||
14 | void drs(int nev = 1000, int updfrq = 20, const char* FileName = "drs000.dat", int trgch = 0, int debug = 0) |
||
15 | |||
16 | Input Parameters: |
||
17 | nev - number of events to process |
||
18 | updfrq - display update frequency |
||
19 | FileName - data file |
||
20 | trgch - trigger channel |
||
21 | debug - debug output |
||
22 | |||
23 | Resulting Histograms: open TBrowser |
||
24 | |||
25 | root [0] TBrowser tb |
||
26 | Browse through histograms in root/ROOT Memory folder |