ChangeLog for arfgen
=================

Version 1.66.4 - 2005-08-05 (RDS)
------------
        + Documentation update

Version 1.66.3 - 2005-08-04 (RDS)
------------
        + Copy of 1.67 for thre release track.

Version 1.67 - 2005-08-01 (RDS)
------------
        + (src/CalCoreData.cc)        Fixes bug where an include and exclude
                                      circle are treated as an annulus even when
                                      their centres are distant (SPR-2624)

Version 1.66.2 - 2005-07-04 (RDS)
------------
        + (src/DetmapFilter.cc)       Uses an object for attcalc parameters
                                      to avoid having to close down and reopen
                                      parameters from calling task

        + (src/OffCCDPixelIterator.cc/h, Includes or excludes area
           ConcreteArfDataServer.cc,     out of the FOV depending on
           config/arfgen.par/lyt)        command line parameter ignoreoutoffov
                                         (SPR-2622)

Version 1.66.1 - 2005-06-28 (RDS)
------------
        + (src/DatafileAttributes.cc) Sets the instrument before the
                                      window mode to avoid warning message.

Version 1.66 - 2005-06-15 (RDS)
------------
        + (src/BadPixelCorrector.cc)  Correctly interprets FLAG=0 value for
                                      bad pixels (SPR-2609)

        A side benefit of this change is that pixels which are included
        in bad pixel AND bad column extensions are now only counted once
        in the effective area generation, whereas before they were included
        twice.

Version 1.65.18 - 2005-02-25 (RDS)
------------
        + (src/DatafileAttributes.cc) Interprets mode properly for outer
                                      CCDs odf timing mode MOS obs (SPR-2601)

Version 1.65.17 - 2004-12-21 (RDS)
------------
        + (DEPEND)                    Added selectlib dependancy (SPR-2569)

Version 1.65.16 - 2004-08-13 (RDS)
------------
        + (config/arfgen.par)         Changed photon energy to 2 keV (SPR-2528)
                                      Also changes useodfatt default from 
                                      true to false (SPR-2544) 
          (src/ConcreteArfDataServer.cc,
           src/CheckExpr.cc/h)        Added code to handle a sky or DETX/Y mask.
                                      NB: ARF generation is supported but the
                                      BACKSCAL value will be wrong for
                                      masked regions (SPR-2090)

Version 1.65.15 - 2004-07-21 (RDS)
------------
        + (src/ConcreteArfDataServer.cc,  Corrects for the ratio of Burst
           src/RatioEeCorrector.cc/h      mode data in extraction window
                                          (SPR-2541)

Version 1.65.14 - 2004-06-15 (RDS)
------------
        + (src/OffCCDPixelIterator.cc)  Ignores pixels outside the FOV.
                                        (SSC-SPR-3338)

Version 1.65.13 - 2004-05-26 (RDS)
------------
        + (src/Detmapfilter.cc)    Fixes problem with axes of type 
                                   AXIS2D1 (SPR-2532)

Version 1.65.12 - 2004-03-17 (RDS)
------------
        + (src/DatafileAttributes.cc)  Attempts to read frame time from 
                                       CCD 2 exposure map to cope with
                                       imaging data from Timing mode obs.

Version 1.65.11 - 2004-03-16 (RDS)
------------
        + (src/ConcreteArfDataServer.cc)  Fixed problem with CCD selection
                                          (SPR-2513)

Version 1.65.10 - 2004-03-08 (RDS)
------------
        + (src/ConcreteArfDataServer.cc)  A dummy spatial area is now only
                                          generated for Timing mode spectra
                                          when the RAW-X and RAW-Y axes are
                                          not selected, otherwise it cause
                                          a problem in backscale.

Version 1.65.9 - 2004-02-23 (RDS)
------------
        + (src/ConcreteArfDataServer.cc)  Specifically set source region
                                          centred on boresight for
                                          Timing/Burst mode obs whether
                                          user has selected an area or not.
        + (doc/arfgen_description.tex)    Explain Timing mode treatment

Version 1.65.8 - 2004-02-11 (RDS)
------------
        + (src/PositionUtils.cc/h)      - removes failure when source box
                                          includes area outside observing
                                          window.

Version 1.65.7 - 2004-02-10 (RDS)
------------
        + (src/OffCCDPixelIterator.cc)  - Only sets Cal CCD state if non zero
                                          to avoid unnecessary warnings.
        + (src/DatafileAttributes.cc/h) - Fixed problem with SUBMODE='Unknown'
                                          for MOS Timing mode data outer CCDs.

Version 1.65.6 - 2004-02-09 (RDS)
------------
        +                            - remove extraneous large file

Version 1.65.5 - 2004-02-04 (RDS)
------------
        + (src/BadPixelCorrector.cc/h) - Forceably remove temporary bad
                                         column file (SCR-SPR-3247)

Version 1.65.4 - 2004-01-21 (RDS)
------------
        + (src/CalCoreData.cc/h)     - new method checkModePattern which
                                       issues a warning if PN Timing mode
                                       data used without patterns 0-4 (SCR-150)

Version 1.65.3 - 2004-01-19 (RDS)
------------
        + (src/PosWCS.cc,h)          - fixed problem with X/Y to DET
                                       coord conversion when sky grid not
                                       centred on optical-axis (SPR-2497)

Version 1.65.2 - 2003-12-19 (RDS)
------------
        + (src/ConcreteArfDataServe.cc) - Fixed problem with filtering
                                          detector map (SPR-2310)
                                          Coarser gridding for large
                                          area calculation (SPR-2274)

Version 1.65.1 - 2003-12-17 (RDS)
------------
        + (src/BadPixelCorrector.cc) - added support for MOS offset columns
                                       (SCR-127)

Version 1.65 - 2003-11-12 (RDS)
------------
        + (src/ConcreteArfDataServer.cc) - fixed bug in readDss which
                                           caused static build runtime problem.

Version 1.64 - 2003-11-11 (RDS)
------------
        + (test/verifyarf)             - remove temp file to avoid
                                         run-time problem (SPR-2475)

Version 1.63 - 2003-11-05 (RDS)
------------
        + (test/Makefile)              - removes files such as core.* 
                                       - during clobber
        + (src/OffCCDPixelIterator.cc) - sets bad if outside observing
                                       - window or FOV (SPR-2450)

Version 1.62 - 2003-11-05 (RDS)
------------
        + (src/OffCCDPixelIterator.cc,  - checks whether pixels lie
               OffCCDPSFCorrector.cc)    - on selected CCDS, and sets them
                                         - bad if not (SPR-2450)

Version 1.61 - 2003-09-16 (RDS)         
------------
        + (src/ConcreteDataServer.cc)  - issues warning if DET and POS
                                         regions defined (SPR-2464)
        + (src/BadPixelCorrector.cc,   - fixed problem when OFFSETS table
          src/BadPixPSFCorrector.cc)     contains 0 records (SPR-2469)
                                         and with OFFSET column calculation
                                         in general (SPR-2470)

Version 1.60 - 2003-09-03 (RDS)
------------
        No change, upload with different number

Version 1.59 - 2003-08-13 (RDS)
------------
        + (src/PositionUtils.cc)     - fixed error in ODF attitude calc.
                                       (SPR-2463)

Version 1.58 - 2003-07-15 (RDS)
------------
        + (src/BadPixelCorrector.cc)     - fixed problem with bad columns
        + (test/testarfgen_pn)           - added new test for bad pixels

Version 1.57 - 2003-07-09 (RDS)
------------
        + (src/RegionFunctions.cc,
           src/ConcreteArfDataServer.cc) - Change for new dsslib API

Version 1.54.10 - 2003-07-03 (RDS)
------------
        + (src/ConcreteArfDataServer.cc) - Added code to convert RAW - DET
        + (src/RegionFunctions.cc/h)       coords for Timing mode (SPR-2452)
        + (src/PositionUtils.cc/h)       - Fixed problem with coordinate
                                           conversions (SPR-2463)

Version 1.54.9 - 2003-04-24 (RDS)
------------
        + (src/BadPixelCorrector.cc/h - handles bad columns (SPR-2367)
        + (test/pnspectrum.ds) - incorrect SUBMODE keyword corrected
        + (src/DatafileAttributes.cc/h) - Restructuring to allow keywords
        + (src/ConcreteArfDataServer.cc) - to be read in one place

Version 1.54.8 - 2003-03-13 (RDS)
------------
        + (src/ConcreteArfDataServer.cc) - allowed polygons (SPR-2401)

Version 1.54.7 - 2003-01-09 (RDS)
------------
        + (src/Detmapfilter.cc) - added DATE-END keyword into rawpixellist.
                                  This is now needed by attcalc.

Version 1.54.6 - 2002-12-18 (RDS)
------------
        + documentation update

Version 1.54.5 - 2002-12-05 (RDS)
------------
        + (config/arfgen.par) - changed default eegridfactor to 50 (SPR-2374)

Version 1.54.4 - 2002-12-02 (RDS)
------------
        + (src/IterEeCorector.cc) - fixed bug with PSF energy interpolation
                                    (SPR-2374)

Version 1.54.3 - 2002-11-25 (RDS)
------------
        + (src/ConcreteArfDataServer.cc) - fixed flag problem (SPR-2372)
                                         - Make the timing mode dummy region
                                           near to the boresight

Version 1.54.2 - 2002-11-12 (RDS)
------------
        + (src/OffCCDPixelIterator.cc,
           src/ConcreteArfDataServer.cc/h) - include support for flags

Version 1.54.1 - 2002-11-05 (RDS)
------------
        + (src/CalCoreData.cc,
           src/CalPsfModel.cc) Support for a quick calculation of the PSF
                               for a box region (for Timing mode) (SPR-2348)

Version 1.54 - 2002-10-30 (RDS)
------------
        Basically a rename of 1.48.11 with a little tidying.

Version 1.48.11 - 2002-09-30 (RDS)
------------
        This is indentical to 1.53 except that it is intended for the
        release track and hence uses the old parameter interface (RDS)

Version 1.53 - 2002-09-19 (RDS)
------------
	+ (src/ConcreteArfDataServer.cc) Added support for timing and burst mode                            - create a false DETX/Y dss region  (SPR-2348)
        + (src/PositionUtils.cc) Added support for source position in
                                 TELescope coords (type="TEL")  (SPR-2347)
        + (src/CalCoreData.cc) Made bad pattern treatment consistent (SPR-2346)
        + (doc/arfgen_description.tex) Explained pattern selection (SPR-2330)

Version 1.52 - 2002-09-13 (RDS)
------------
	+ (src/CalCoreData.cc) Fixed pattern bounds problem (SPR-2340)
	+ (src/Arfgen.cc) Added HDUVERS keywords (SPR-2336)

Version 1.51 - 2002-08-19 (UL)
------------
	+ a few transparent changes to improve C++ standard compliance

Version 1.50   - 2002-08-07 (RDS)
------------------------------
+ (DEPEND)               Added sas package dependency

Version 1.49   - 2002-05-16 (RDS)
------------------------------
+ (config/arfgen.par)    Converted to new parameter system

Version 1.48.9 - 2002-04-22 (RDS)
------------------------------
+ (src/CalCoreData.cc) - remove the error message in the destructor (SPR-2296)

Version 1.48.8 - 2002-04-11 (RDS)
------------------------------
More documentation.

Version 1.48.7 - 2002-03-19 (RDS)
------------------------------
Just documentation.

Version 1.48.6 - 2002-03-8 (RDS)
------------------------------
+ (src/DetmapFilter.cc) - reset the CAL accuracy mode after attcalc

Version 1.48.5 - 2002-02-20 (RDS)
------------------------------
+ (src/ConcreteArfDataServer.cc) Set the window mode in the Cal server
  (src/CalCoreData.cc)           Set number of patterns correctly for PN

Version 1.48.4 - 2002-02-19 (RDS)
------------------------------
+ (src/Areacalc.cc) (SPR-2142 - Q.E. applied spatially)
  (src/CalCoreData.cc/h etc..) (SPR-2047 - removed asserts)

Version 1.48.3 - 2002-02-07 (RDS)
------------------------------
Remove dependency on rmfgen from DEPENDS.

Version 1.48.2 - 2002-02-04 (RDS)
------------------------------
+ (src/ConcreteArfDataServer.cc) (SPR-2144, 2162 - more shapes + box width
                                                   errors )
  (src/ConcreteArfDataServer.cc) Removed the need to add a ':' for the
                                 datamaptype=dataset, dataset definition

Version 1.48.1 - 2002-01-25 (RDS)
------------------------------
+ (src/ConcreteArfDataServer.cc/h, src/OffCCDPixelIterator.cc/h,
   src/OffCCDPSFCorrector.cc) treatment of edge pixels (SPR-2117)
  (src/CalCoreData.cc/h)      (SCR-72 - pattern fractions)

Version 1.48 - 2002-01-23 (RDS)
------------------------------
+ (ConcreteArfDataServer.h, RegionExtent.h/cc,
CalCoreData.h, CoreData.h) - dsslib made non-const (SPR-2162)

Version 1.47 - 2001-12-10 (RDS)
------------------------------
+ (config/arfgen.par,                    
   src/ConcreteArfDataServer.cc,                 
   src/CalCoreData.cc/h,CoreData.h) removed the params withpatterns, 
                                    patternmin, patternmax (SPR-2069)

Version 1.46.1 - 2001-12-05 (RDS)
------------------------------
+ (src/CalCoreData.cc, src/CalPsfModel.cc/h, src/RatioPsfModel.h/cc,
   src/PointEeCorrector.cc, src/PsfModel.h, Makefile) 
                     - new encircled energy CAL implementation (SPR-2233)
- (src/CirclePsfModel.cc/h, DummyPsfModel.cc/h) - removed.

+ (src/ConcreteArfDataServer.cc/h, AreaCalc.cc/h,
   arfgen.par - new param modelootcorr ) - OOT correction (SCR-14, SPR-2198)

Version 1.46 - 2001-10-31 (UL)
------------------------------
+ brought in line with cal-3.121: type of CAMCOORD/TELCOORD coordinates
  changed from single to double precision

Version 1.45  2001-08-06 (RDS)
------------------------------
+   (doc/arfgen_description.tex) - updated and include some CAL errors 
    (src/ConcreteArfDataServer.cc) - solved problem with polygons (SPR-2147)
    (src/CalCoreData.cc/h, src/CirclePsfModel.cc/h) - added support for
           annuli in the circular PSF model (SPR-2048)
    (src/ConcreteArfDataServer.cc,
         RmfEbins.cc...            ) - mods for compiling with optimisation
                                       on (SPR-2134)

Version 1.44.4 2001-05-18 (RDS)
------------------------------
    (doc/arfgen_description.tex) - updated for 5.1 changes (SPR-2033, 2040)
 
Version 1.44.3 2001-05-16 (RDS)
------------------------------
+   (src/AreaCalc.cc) - fix for separated areas causing backscale 
to fail (SPR-2041)
    (src/ConcreteArfDataServer.cc) - doesn't fail for bad Filter if a
    backscale run
    (doc/arfgen_description.tex) - updated for 5.1 changes
 

Version 1.44.2 2001-05-15 (RDS)
------------------------------
+   (src/DetmapFilter.cc) - problem with X/Y defined bad pixels (SPR-2036)

Version 1.44.1 2001-05-08 (RDS)
------------------------------
+   (src/ConcreteArfDataServer.cc,
         OffCCDPixelIterator.cc,
         AreaCalc.cc) - calculating backscale for multiple region (SPR-2020)

Version 1.44 2001-05-02 (RDS)
------------------------------
+ (config/arfgen.par,
   src/ConcreteArfDataServer.cc/h,
       PosWCS.cc/h,
       PositionUtils.cc): Allow calculation of attitude from the RA_PNT,
DEC_PNT, PA_PNT values and not using the attititude values in the OAF.
This is now an option controlled by the parameter useoafatt (SPR-2018)

Version 1.43.1 2001-04-27 (RDS)
------------------------------
+ (src/ConcreteArfDataServer.cc/h,
       OffCCFPsfPixelIterator.cc): Support for different shaped regions
plus multiple regions (SPR-2006)

Version 1.43 2001-04-15 (RDS)
------------------------------
------------------------------
+ (config/arfgen.par): New parameters, withbadpixcorr and badpixlocation, 
to control bad pixel and chip gap corrections (SCR-13)
 
+ (config/arfgen.par): New parameters, backscale and keeparfset, to allow
BACKSCAL setting with the backscale metatask (SCR-28).

+ (src/SetBackScale.cc/h, src/Arfgen.cc): BACKSCAL setting (SCR-28).

+ (src/AreaCalc.cc/h): Calculates mirror areas as fn of position (SPR-1952)
Only calculates Q.E. once to save time (SPR-1975)
 
+ (src/ConcreteArfDataServer.cc/h,
  src/CalCoreData.cc/h,
  src/BadPixPsfCorrector.cc/h,
  src/BadPixelCorrector.cc/h,
  src/BpCorrector.h,
  src/CalCoreData.cc/h,
  src/CompactTablePixelIterator.cc/h,
  src/DetmapFilter.cc/h,
  src/MissingPixCorrector.cc/h,
  src/NullBadPixelCorrector.cc/h,
  src/OffCCDPSFCorrector.cc/h,
  src/OffCCDPixelIterator.cc/h,
  src/PositionUtils.cc/h,
  src/PsfmodelPixelIterator.cc/h,
  src/RatioPsfModel.cc/h): Supports bad pixels and chip gaps (SCR-13, SCR-45)
 
Version 1.42.3 2001-03-15 (HS)
------------------------------

+ (src/ConcreteArfDataServer.cc):
        Calls to WCSConvertor object now uses new WCSConvertor interface, and XY->DETXY conversion improved. (SOC-SPR-1890)
	
+ (src/ConcreteArfDataserver.cc, 
   src/PositionUtils.[cc,h],
   src/CoreData.[cc,h],
   src/CalCoreData.[cc,h],
   src/CalMOSCoreData[.cc,h], 
   src/CalMOSCoreData[.cc,h]): 

	Modified withsourcepos=n code such that sourceposition
	object is created
	after CoreData object is constructed. (SOC-SPR-1956)

+ (src/RegionExtent.[cc,h]): 
	Made region extent computation for regions defined in XY coords more robust (SOC-SPR-1890).

+ (src/RmfEbins.[cc]): 
    Now supports RMF files with matrix table of name 'SPECRESP MATRIX' (SOC-SPR-1946).

+ (test dir): 
    Improved test harness to aid development. Now uses updated test data.

Version 1.42.2 2001-02-26 (RDS)
------------------------------

+ (src/CirclePsfModel.cc/.h): New routines to provide support for a new
PSF implementation in the CAL (SCR-36) 

+ (src/ConcreteArfDataServer.cc/h): Explicitly calls PSF creation routine
                              (SCR-36)

+ (src/CalCoreData.cc/h,CoreData.h): Creates a circular PSF if relevant (SCR-36)

+ (src/CalPsfModel.cc/h): Returns HIGH as its mode (SCR-36)

+ (src/PointEeCorrector.cc): Uses PSF iterator (SCR-36)

+ (src/PsfModel.h): Extra methods (SCR-36)

+ (src/Makefile): Includes new CirclePsfModel class (SCR-36)

Version 1.42.1 2001-02-05 (RDS)
------------------------------

+ (config/arfgen.par): Changed default maptype to 'flat' (SOC-SCR-32)

+ (src/ConcreteArfDataServer.Cc): Exit if no DSS found, if source
position not specified, assume it lies at centre of source box. (SOC-SCR-32)

+ (src/AreaCalc.cc): Output some helptext if detector map is zero (SOC-SCR-32)

+ (test/mosspectrum.ds): Fixed error in DSS coordinates in file

Version 1.42   2000-12-19 (HS)
------------------------------

+ (src/ConcreteArfDataServer.cc): Fixed seg fault when a 'flat' detector map is created. New test harness added to test this. (SOC-SPR-1888)

+ (src/PsfmodelPixelIterator): Fixed bug causing object to assume incorrect y-bounds (SOC-SPR-1889)

+ (src/PsfmodelPixelIterator): Bounds arguments in constructor changed from integer to double. 

	
Version 1.41.13   2000-12-04 (HS)
---------------------------------

+ (src/CalCoreData.cc): Removed temporary fix to the PHI angle introduced in 1.41.11, following identification of root of problem and subsequent changes to the cal package.
	
Version 1.41.12   2000-11-29 (HS/RDS)
---------------------------------

+ (src dir): Previous version contained other redundant changes - modified files such that the only change made is in CalCoreData.cc

Version 1.41.11   2000-11-27 (RDS)
---------------------------------

+ (src/CalCoreData.cc): Added PI to azimuthal angle (PHI) for effective
   area calculation (Hack - no SPR).

Version 1.41.10   2000-11-14 (HS)
---------------------------------

+ (DEPEND): Added emsaplib to list (SOC-SPR-1841)

+ (src/CalPsfModel.cc): Switched PSF model accuracy level
	to HIGH, which leads to a correctly normalised model (SOC-SPR-1840)


Version 1.41.9   2000-11-10 (HS)
------------------------------
+ Removed parameters --datalabel, --photondistset and --modelpileup from code (SOC-SPR-1779).
	
+ (src/ConcreteArfDataServer.cc): PSF/FLAT detector maps by default are automatically sized to the extent of the selected regions (SOC-SPR-1828).

  INTERFACE CHANGE: Added new parameter --withdetbounds. If false (default), then bounds for PSF/FLAT detmaps taken from DSS information.
	
Version 1.41.8   2000-11-02 (HS)
------------------------------
+ (src/CalPsfModel.cc): Fixed bug causing incorrect PSF models being generated for legitimate source positions (SOC-SPR-1818).
	
Version 1.41.7   2000-10-31 (HS)
------------------------------
+ (doc/arfgen_description.tex): Further documentation clean-up (SOC-SPR-1810)

Version 1.41.6   2000-10-30 (HS)
------------------------------
+ (src/ConcreteArfDataServer.cc): Fixed bug resulting in failure to compile under Linux and DEC/OSF (SOC-SPR-1795)
	
+ (src/ConcreteArfDataServer.cc): Fixed bug in referencing wrong parameter name (SOC-SPR-1798)
	
+ (doc/arfgen_description.tex): Added an description for the parameter psfenergy (SOC-SPR-1807)

Version 1.41.5   2000-10-20 (HS)
------------------------------
+ (src dir): Now take into consideration new global attributes
	propagated from attcalc (SOC-SPR-1793).
		
Version 1.41.4   2000-10-19 (HS)
------------------------------
+ (src dir): PSF model now taken from CAL (SOC-SPR-1790). 
	This required an
	INTERFACE CHANGE: new parameter psfenergy.
+ (doc/arfgen_description.tex): Moved Examples section to top of doc.
	Minor re-wording of some points. 
	Renumbered versions in changelog (SOC-SPR-1791).
	
Version 1.41.3   2000-10-15 (HS)
------------------------------
+ (src/IterEeCorrector.cc, test dir): 
	Fixed bug in EE interpolation causing 
	test harness failure on DEC/OSF machines 
	and made minor improvements to test harness (SOC-SPR-1784).
+ (config/arfgen.par): Changed lower limit for parameters 
	eegridfactor, patternmin and patternmax 
	to 1,0 and 0 respectively. (SOC-SPR-1777).
+ (src dir): Cleaned up code (SOC-SPR-1778).
+ (src dir): Cleaned up messages (SOC-SPR-1713).
	

Version 1.41.2   2000-10-14 (HS)
------------------------------
+ (src/CalMOSCoreData.cc): Fixed bug which had resulted in 
	MOS2 spectra being corrected using MOS1 calibration models 
	(SOC-SPR-1774)

+ (src/DetmapFilter.cc): Fixed bug that raised a CAL initialisation 
	warning during the internal attcalc call (SOC-SPR-1776).
	
+ (src dir): Filter transmission correction previously modelled 
	only on-axis sources. 
	This has been fixed to address all possible 
	source positions (SOC-SPR-1775).
	
Version 1.41.1   2000-10-12 (HS)
------------------------------
+ (src/PositionUtils.cc): Fixed bug in converting a source position 
	from DET coordinates to polar (theta, phi) coords. 
	This bug impacted on the offaxis effective area modelling (SOC-SPR-1766).
	
Version 1.41   2000-10-09 (HS)
------------------------------
+ (config doc dir): Increased default size of detmap from 400x400 to 800x800
	
Version 1.40   2000-10-09 (HS)
------------------------------

+ (src dir): Sums QE curves over all patterns defined in DSS
+ (src dir): Raises a warning if selected region extends outside
	bounds of detector map.
	
Version 1.39   2000-10-02 (HS)
------------------------------
+ (test/pnspectrum.ds): Changed filter name to 'THIN1' 
	for compatibility with cal-3.83
+ (config, src dir): INTERFACE CHANGE: added new parameter: filterdss
	
Version 1.37   2000-09-22 (HS)
------------------------------
+ Fixed test harness, which was pointing to wrong cif file.
	
Version 1.36   2000-08-31 (HS)
------------------------------
+ Now makes use of FILTER keyword in spectrum files (SOC-SPR-1733)

+ Now returns a zero arf is source is outside selected region (SOC-SPR-1720)

+ Fixed bug in PSF model description for PN (SOC-SPR-1719)

+ Fixed bug in energy grid in o/p ARF (SOC-SPR-1715)

+ INTERFACE CHANGE: parameters withfilteredset and filteredset added,
	allowing the filtered pixel list used during
	the ARF generation to be analysed later.

+ attcalc no longer called if none of the regions used
	to accumulate the spectrum correspond to X/Y space

+ Added further information about use of detector maps (SOC-SPR-1734)

Version 1.35   2000-08-07 (HS)
------------------------------
+ Now filter detector map based on DSS info stored in spectrum,
	instead of SLCTEXPR attribute.
+ Use filtered detector map in main ARF loop as well as for EE corrn.
+ Fixed bug in WCS mapping defined PsfmodelIterator such that a pixel index maps to the physical coordinates appropriate to the pixel centre as opposed to it's bottom-left corner.
	
Version 1.34   2000-08-03 (HS)
------------------------------
+ Previous upload failed - uploading new version
	
Version 1.33   2000-08-03 (HS)
------------------------------
+ (doc/arfgen_description.tex, src dir): INTERFACE CHANGE added new param 
	withsourcecoords: if set to false, the source position is taken
	from RA_OBJ/DEC_OBJ attributes of the input spectrum
+ (doc/arfgen_description.tex, src dir): INTERFACE CHANGE replaced parameters
	detxmin,detxmax.. with detxoffset, detyoffset. This should
	prevent dummy detmaps being generated which do not include
	the source position. Now raise an error if dataset-based
	detmaps do not include source (SOC-SPR-1599)
+ (doc/arfgen_description.tex, src dir): INTERFACE CHANGE renamed 
	'dummy' detector map option to 'flat'.

+ (src dir): fixed bug resulting in arfgen failing if a detmap
	pixel does not lie on a CCD (SOC-SPR-1687)
	
+ (src dir): fixed bug in type conversion when inputting negative source positions, 
	resulting in a normalisation of zero for psf-type detmaps (SOC-SPR-1699) 
	
	

	
Version 1.32   2000-07-28 (HS)
------------------------------
+ (doc/arfgen_description.tex) datautils-0.6 has removed requirement that detmaps be real-64; doc updated accordingly.

+ (src/ConcreteArfDataServer.cc, doc/arfgen_description.tex): Moved WCS axes check from WCSConvertor class to ConcreteArfDataServer, and renamed error label.
	
Version 1.31   2000-07-28 (HS)
------------------------------
+ (src dir): moved most of the generic pixel list manipulation classes to datautils.
		
Version 1.30   2000-07-18 (HS)
------------------------------
+ (test dir): Cleaned up.

Version 1.29   2000-07-17 (HS)
------------------------------
+ (test/testarfgen_pn): Now works without having to set SAS_ODF prior to test.
+ (src directory): Cleaned MOS/PN code - now share position conversion code in
	           PositionUtils.cc/.h
	
Version 1.28   2000-07-13 (HS)
------------------------------
+ (src directory): Added initial code for PN support.
	
Version 1.27.4 2000-06-30 (HS)
------------------------------
Following wrt SOC-SPR-1597:
+ (DEPEND): added package oal
+ (src/Makefile): added oal to USEDLIBS
+ (doc/arfgen_description.tex): Added discussion of oal usage
	
Version 1.27.3 2000-06-15 (HS)
------------------------------
+ (src/RmfEbins.cc): Now convert RMF energy grid (keV) to intrinsic CAL units of eV (SOC-SPR-1591 : energy grid not read in correctly from RMF (withrmfset=true))
	
Version 1.27.2 2000-06-15 (HS)
------------------------------
+ (doc/arfgen_description.tex): Replaced contructs \kn{A,B,C} with kn{A}, \kn{B}, etc, for all macro types. (SOC-SPR-1566: DOC::improper use of LaTeX macro)
+ (doc/arfgen_description.tex): Removed \task{} macro around another appearance of the task detmapgen (SOC-SPR-1536).

Version 1.27.1 2000-06-15 (HS)
------------------------------
+ (config/Makefile): Added arfgen.info to CONFIGFILES list (SOC-SPR-1505)
+ (config/arfgen.info): Changed GROUPS entry to 'mos spectral' (SOC-SPR-1538)
+ (doc/arfgen_description.tex): Removed \task{} macro around suggested task detmapgen (SOC-SPR-1536)
+ (doc/arfgen_description.tex): Removed \task{} marco around XSPEC (SOC-SPR-1537)

Version 1.27 2000-05-29 (HS)
------------
+ Fixed SPR-1358: arfgen should write ARF table with name 'SPECRESP'\
+ Changed detmap defaults to shorten default execution time by factor 16.
	
Version 1.26 2000-05-25 (HS)
------------
+ INTERFACE CHANGE : removed modelgrating parameter, as
	RGA obscuration wrt MOS spectra is already accounted
	for by CAL_getEffectiveArea
	
Version 1.25 2000-05-19 (HS)
------------
+ INTERFACE CHANGE not backwards compatible with previous release
+ Supports detector maps
+ Source position can be specified in terms of sky or detector coords
+ task description in sync with code.
	
Version 1.24 1999-12-16 (HS)
------------
- fixed depend file (no longer mentions patch extension to version no.)
	
Version 1.23 1999-10-29 (HS)
------------
- compatible with cal-1.31

Version 1.22 1999-09-23 (HS)
------------

- compatible with rmfgen-1.29
- added .lyt file, and extendedsource param in configuration file (not yet used in task)
	
Version 1.21 1999-09-15 (HS)
------------
- Closed SPR-111:Make arfgen documentation more 'user-friendly'
	
Version 1.20 1999-09-06 (HS)
------------
- local latex commands removed.

Version 1.19 1999-08-20 (HS/UL)
------------

- now compatible with cal-3.15.
	
- updated documentation. detectorlut task now included.

Version 1.18 1999-07-26 (HS)
------------
- CLOSED SPR-715: "Problems building (static link?)", by placing the arfgen library first in the USELIBS variable defn in test/Makefile

- renamed detectormap to detectorlut

- made a draft update to documentation

Version 1.17 1999-06-24 (HS)
------------
- renamed parameters according to SAS convention. 

- Added two extra parameters, withascregion and ascregionset, 
	to support ASC region files. This is required by BACKCORR.
	These parameters are currently ignored by code.
	
Version 1.16 1999-06-08 (HS)
------------
- CLOSED SPR-682: arfgen.cc: wrong C++ semantics results in multiple copies
	
Version 1.15 1999-06-08 (HS)
------------
- Fixed DEPEND file to reference responselib-0.9              

Version 1.14 1999-06-07 (HS)
------------
- Made compatible with cal-3.0              

Version 1.13 1999-05-27 (HS)
------------
- Fixed HUGE_VAL bug raised by Achim Bohnet

Version 1.12 1999-05-20 (HS)
------------
- Made compatible with error-1.18

Version 1.11 1999-04-27 (HS)
------------
- Made compatible with CAL-2.19

Version 1.10 1999-03-26 (MB)
------------
- added test files, removed commands that create them with deceit

Version 1.9 -   22-02-1999
-----------
- Code now compatible with cal-2.4 and dal-1.43

Version 1.8 -   09-02-1999
-----------
- Code now compatible with CAL-1.21
- Problems with DAL SubTableProcessor (DAL-1.41). No longer inherit
	from this class.

Version 1.7 -   04-02-1999
-----------
- Ported code to C++
- Added pile-up algorithm

Version 1.6  -  29-01-1999
-----------
- Fixed further bug in rectangularSpec.cc

Version 1.5  -  29-01-1999
-----------
- Fixed unsigned int/int clash in rectangularSpec.cc
	
Version 1.4  -  12-11-1998
-----------
- Added filledcolumnfns library to arfgen package. This library was originally
	part of rmfgen but was no longer required after rmfgen was ported 
	to C++.

Version 1.3   - 24-09-1998
-----------
- File names changed to type f in parameter file (MB).

Version 1.2  -  03-06-98
-----------
- Changed variables row and energy from int16 to standard integers. 
	This corrects the NAGACE compiler problem raised 
	by J Ballet (2 June 1998)

Version 1.1  -  20-05-98
-----------
- closed SOC-SPR-208 : use module variables to pass parameters from arfgen to get_arf
- closed SOC-SPR-209 : do not check SAS_DIR and/or source sas-setup.csh (test/testarfgen)
- The following SPRs have been closed as a consequence of changes made for the package sas-1.1: 

	SOC-SPR-207 : remove config/arfgen.prm

Version 1.0  -  04-05-98
-----------
- Initial version for SAS v1 integration