@rpt_files=ae702005010_0.rpt
@gti=19900101000000,99991231235959
@cpn_masks=00 1e0 00 120
@origin=ISAS/JAXA
@leapfile=leapsec_010905.fits
@timfile=./ae702005010.tim
@mk1stfits_dir=""
@hxd_fits_key_dir=/san_xray/astroe2/archive/suzaku/software/aps/2007-05-08/tools/mk1stfits/mk1stfits-20070514/bin/hxd_fits_table_def
@flagEV=1
@flagHK=1

PROFILE_MODULE
Y

def
 AEpacketRPTread
 AEpacketTimeSet
 AEpacketCount
 HXDpacketCount
 HXDeventExtract
 HXDglueHst
 HXDread
 HXDAcuPut
 HXDHishPut
@.if $(flagEV)
 HXDeventFitsWrite
@.endif
@.if $(flagHK)
 HXDHKFitsWrite
@.endif
ok

mod
AEpacketRPTread ok
ORIGIN
$(origin)
LEAPSEC_FILE
$(leapfile)
CPN_MASKS
$(cpn_masks)
ok
RPT_FILES
$(rpt_files)
ok
GTI
$(gti)
ok
EXIT

mod
AEpacketTimeSet ok
TIM_FILE
$(timfile)
TIME_SET_DP_FILE
none
TIME_SET_DHU_FILE
none
EXIT

mod
HXDread ok
@!  DHU
  HK
  SYS
  STM
  AET_SC
  AET_HC
  PST
  PPR
  WE0
  WE1
  WE2
  WE3
  SCL
  TRH
  TRB
  BST
  ACU
  SFF1
  SFF2
  SFC
  HISH
  DLT
  SP_PMT
  SP_PIN
  RHK
  MEM_DMP
  IO_DMP
  ECC_DMP
  RIO_DMP
  RECC_DMP
@!  HCE
EXIT

@.if $(flagEV)
mod
HXDeventFitsWrite ok
1
@.endif

@.if $(flagHK)
mod
HXDHKFitsWrite ok
$(mk1stfits_dir)
$(hxd_fits_key_dir)
@.endif

ana
read
-1 1000
exit

