#ifndef TA_TARGET_OBJ_H
#define TA_TARGET_OBJ_H

#ifdef __cplusplus
extern "C" {
#endif

/* The structure containing a target object, plus the extra field flt_priority
	which is used to sort lists */
typedef struct taTargetObj
{
  int		run;
  int 		rerun;
  int		col;
  int		field;
  int		id;
  int		tid;
  double 	ra;
  double	dec;
  int		primTarget;
  int		secTarget;
  int		priority;
  int		tileId;
  int		tiFlag;
  float		mag[5];
  float		starL;
  float		expL;
  float		deVaucL;
  float		flt_priority;
} TARGETOBJ; /* pragma SCHEMA */

#ifdef __cplusplus
}
#endif

#endif
