Data model: seguetsObjSetAll

General description: There are one of these files per plate. The file has one HDU. That HDU has one row for every object in photoObjAll that is classified as a star inside a 94.4 arcmin radius of the center of the plate. The data for each object are elements of the photoObjAll, specObjAll, sppPrams and propermotions tables taken unaltered from the CAS and derived quantities calculated by the segue-2 target selection code. Appended to the end are the two target selection bitmasks, segue2_target1 and segue2_target2, as set by the target selection code.

Naming convention: seguetsObjSetAll-XXXX-YYYY-ZZZZ.fits where XXXX is the designid, YYYY is the plateid and ZZZZ is the locationid.

Approximate size: average 43M, up to 155M in fields nearest to the GC

File type: Fits binary table

Read by products: None

Written by products: seguets

Only HDU 1 has data. The header is given below.

-------------- These are taken directly from photoObjAll -----------------
RUN
RERUN
CAMCOL
FIELD
OBJ
OBJID
RA
DEC
L
B
FIBERMAG_u
FIBERMAG_g
FIBERMAG_r
FIBERMAG_i
FIBERMAG_z
PSFMAG_u
PSFMAG_g
PSFMAG_r
PSFMAG_i
PSFMAG_z
EXTINCTION_u
EXTINCTION_g
EXTINCTION_r
EXTINCTION_i
EXTINCTION_z
ROWC
COLC
TYPE
FLAGS
FLAGS_u
FLAGS_g
FLAGS_r
FLAGS_i
FLAGS_z
PSFMAGERR_u
PSFMAGERR_g
PSFMAGERR_r
PSFMAGERR_i
PSFMAGERR_z

------------- These are taken from the specObjAll and sppParams tables for
any objects in this file that have matches in that specObjAll.  For objects
without matches in specObjAll, values are set to -999.  The names from specObjAll
are unchanged

SPECOBJID
PLATE
MJD
FIBERID
BESTOBJID
TARGETOBJID
SEGUEPRIMTARGET
SEGUESECTARGET
PRIMTARGET
SECTARGET
SPPPARAMS_SNA     this is SNA from the sppParams table

-------------- These are taken from the propermotions table, the USNOB
proper motions as recalibrated with the SDSS by Jeff Munn.  For objects
without matches in the propermotions table, values are set to -999.  The
names are unchanged from the propermotions table.

PMOBJID
MATCH
DELTA
PML
PMB
PMRA
PMDEC
PMRAERR
PMDECERR
PMSIGRA
PMSIGDEC
NFIT
DIST22
DIST20

---------------- Below this line are the derived quanitites calculated
by the procedure calderivedquantities in derivedquant.pro in the segue-2
target selection code.  With the addition of these, this file contains all
the quanitites that the selection code operates on when choosing targets.

uMAG           u extinction-corrected (SFD 98) psf magnitude
gMAG           g ""
rMAG           r ""
iMAG           i ""
zMAG           z ""
umg            u-g, extinction corrected magnitudes
gmr            g-r ""
rmi            r-i ""
imz            i-z ""
gmi            g-i ""
umgERR         PSFMAGERR_u and PSFMAGERR_g added in quadrature
gmrERR         g and r psfmagerr added in quadrature
rmiERR         r and i ""
imgERR         i and z ""
PSFMAG_umg     psfmag_u-psfmag_g, no extinction correction
PSFMAG_gmr     psfmag_g-psfmag_r, no extinction correction
PSFMAG_rmi     psfmag_r-psfmag_i, no extinction correction
PSFMAG_imz     psfmag_i-psfmag_z, no extinction correction
PSFMAG_gmi     psfmag_g-psfmag_i, no extinction correction
lcolor         -0.436*uMag+1.129*gMag-0.119*rMag-0.574*iMag+0.1984 (Lenz et al.1998)
scolor         -0.249*uMag+0.794*gMag-0.555*rMag+0.234+0.011*p1s-0.010 (Helmi et al. 2003) used in SEGUE-1 target selection, unused in SEGUE-2
p1s            0.91*umg+0.415*umg-1.280 (Helmi et al. 2003) used in SEGUE-1 target selection, unused in SEGUE-2
TOTALPM        sqrt(PMRA*PMRA+PMDEC*PMDEC), in mas/year
Hg             reduced proper motion, gMag+5*log10(TOTALPM/1000)+5
Mi             4.471+7.907*imz-0.837*imz*imz used in SEGUE-1 target selection, unused in SEGUE-2
DISTi          10^((iMag-Mi+5)/5.0) used in SEGUE-1 target selection, unused in SEGUE-2
Hr             reduced pm (uncorr r): PSFMAG_r+5*log10(TOTALPM/1000)+5
VMI_TRANS1     VMAG_TRANS-(iMag-0.337*rmi-0.37)
VMI_TRANS2     0.877*gmr+0.358
VMAG_TRANS     gMag - 0.587*gmr -0.011
MV_TRANS       not stuffed
DISTV_KPC      10^(dmV/5.-2.) where VMAG_TRANS-(3.37*VMI_TRANS1+2.89)
VTRANS_GALREST      transvere velocity, km/s, derived from TOTALPM and DISTV_KPC, in a frame at rest w.r.t the Galaxy
MUTRANS_GALRADREST  derived PM (mas/year) perpendicular to the Galactocentric radial vector, assuming all motion is along a Galactocentric radial vector, in a frame at rest w.r.t the Galaxy
MURAD_GALRADREST    derived PM (mas/year) along the Galactocentric radial vector, assuming all motion is along a Galactocentric radial vector, in a frame at rest w.r.t the Galaxy
VTOT_GALRADREST     total velocioty, km/s, derived from TOTALPM and DISTV_KPC, in a frame at rest w.r.t the Galaxy
----------------------------------------------------------------------
-------- These were added for the November 2008 drilling run and after
-------- The earlier files will be retrofit (eventually)
-----------------------------------------------------------------------
MG_TOHV         5.7 + 10.0*(GMR - 0.375)
VTRANS_TOHV     transverse velocity in Galactocentric coords, using the distance estimate from MG_TOHV which is appropriate for old stars near the MSTO and corrected for peculiar solar motion 16.6 km/s toward RA,Dec 267.5,28.1
PM1SIGMA_TOHV   Estimate of the 1-sigma error in total proper motion at this r matnigutde.  Formula is sqrt(4.56*4.56 + frate*2.30*2.30), where frate is 10^(0.4*(rMag-19.5)).  The constants come from the Munn et al. 2004 (AJ, 127, 3034) paper describing the recalibration of USNOB with SDSS.
V1SIGMAERR_TOHV The corresponding 1-sigma error in the transverse velocity based on PM1SIGMA_TOHV and the the distance estimate using MG_TOHV

---------------- These are the target selection bitmasks. One bit per target
category.  All objects are checked against all the science selections, and
bits are set for all selection categories that an object passes. These two
are the last two elements of the table for all the files

SEGUE2_TARGET1   bitmask that records the category or categories for which this object passed the selection criteria
SEGUE2_TARGET2   bitmask that records the category or categories of "standards" for the pipeline, special calibration targets like Stetson standards
or globular cluster stars, for which this object passed the selection criteria