added functionality for CLAS6 data