added DetTypeRec class to measure recoTime