next up previous contents
Next: KUIP Commands Up: SF Interface Functions Previous: Fiber Cluster level functions   Contents

Fiber Track level functions (unused)

The FIBER TRACK common block is not currently used by the scifi data analysis but is presented here for completeness. The following functions are available for manipulating track information:


int get_fiber_track(int trackid); 
int get_nth_fiber_track(int n); 
int get_nth_fiber_track_df(int n); 
void add_cluster_fiber_track(int trackid); 
void put_fiber_track(void); 
void clear_fiber_tracks(void);

get_fiber_track() takes a single integer track id number and attempts to find the track with a matching id number and copy that track into the common block. If the track is successfully found, the return value is the typeflag for the track, otherwise, it is -1.

get_nth_fiber_track() finds the nth track and copies it into the common block. If there are fewer than n tracks in memory, -1 is returned, otherwise the track typeflag is returned.

add_cluster_fiber_track() is similar to add_pix_iit_cluster. It does not read the FIBER_TRACK common block, but rather the FIBER_CLUSTER block. The information about the cluster in that common block is added to the track with track id trackid. If there is no track with this track id, then a new track is created.

put_fiber_track() copies information from the FIBER_TRACK common block into the main track data structures.

clear_fiber_tracks() removes all track information from memory.


next up previous contents
Next: KUIP Commands Up: SF Interface Functions Previous: Fiber Cluster level functions   Contents
K2K experimant account
2000-02-22