This subroutine extracts from the DSS the sequence of GTIs used to filter events on a specified CCD chip. (The routine assumes that all events which occur on a given CCD chip share a common GTI selection.)
The pointer gti() should be deallocated after use.
subroutine readGtis(set, inBlock, ccdNum, gti)
type(DataSetT), intent(in) :: set
type(BlockT), intent(in) :: inBlock
integer, intent(in) :: ccdNum
type(IntervalT), pointer :: gti(:)
end subroutine readGtis