A panel looking at expanding passenger rail service from Boston to western Massachusetts held a public hearing in Greenfield Tuesday.