f_evt_cre_tagfile
- f_evt_cre_tagfile
- CALLING
- f_evt_cre_tagfile(lmdfile,tagfile,filter)
- PURPOSE
- Create a tag file from lmd file
- ARGUMENTS
-
- lmdfile
- LMD file name
- tagfile
- tag file name
- filter
- optional function for filter
- Return type
- INTS4 .
- Status codes
-
- GETEVT__SUCCESS
- success.
- GETEVT__NOFILE
- file does not exist.
- GETEVT__TAGWRERR
- tag file write error.
- GETEVT__RDERR
- lmd read error.
- Declaration
-
INTS4 f_evt_cre_tagfile(CHARS *,CHARS *, INTS4 (*)());
- FUNCTION
- Create a tag file from lmd file
- filter
- The filter function is called at the beginning
with a NULL as argument, then for each event
with the event pointer. Returning 0 skips the event,
1 takes the event into the tag file.
Different tag files can be created from one lmd file.