status.i4.v = reflected_events_c(event_type.i4.v, events.i4a.r,

	This routine will return the reflected TCLK events for requested
	beam synch events.  This allows a program to detect the occurrence
	of the beam synch events by using lckclk_c.

	event_type	type of beam synch event
			(CLOCK_MIBS -> Main Injector beam synch event,
			 CLOCK_RRBS -> Recycler beam synch event,
			 CLOCK_TVBS -> Tevatron beam synch event)
	events		array of beam synch events
	num_events	number of events
	reflect_events	returned reflected TCLK events
			(If a returned reflected event has a value
			 of EVENT_NULL, there was no reflected event
			 found for the corresponding beam synch event.)
			(constants are in 'tclk_events')

	This function returns status values as follows:

	OK			success
	CLIB_INVARG		invalid event type or number of events
	CLIB_NO_SUCH		reflected event information not found
	CLIB_MEMFAIL		dynamic memory allocation failure
	SQL_xxx			error accessing clock event database

	This function requires the following include files:

	clib_h, tclk_events_h, acnet_errors_h

	Related functions:

	lckclk_c, evmon, evmon_usec_c, acctim, ticks_since_event,
	event_history, event_set_fake, event_count_c, event_last_timestamp_c,
	clock_set_multicast_type, clock_get_default_multicast_type,
	clock_type_convert_c, is_beam_sync_clock_type_c

	C/C++ usage:

	int	status;
	int	event_type = DIO_MIBS;
	static const int	events[NUM_EVENTS] = {0x74, 0x75};
	int	num_events = NUM_EVENTS;
	int	reflect_events[NUM_EVENTS];

	status = reflected_events_c(event_type,events,num_events,