I've created several content type that inherit from the document content type in the site content type lists. Please refer to the image below

How do I get these these content type pro-grammatically. Basically what I wants to do is to show these content type in a drop down lists so that the user can select which document library to upload a file to. I'm stuck at there
using (SPSite site = new SPSite(SPContext.Current.Site.Url))
{
using (SPWeb web = site.OpenWeb())
{
SPContentType documentContentType = web.AvailableContentTypes[SPBuiltInContentTypeId.Document];
}
}
Please provide some guidance. Thanks