Run the command "onl f" to start data analysis. A list of files to be analyzed will be printed to the terminal. If the previously written histogram file ol_analysis.his exists in the current directory, a question will be asked whether the histograms from this file will be updated or replaces.
After each processed data file a histogram file ol_analysis.his will be written to the current directory, and the question will be asked whether to proceed with the next data file.
Histograms are stored to the HBOOK4 global section entitled 'ONL'. These histograms can be read by paw.
Histograms either the HBOOK file ol_analysis.his or from the global section 'ONL' can be read by paw. The list of histogram is as follows:
ID | Explanation |
General characteristics | |
1 | Event type |
2 | Event length |
3 | Errors in events (see below) |
Energy in calorimeter | |
11 | Energy sum in events (all calorimeter) |
12 | Energy sum in central part of detector (exclude 3 edge counter) |
13 | E max in events |
14 | Energy sum in cluster around max cell |
Scalers | |
21-25 | S1S2S3, Strob, Beam, T0, T02 |
31 | Beam/Strob |
32 | T0/Strob |
33 | T0/Beam |
34 | 2*(T0-T02)/(T0+T02) |
Beam hodoscope | |
ih=1-4 (X1,Y1, X2,Y2) | |
100+ih | Multiplicity |
110+ih | Signal in hodoscope (sticks) |
120+ih | Coordinate in hodoscope (cluster centers, 4-coincendence) |
130+ih | Coordinate in hodoscope (cluster centers, all events) |
141 | X on target (calculated) |
142 | Y on target |
143 | (X,Y) on hodoscope 1 |
144 | (X,Y) on hodoscope 2 |
145 | (X,Y) on target |
146 | (X1,X2) |
147 | (Y1,Y2) |
Proportional chamber | |
201 | X-signal |
202 | Y-signal |
203 | (X,Y)-signal |
211 | Multiplicity in X-plane |
212 | Multiplicity in Y-plane |
221 | Number of clusters in X-plane |
222 | Number of clusters in Y-plane |
231 | Cluster length in X-plane |
232 | Cluster length in Y-plane |
241 | X-coord of clusters |
242 | Y-coord of clusters |
Histograms with information for each chanel (PD, LD, TR) | |
100 000*itrigg + 10 000*icrate + 100*istation + ichanel |
itrigg = 1-4 : Event type (Ped,Led,Energy, Sum(energy)) icrate = 1-3 : Crate number istation = 1-20: Station number in each crate ichanel = 1-16: Chanel number in each station |
Alpha information in each station | |
500 000 + 10 000*icrate + 100*istation |
icrate = 1-3 : Crate number istation = 1-20: Station number in each crate |
2101,2102,2103 | Led amplitudes in fiber bunches 1,2,3 |
Hit patterns | |
2000 | Hit pattern of leds vs. (X,Y) |
3000 | Hit pattern of energy vs. (X,Y) for E>7 |
4000 | Hit pattern of max energy vs. (X,Y) |
Info for each crate icr=1-3 | |
1030+icr | Hit pattern of good ped. vs. (station,chanel) |
2030+icr | Hit pattern of good leds vs. (station,chanel) |
3030+icr | Hit pattern of good energy vs. (station,chanel) |
4030+icr | Hit pattern of max energy vs. (station_max,chanel_max) |
1040+icr | Hit pattern of bad ped. vs. (station,chanel) |
2040+icr | Hit pattern of bad leds vs. (station,chanel) |
3040+icr | Hit pattern of bad energy vs. (station,chanel) |
Statistics for PD, LD, AL (mean, sigma) for each crate icr=1-3 | |
1000+icr | Number of pedestal signals vs. channel number |
1010+icr | Mean pedestal signals vs. channel number |
1020+icr | RMS of pedestal signals vs. channel number |
2000+icr | Number of led signals vs. channel number |
2000+icr | Number of led signals vs. channel number |
2010+icr | Mean led signals vs. channel number |
2020+icr | RMS of led signals vs. channel number |
5010 | Mean Alpha vs. supermodule number |
5020 | RMS Alpha vs. supermodule number |
Error | Explanation |
1 | Wrong event type |
2 | lenread is greater than ndat |
3 | Read record length is not equal to declared one (2*lenread-2 != iok) |
4 | Sum of block lengths is greater than total length |
5 | Block EA ocurred twice |
6 | Current event number is smaller than the previous one |
7 | Number of blocks is greater than described in config |
8 | Number of ADC crates is greater than described in config |
9 | Block EA is absent |
10 | Blocks A* (ADC) are absent |
11 | Wrong block name |
12 | Wrong block BH length |
13 | Wrong block BP length |
14 | Wrong block PE length |