f_evt_get_tagevent
- f_evt_get_tagevent
- CALLING
- f_evt_get_tagevent(*channel, value, mode, **event)
- PURPOSE
- Get tagged event from lmd file
- ARGUMENTS
-
- channel
- s_evt_channel* , must be allocated.
- value
- event number or index
- mode
- 0: value is number, 1: value is index
- event
- address of pointer. If it is not NULL, then
return event pointer.
- Return type
- INTS4 .
- Status codes
-
- GETEVT__SUCCESS
- success.
- GETEVT__TAGRDERR
- tag file read error.
- GETEVT__RDERR
- lmd read error.
- GETEVT__FRAGMENT
- Event fragment found.
- GETEVT__NOMORE
- No more events.
- GETEVT__NOTAG
- Specified event not in tag file.
- Declaration
-
INTS4 f_evt_get_tagevent(
s_evt_channel *,INTS4,INTS4,INTS4 **);
- FUNCTION
- Get tag event. If no tag file is there, skip < value >
events, or look for event number < value >