Hierarchical clustering and the baryon distribution in galaxy clusters | Synapse