Heidi:
I was unable to locate a baptismal record for Hugh on Roots Ireland. Roots has very few Church of Ireland and Presbyterian records for Co. Tyrone.
I was able to locate the civil marriage index record for the marriage of Hugh and Sarah. The actual record will show the names of the fathers of Hugh and Sarah ( I know you have George) and where the bride and groom were living in 1850.You can go to the GRONI site to get the record.
https://geni.nidirect.gov.uk/
Roger McDonnell
First name(s) Hugh
Last name Anderson
Registration year 1850
Registered Quarter/Year 1850
Registration district Cookstown
Volume 4
Page 268
County -
MarriageFinder? Hugh Anderson married one of these people
Eliza Jane Gray, Anne Hamilton, Sarah Bell