Ring imaging Cherenkov detector