Membership and seismic analysis of red giants in open clusters, a study of M67, Ruprecht 147 and NGC2158.