code: public static List<SecStrucInfo> getSecStrucInfo(Structure s) {
  
  		List<SecStrucInfo> listSSI = new ArrayList<SecStrucInfo>();
  		GroupIterator iter = new GroupIterator(s);
  
  		while (iter.hasNext()) {
  			Group g = iter.next();
  			if (g.hasAminoAtoms()) {
  				Object p = g.getProperty(Group.SEC_STRUC);
  				if (!(p == null)) {
  					SecStrucInfo ss = (SecStrucInfo) p;
  					listSSI.add(ss);
  				}
  			}
  		}
  
  		return listSSI;
  	}
docs: Obtain the List of secondary structure information (SecStrucInfo) of a
  Structure.
  
  @param s
  Structure with SS assignments
  @return List of SecStrucInfo objects