The pipe that feeds into the sprinkler system is connected to the water main close to the main shutoff valve with a T-shaped connector.