return 0;
List<Precursor> precursorList = precursorListElement.getPrecursor();
for (Precursor parent : precursorList) {
SelectedIonList selectedIonListElement = parent
.getSelectedIonList();
if ((selectedIonListElement == null)
|| (selectedIonListElement.getCount().equals(0)))
return 0;
List<ParamGroup> selectedIonParams = selectedIonListElement
.getSelectedIon();
if (selectedIonParams == null)
continue;
for (ParamGroup pg : selectedIonParams) {