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
|
Rev | Line | |
---|
[259] | 1 | function str=get_var_name(varidx) |
---|
| 2 | |
---|
| 3 | global dvar; |
---|
| 4 | define_data_var(); |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | switch(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'; |
---|
| 28 | end |
---|
| 29 | |
---|
| 30 | end %function |
---|
Note: See
TracBrowser
for help on using the repository browser.