I agree with Tambe.if one wants to determine the structure from the fragment patterns. If one is interested in using library matches, there are articles concerning the algorithms used in making the match and the starting place would be McLafferty's papers.