FUNCTION  fGetObjectsEq

A helper function for SDSS cutout that returns all objects within a certain radius of an (ra,dec)

Photo objects are filtered to have magnitude greater than 24-1.5*zoom so that the image is not too cluttered (and the anwswer set is not too large).
(@flag&1)>0 display specObj ...
(@flag&2)>0 display photoPrimary bright enough for zoom
(@flag&4)>0 display Target
(@flag&8)>0 display Mask
(@flag&16)>0 display Plate
(@flag&32)>0 display PhotoObjAll
thus: @flag=7 will display all three of specObj, PhotoObj and Target the returned objects have flag = (specobj:1, photoobj:2, target:4, mask:8, plate:16)

Input and output parameters

nametypelengthinoutpnum
@flagint4input1
@rafloat8input2
@decfloat8input3
@rfloat8input4
@zoomfloat8input5
flagint4output3
rafloat8output1
decfloat8output2
objidbigint8output4