#ifndef IPPTOPSPSSTACKENUMS_H
#define IPPTOPSPSSTACKENUMS_H


typedef enum {
  STACKMETA_STACKMETAID = 1,
  STACKMETA_SKYCELLID = 2,
  STACKMETA_SURVEYID = 3,
  STACKMETA_PHOTOCALID = 4,
  STACKMETA_FILTERID = 5,
  STACKMETA_STACKTYPEID = 6,
  STACKMETA_REFIMAGEID = 7,
  STACKMETA_SUBTRIMAGEID = 8,
  STACKMETA_MAGSAT = 9,
  STACKMETA_ANALVER = 10,
  STACKMETA_NP2IMAGES = 11,
  STACKMETA_COMPLETMAG = 12,
  STACKMETA_ASTROSCAT = 13,
  STACKMETA_PHOTOSCAT = 14,
  STACKMETA_NASTROREF = 15,
  STACKMETA_NPHOREF = 16,
  STACKMETA_PSFFWHM = 17,
  STACKMETA_PSFMODELID = 18,
  STACKMETA_PSFWIDMAJOR = 19,
  STACKMETA_PSFWIDMINOR = 20,
  STACKMETA_PSFTHETA = 21,
  STACKMETA_PSFEXTRA1 = 22,
  STACKMETA_PSFEXTRA2 = 23,
  STACKMETA_PHOTOZERO = 24,
  STACKMETA_PHOTOCOLOR = 25,
  STACKMETA_CTYPE1 = 26,
  STACKMETA_CTYPE2 = 27,
  STACKMETA_CRVAL1 = 28,
  STACKMETA_CRVAL2 = 29,
  STACKMETA_CRPIX1 = 30,
  STACKMETA_CRPIX2 = 31,
  STACKMETA_PC001001 = 32,
  STACKMETA_PC001002 = 33,
  STACKMETA_PC002001 = 34,
  STACKMETA_PC002002 = 35,
  STACKMETA_POLYORDER = 36,
  STACKMETA_PCA1X3Y0 = 37,
  STACKMETA_PCA1X2Y1 = 38,
  STACKMETA_PCA1X1Y2 = 39,
  STACKMETA_PCA1X0Y3 = 40,
  STACKMETA_PCA1X2Y0 = 41,
  STACKMETA_PCA1X1Y1 = 42,
  STACKMETA_PCA1X0Y2 = 43,
  STACKMETA_PCA2X3Y0 = 44,
  STACKMETA_PCA2X2Y1 = 45,
  STACKMETA_PCA2X1Y2 = 46,
  STACKMETA_PCA2X0Y3 = 47,
  STACKMETA_PCA2X2Y0 = 48,
  STACKMETA_PCA2X1Y1 = 49,
  STACKMETA_PCA2X0Y2 = 50,
  STACKMETA_CALIBMODNUM = 51,
  STACKMETA_DATARELEASE = 52,
} StackMeta;

typedef enum {
  STACKDETECTION_OBJID = 1,
  STACKDETECTION_STACKDETECTID = 2,
  STACKDETECTION_IPPOBJID = 3,
  STACKDETECTION_IPPDETECTID = 4,
  STACKDETECTION_FILTERID = 5,
  STACKDETECTION_STACKTYPEID = 6,
  STACKDETECTION_SURVEYID = 7,
  STACKDETECTION_PRIMARYF = 8,
  STACKDETECTION_STACKMETAID = 9,
  STACKDETECTION_SKYCELLID = 10,
  STACKDETECTION_PROJECTIONCELLID = 11,
  STACKDETECTION_STACKVER = 12,
  STACKDETECTION_OBSTIME = 13,
  STACKDETECTION_XPOS = 14,
  STACKDETECTION_YPOS = 15,
  STACKDETECTION_XPOSERR = 16,
  STACKDETECTION_YPOSERR = 17,
  STACKDETECTION_INSTFLUX = 18,
  STACKDETECTION_INSTFLUXERR = 19,
  STACKDETECTION_PEAKFLUX = 20,
  STACKDETECTION_SKY = 21,
  STACKDETECTION_SKYERR = 22,
  STACKDETECTION_SGSEP = 23,
  STACKDETECTION_PSFWIDMAJOR = 24,
  STACKDETECTION_PSFWIDMINOR = 25,
  STACKDETECTION_PSFTHETA = 26,
  STACKDETECTION_PSFLIKELIHOOD = 27,
  STACKDETECTION_PSFCF = 28,
  STACKDETECTION_INFOFLAG = 29,
  STACKDETECTION_NFRAMES = 30,
  STACKDETECTION_WLSIGMA = 31,
  STACKDETECTION_EPS1 = 32,
  STACKDETECTION_EPS2 = 33,
  STACKDETECTION_PSM11 = 34,
  STACKDETECTION_PSM12 = 35,
  STACKDETECTION_PSM21 = 36,
  STACKDETECTION_PSM22 = 37,
  STACKDETECTION_PSH11 = 38,
  STACKDETECTION_PSH12 = 39,
  STACKDETECTION_PSH21 = 40,
  STACKDETECTION_PSH22 = 41,
  STACKDETECTION_ACTIVEFLAG = 42,
  STACKDETECTION_ASSOCDATE = 43,
  STACKDETECTION_HISTORYMODNUM = 44,
  STACKDETECTION_DATARELEASE = 45,
} StackDetection;

typedef enum {
  SKINNYOBJECT_OBJID = 1,
  SKINNYOBJECT_IPPOBJID = 2,
  SKINNYOBJECT_PROJECTIONCELLID = 3,
  SKINNYOBJECT_DATARELEASE = 4,
} SkinnyObject;

typedef enum {
  STACKORPHAN_PARTITIONKEY = 1,
  STACKORPHAN_STACKDETECTID = 2,
  STACKORPHAN_IPPDETECTID = 3,
  STACKORPHAN_FILTERID = 4,
  STACKORPHAN_STACKTYPEID = 5,
  STACKORPHAN_SURVEYID = 6,
  STACKORPHAN_PRIMARYF = 7,
  STACKORPHAN_STACKMETAID = 8,
  STACKORPHAN_SKYCELLID = 9,
  STACKORPHAN_STACKVER = 10,
  STACKORPHAN_XPOS = 11,
  STACKORPHAN_YPOS = 12,
  STACKORPHAN_XPOSERR = 13,
  STACKORPHAN_YPOSERR = 14,
  STACKORPHAN_INSTFLUX = 15,
  STACKORPHAN_INSTFLUXERR = 16,
  STACKORPHAN_PEAKFLUX = 17,
  STACKORPHAN_SKY = 18,
  STACKORPHAN_SKYERR = 19,
  STACKORPHAN_SGSEP = 20,
  STACKORPHAN_PSFWIDMAJOR = 21,
  STACKORPHAN_PSFWIDMINOR = 22,
  STACKORPHAN_PSFTHETA = 23,
  STACKORPHAN_PSFLIKELIHOOD = 24,
  STACKORPHAN_PSFCF = 25,
  STACKORPHAN_INFOFLAG = 26,
  STACKORPHAN_NFRAMES = 27,
  STACKORPHAN_WLSIGMA = 28,
  STACKORPHAN_EPS1 = 29,
  STACKORPHAN_EPS2 = 30,
  STACKORPHAN_PSM11 = 31,
  STACKORPHAN_PSM12 = 32,
  STACKORPHAN_PSM21 = 33,
  STACKORPHAN_PSM22 = 34,
  STACKORPHAN_PSH11 = 35,
  STACKORPHAN_PSH12 = 36,
  STACKORPHAN_PSH21 = 37,
  STACKORPHAN_PSH22 = 38,
  STACKORPHAN_ACTIVEFLAG = 39,
  STACKORPHAN_ASSOCDATE = 40,
  STACKORPHAN_HISTORYMODNUM = 41,
  STACKORPHAN_DATARELEASE = 42,
} StackOrphan;

typedef enum {
  OBJECTCALCOLOR_OBJID = 1,
  OBJECTCALCOLOR_IPPOBJID = 2,
  OBJECTCALCOLOR_FILTERID = 3,
  OBJECTCALCOLOR_CALCOLOR = 4,
  OBJECTCALCOLOR_CALCOLORERR = 5,
  OBJECTCALCOLOR_CALIBMODNUM = 6,
  OBJECTCALCOLOR_DATARELEASE = 7,
} ObjectCalColor;

#endif