Added boolean to define if setting the histo type worked.