Is the cogwheel ride an important part of your tours. I see some tours use it and some don’t mention it
The tour company arranges it's own transport via bus. You can do the tour yourself. Since the vineyard is in the valley the train is not conducive.
Get an answer from Montserrat and Oller del Mas Winery Tour from Barcelona staff and past guests.
3 Days in Barcelona
BCN in a few days
One Day in Barcelona