source: ETALON/SPESO/ana2015/get_var_name.m @ 259

Last change on this file since 259 was 259, checked in by delerue, 9 years ago

Progress on the SPESO analysis

File size: 620 bytes
Line 
1function str=get_var_name(varidx)
2
3global dvar;
4define_data_var();
5
6
7switch(varidx)
8    case dvar.RESEAU_POS
9        str='Pos. reseau';       
10    case dvar.DETECT_XPOS
11        str='Pos X detector';
12    case dvar.DETECT_ZPOS
13        str='Pos Z detector';
14    case dvar.DETECT_SPOS
15        str='Pos S detector';
16    case dvar.LPM
17        str='LPM event';
18    case dvar.DETECT_R1
19        str='Rotation R1';
20    case dvar.DETECT_R2
21        str='Rotation R2';
22    case dvar.DATA_VAL
23        str='Signal value';
24    case dvar.DATA_PEAK
25        str='Signal peak';
26    otherwise
27        str='Unknown value';
28end
29
30end %function
Note: See TracBrowser for help on using the repository browser.