status=true calculate region_centre in detector coords find CCD number for this detector position if (region_centre outside observing window for this CCD) { status = false } return status