\begin{thebibliography}{10} \expandafter\ifx\csname url\endcsname\relax \def\url#1{\texttt{#1}}\fi \expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi \providecommand{\bibinfo}[2]{#2} \providecommand{\eprint}[2][]{\url{#2}} \bibitem{Peebles1970} \bibinfo{author}{{Peebles}, P.~J.~E.} \newblock \bibinfo{title}{{Structure of the Coma Cluster of Galaxies}}. \newblock \emph{\bibinfo{journal}{\aj}} \textbf{\bibinfo{volume}{75}}, \bibinfo{pages}{13--20} (\bibinfo{year}{1970}). \bibitem{Miyoshi1975} \bibinfo{author}{{Miyoshi}, K.} \& \bibinfo{author}{{Kihara}, T.} \newblock \bibinfo{title}{{Development of the correlation of galaxies in an expanding universe}}. \newblock \emph{\bibinfo{journal}{\pasj}} \textbf{\bibinfo{volume}{27}}, \bibinfo{pages}{333--346} (\bibinfo{year}{1975}). \bibitem{White1976} \bibinfo{author}{{White}, S.~D.~M.} \newblock \bibinfo{title}{{The dynamics of rich clusters of galaxies}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{177}}, \bibinfo{pages}{717--733} (\bibinfo{year}{1976}). \bibitem{Aarseth1979} \bibinfo{author}{{Aarseth}, S.~J.}, \bibinfo{author}{{Turner}, E.~L.} \& \bibinfo{author}{{Gott}, J.~R.} \newblock \bibinfo{title}{{N-body simulations of galaxy clustering. I - Initial conditions and galaxy collapse times}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{228}}, \bibinfo{pages}{664--683} (\bibinfo{year}{1979}). \bibitem{Efstathiou1981} \bibinfo{author}{{Efstathiou}, G.} \& \bibinfo{author}{{Eastwood}, J.~W.} \newblock \bibinfo{title}{{On the clustering of particles in an expanding universe}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{194}}, \bibinfo{pages}{503--525} (\bibinfo{year}{1981}). \bibitem{Davis1985} \bibinfo{author}{{Davis}, M.}, \bibinfo{author}{{Efstathiou}, G.}, \bibinfo{author}{{Frenk}, C.~S.} \& \bibinfo{author}{{White}, S.~D.~M.} \newblock \bibinfo{title}{{The evolution of large-scale structure in a universe dominated by cold dark matter}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{292}}, \bibinfo{pages}{371--394} (\bibinfo{year}{1985}). \bibitem{White1987} \bibinfo{author}{{White}, S.~D.~M.}, \bibinfo{author}{{Frenk}, C.~S.}, \bibinfo{author}{{Davis}, M.} \& \bibinfo{author}{{Efstathiou}, G.} \newblock \bibinfo{title}{{Clusters, filaments, and voids in a universe dominated by cold dark matter}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{313}}, \bibinfo{pages}{505--516} (\bibinfo{year}{1987}). \bibitem{Carlberg1989} \bibinfo{author}{{Carlberg}, R.~G.} \& \bibinfo{author}{{Couchman}, H.~M.~P.} \newblock \bibinfo{title}{{Mergers and bias in a cold dark matter cosmology}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{340}}, \bibinfo{pages}{47--68} (\bibinfo{year}{1989}). \bibitem{Suto1991} \bibinfo{author}{{Suto}, Y.} \& \bibinfo{author}{{Suginohara}, T.} \newblock \bibinfo{title}{{Redshift-space correlation functions in the cold dark matter scenario}}. \newblock \emph{\bibinfo{journal}{\apjl}} \textbf{\bibinfo{volume}{370}}, \bibinfo{pages}{L15--L18} (\bibinfo{year}{1991}). \bibitem{Warren1992} \bibinfo{author}{{Warren}, M.~S.}, \bibinfo{author}{{Quinn}, P.~J.}, \bibinfo{author}{{Salmon}, J.~K.} \& \bibinfo{author}{{Zurek}, W.~H.} \newblock \bibinfo{title}{{Dark halos formed via dissipationless collapse. I - Shapes and alignment of angular momentum}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{399}}, \bibinfo{pages}{405--425} (\bibinfo{year}{1992}). \bibitem{Gelb1994} \bibinfo{author}{{Gelb}, J.~M.} \& \bibinfo{author}{{Bertschinger}, E.} \newblock \bibinfo{title}{{Cold dark matter. 1: The formation of dark halos}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{436}}, \bibinfo{pages}{467--490} (\bibinfo{year}{1994}). \bibitem{Zurek1994} \bibinfo{author}{{Zurek}, W.~H.}, \bibinfo{author}{{Quinn}, P.~J.}, \bibinfo{author}{{Salmon}, J.~K.} \& \bibinfo{author}{{Warren}, M.~S.} \newblock \bibinfo{title}{{Large-scale structure after COBE: Peculiar velocities and correlations of cold dark matter halos}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{431}}, \bibinfo{pages}{559--568} (\bibinfo{year}{1994}). \bibitem{Jenkins1998} \bibinfo{author}{{Jenkins}, A.} \emph{et~al.} \newblock \bibinfo{title}{{Evolution of Structure in Cold Dark Matter Universes}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{499}}, \bibinfo{pages}{20--40} (\bibinfo{year}{1998}). \bibitem{Governato1999} \bibinfo{author}{{Governato}, F.} \emph{et~al.} \newblock \bibinfo{title}{{Properties of galaxy clusters: mass and correlation functions}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{307}}, \bibinfo{pages}{949--966} (\bibinfo{year}{1999}). \bibitem{Bode2001} \bibinfo{author}{{Bode}, P.}, \bibinfo{author}{{Bahcall}, N.~A.}, \bibinfo{author}{{Ford}, E.~B.} \& \bibinfo{author}{{Ostriker}, J.~P.} \newblock \bibinfo{title}{{Evolution of the Cluster Mass Function: GPC{$^{3}$} Dark Matter Simulations}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{551}}, \bibinfo{pages}{15--22} (\bibinfo{year}{2001}). \bibitem{Colberg2000} \bibinfo{author}{{Colberg}, J.~M.} \emph{et~al.} \newblock \bibinfo{title}{{Clustering of galaxy clusters in cold dark matter universes}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{319}}, \bibinfo{pages}{209--214} (\bibinfo{year}{2000}). \bibitem{Wambsganss2004} \bibinfo{author}{{Wambsganss}, J.}, \bibinfo{author}{{Bode}, P.} \& \bibinfo{author}{{Ostriker}, J.~P.} \newblock \bibinfo{title}{{Giant Arc Statistics in Concord with a Concordance Lambda Cold Dark Matter Universe}}. \newblock \emph{\bibinfo{journal}{\apjl}} \textbf{\bibinfo{volume}{606}}, \bibinfo{pages}{L93--L96} (\bibinfo{year}{2004}). \bibitem{Klypin1983} \bibinfo{author}{{Klypin}, A.~A.} \& \bibinfo{author}{{Shandarin}, S.~F.} \newblock \bibinfo{title}{{Three-dimensional numerical model of the formation of large-scale structure in the Universe}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{204}}, \bibinfo{pages}{891--907} (\bibinfo{year}{1983}). \bibitem{White1983} \bibinfo{author}{{White}, S.~D.~M.}, \bibinfo{author}{{Frenk}, C.~S.} \& \bibinfo{author}{{Davis}, M.} \newblock \bibinfo{title}{{Clustering in a neutrino-dominated universe}}. \newblock \emph{\bibinfo{journal}{\apjl}} \textbf{\bibinfo{volume}{274}}, \bibinfo{pages}{L1--L5} (\bibinfo{year}{1983}). \bibitem{Centrella1983} \bibinfo{author}{{Centrella}, J.} \& \bibinfo{author}{{Melott}, A.~L.} \newblock \bibinfo{title}{{Three-dimensional simulation of large-scale structure in the universe}}. \newblock \emph{\bibinfo{journal}{\nat}} \textbf{\bibinfo{volume}{305}}, \bibinfo{pages}{196--198} (\bibinfo{year}{1983}). \bibitem{Park1990} \bibinfo{author}{{Park}, C.} \newblock \bibinfo{title}{{Large N-body simulations of a universe dominated by cold dark matter}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{242}}, \bibinfo{pages}{59P--61P} (\bibinfo{year}{1990}). \bibitem{Bertschinger1991} \bibinfo{author}{{Bertschinger}, E.} \& \bibinfo{author}{{Gelb}, J.~M.} \newblock \bibinfo{title}{{Cosmological N-body simulations}}. \newblock \emph{\bibinfo{journal}{Computers in Physics}} \textbf{\bibinfo{volume}{5}}, \bibinfo{pages}{164--175} (\bibinfo{year}{1991}). \bibitem{Bardeen1986} \bibinfo{author}{{Bardeen}, J.~M.}, \bibinfo{author}{{Bond}, J.~R.}, \bibinfo{author}{{Kaiser}, N.} \& \bibinfo{author}{{Szalay}, A.~S.} \newblock \bibinfo{title}{{The statistics of peaks of Gaussian random fields}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{304}}, \bibinfo{pages}{15--61} (\bibinfo{year}{1986}). \bibitem{Seljak1996} \bibinfo{author}{{Seljak}, U.} \& \bibinfo{author}{{Zaldarriaga}, M.} \newblock \bibinfo{title}{{A Line-of-Sight Integration Approach to Cosmic Microwave Background Anisotropies}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{469}}, \bibinfo{pages}{437--444} (\bibinfo{year}{1996}). \bibitem{Spergel2003} \bibinfo{author}{{Spergel}, D.~N.} \emph{et~al.} \newblock \bibinfo{title}{{First-Year Wilkinson Microwave Anisotropy Probe (WMAP) Observations: Determination of Cosmological Parameters}}. \newblock \emph{\bibinfo{journal}{\apjs}} \textbf{\bibinfo{volume}{148}}, \bibinfo{pages}{175--194} (\bibinfo{year}{2003}). \bibitem{Seljak2004} \bibinfo{author}{Seljak, U.} \emph{et~al.} \newblock \bibinfo{title}{{Cosmological parameter analysis including SDSS Ly-alpha forest and galaxy bias: constraints on the primordial spectrum of fluctuations, neutrino mass, and dark energy}}. \newblock \emph{\bibinfo{journal}{PRD, submitted, {\em astro-ph/0407372}}} (\bibinfo{year}{2004}). \bibitem{White1996} \bibinfo{author}{White, S. D.~M.} \newblock \bibinfo{title}{Formation and evolution of galaxies: Les houches lectures}. \newblock In \bibinfo{editor}{Schaefer, R.}, \bibinfo{editor}{Silk, J.}, \bibinfo{editor}{Spiro, M.} \& \bibinfo{editor}{Zinn-Justin, J.} (eds.) \emph{\bibinfo{booktitle}{Cosmology and Large-Scale Structure}} (\bibinfo{publisher}{Dordrecht: Elsevier, astro-ph/9410043}, \bibinfo{year}{1996}). \bibitem{Hernquist1993} \bibinfo{author}{{Hernquist}, L.}, \bibinfo{author}{{Hut}, P.} \& \bibinfo{author}{{Makino}, J.} \newblock \bibinfo{title}{{Discreteness Noise versus Force Errors in N-Body Simulations}}. \newblock \emph{\bibinfo{journal}{\apjl}} \textbf{\bibinfo{volume}{402}}, \bibinfo{pages}{L85--L88} (\bibinfo{year}{1993}). \bibitem{Springel2001} \bibinfo{author}{{Springel}, V.}, \bibinfo{author}{{Yoshida}, N.} \& \bibinfo{author}{{White}, S.~D.~M.} \newblock \bibinfo{title}{{GADGET: a code for collisionless and gasdynamical cosmological simulations}}. \newblock \emph{\bibinfo{journal}{New Astronomy}} \textbf{\bibinfo{volume}{6}}, \bibinfo{pages}{79--117} (\bibinfo{year}{2001}). \bibitem{Xu1995} \bibinfo{author}{{Xu}, G.} \newblock \bibinfo{title}{{A New Parallel N-Body Gravity Solver: TPM}}. \newblock \emph{\bibinfo{journal}{\apjs}} \textbf{\bibinfo{volume}{98}}, \bibinfo{pages}{355--366} (\bibinfo{year}{1995}). \bibitem{Bode2000} \bibinfo{author}{{Bode}, P.}, \bibinfo{author}{{Ostriker}, J.~P.} \& \bibinfo{author}{{Xu}, G.} \newblock \bibinfo{title}{{The Tree Particle-Mesh N-Body Gravity Solver}}. \newblock \emph{\bibinfo{journal}{\apjs}} \textbf{\bibinfo{volume}{128}}, \bibinfo{pages}{561--569} (\bibinfo{year}{2000}). \bibitem{Bagla2002} \bibinfo{author}{{Bagla}, J.~S.} \newblock \bibinfo{title}{{TreePM: A Code for Cosmological N-Body Simulations}}. \newblock \emph{\bibinfo{journal}{Journal of Astrophysics and Astronomy}} \textbf{\bibinfo{volume}{23}}, \bibinfo{pages}{185--196} (\bibinfo{year}{2002}). \bibitem{Barnes1986} \bibinfo{author}{{Barnes}, J.} \& \bibinfo{author}{{Hut}, P.} \newblock \bibinfo{title}{{A Hierarchical O(NlogN) Force-Calculation Algorithm}}. \newblock \emph{\bibinfo{journal}{\nat}} \textbf{\bibinfo{volume}{324}}, \bibinfo{pages}{446--449} (\bibinfo{year}{1986}). \bibitem{Hockney1981} \bibinfo{author}{{Hockney}, R.~W.} \& \bibinfo{author}{{Eastwood}, J.~W.} \newblock \emph{\bibinfo{title}{{Computer Simulation Using Particles}}} (\bibinfo{publisher}{New York: McGraw-Hill, 1981}, \bibinfo{year}{1981}). \bibitem{Salmon1994} \bibinfo{author}{Salmon, J.~K.} \& \bibinfo{author}{Warren, M.~S.} \newblock \bibinfo{title}{Skeletons from the treecode closet}. \newblock \emph{\bibinfo{journal}{J. Comp. Phys.}} \textbf{\bibinfo{volume}{111}}, \bibinfo{pages}{136} (\bibinfo{year}{1994}). \bibitem{Duncan1998} \bibinfo{author}{{Duncan}, M.~J.}, \bibinfo{author}{{Levison}, H.~F.} \& \bibinfo{author}{{Lee}, M.~H.} \newblock \bibinfo{title}{{A Multiple Time Step Symplectic Algorithm for Integrating Close Encounters}}. \newblock \emph{\bibinfo{journal}{\aj}} \textbf{\bibinfo{volume}{116}}, \bibinfo{pages}{2067--2077} (\bibinfo{year}{1998}). \bibitem{Ghigna1998} \bibinfo{author}{{Ghigna}, S.} \emph{et~al.} \newblock \bibinfo{title}{{Dark matter haloes within clusters}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{300}}, \bibinfo{pages}{146--162} (\bibinfo{year}{1998}). \bibitem{Springel2001b} \bibinfo{author}{{Springel}, V.}, \bibinfo{author}{{White}, S.~D.~M.}, \bibinfo{author}{{Tormen}, G.} \& \bibinfo{author}{{Kauffmann}, G.} \newblock \bibinfo{title}{{Populating a cluster of galaxies - I. Results at z=0}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{328}}, \bibinfo{pages}{726--750} (\bibinfo{year}{2001}). \bibitem{White1991} \bibinfo{author}{{White}, S.~D.~M.} \& \bibinfo{author}{{Frenk}, C.~S.} \newblock \bibinfo{title}{{Galaxy formation through hierarchical clustering}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{379}}, \bibinfo{pages}{52--79} (\bibinfo{year}{1991}). \bibitem{Kauffmann1993} \bibinfo{author}{{Kauffmann}, G.}, \bibinfo{author}{{White}, S.~D.~M.} \& \bibinfo{author}{{Guiderdoni}, B.} \newblock \bibinfo{title}{{The Formation and Evolution of Galaxies Within Merging Dark Matter Haloes}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{264}}, \bibinfo{pages}{201--218} (\bibinfo{year}{1993}). \bibitem{Cole1994} \bibinfo{author}{{Cole}, S.}, \bibinfo{author}{{Aragon-Salamanca}, A.}, \bibinfo{author}{{Frenk}, C.~S.}, \bibinfo{author}{{Navarro}, J.~F.} \& \bibinfo{author}{{Zepf}, S.~E.} \newblock \bibinfo{title}{{A Recipe for Galaxy Formation}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{271}}, \bibinfo{pages}{781--806} (\bibinfo{year}{1994}). \bibitem{Kauffmann1996} \bibinfo{author}{{Kauffmann}, G.} \newblock \bibinfo{title}{{The age of elliptical galaxies and bulges in a merger model}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{281}}, \bibinfo{pages}{487--492} (\bibinfo{year}{1996}). \bibitem{Kauffmann1997} \bibinfo{author}{{Kauffmann}, G.}, \bibinfo{author}{{Nusser}, A.} \& \bibinfo{author}{{Steinmetz}, M.} \newblock \bibinfo{title}{{Galaxy formation and large-scale bias}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{286}}, \bibinfo{pages}{795--811} (\bibinfo{year}{1997}). \bibitem{Baugh1998} \bibinfo{author}{{Baugh}, C.~M.}, \bibinfo{author}{{Cole}, S.}, \bibinfo{author}{{Frenk}, C.~S.} \& \bibinfo{author}{{Lacey}, C.~G.} \newblock \bibinfo{title}{{The Epoch of Galaxy Formation}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{498}}, \bibinfo{pages}{504--521} (\bibinfo{year}{1998}). \bibitem{Sommerville1999} \bibinfo{author}{{Somerville}, R.~S.} \& \bibinfo{author}{{Primack}, J.~R.} \newblock \bibinfo{title}{{Semi-analytic modelling of galaxy formation: the local Universe}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{310}}, \bibinfo{pages}{1087--1110} (\bibinfo{year}{1999}). \bibitem{Cole2000} \bibinfo{author}{{Cole}, S.}, \bibinfo{author}{{Lacey}, C.~G.}, \bibinfo{author}{{Baugh}, C.~M.} \& \bibinfo{author}{{Frenk}, C.~S.} \newblock \bibinfo{title}{{Hierarchical galaxy formation}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{319}}, \bibinfo{pages}{168--204} (\bibinfo{year}{2000}). \bibitem{Benson2002} \bibinfo{author}{{Benson}, A.~J.}, \bibinfo{author}{{Lacey}, C.~G.}, \bibinfo{author}{{Baugh}, C.~M.}, \bibinfo{author}{{Cole}, S.} \& \bibinfo{author}{{Frenk}, C.~S.} \newblock \bibinfo{title}{{The effects of photoionization on galaxy formation - I. Model and results at z=0}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{333}}, \bibinfo{pages}{156--176} (\bibinfo{year}{2002}). \bibitem{Kauffmann1993tree} \bibinfo{author}{{Kauffmann}, G.} \& \bibinfo{author}{{White}, S.~D.~M.} \newblock \bibinfo{title}{{The merging history of dark matter haloes in a hierarchical universe.}} \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{261}}, \bibinfo{pages}{921--928} (\bibinfo{year}{1993}). \bibitem{Somerville1999tree} \bibinfo{author}{{Somerville}, R.~S.} \& \bibinfo{author}{{Kolatt}, T.~S.} \newblock \bibinfo{title}{{How to plant a merger tree}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{305}}, \bibinfo{pages}{1--14} (\bibinfo{year}{1999}). \bibitem{Kauffmann1999} \bibinfo{author}{{Kauffmann}, G.}, \bibinfo{author}{{Colberg}, J.~M.}, \bibinfo{author}{{Diaferio}, A.} \& \bibinfo{author}{{White}, S.~D.~M.} \newblock \bibinfo{title}{{Clustering of galaxies in a hierarchical universe - I. Methods and results at z=0}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{303}}, \bibinfo{pages}{188--206} (\bibinfo{year}{1999}). \bibitem{Croton2005} \bibinfo{author}{Croton, D.~J.}, \bibinfo{author}{{White}, S.~D.~M.}, \bibinfo{author}{{Springel}, V.} \& \bibinfo{author}{{et al.}} \newblock \bibinfo{title}{{The many lives of AGN: super-massive black holes, cooling flows, galaxy colours and luminosities}}. \newblock \emph{\bibinfo{journal}{\mnras}} \bibinfo{pages}{in preparation} (\bibinfo{year}{2005}). \bibitem{Gnedin2000} \bibinfo{author}{{Gnedin}, N.~Y.} \newblock \bibinfo{title}{{Cosmological Reionization by Stellar Sources}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{535}}, \bibinfo{pages}{530--554} (\bibinfo{year}{2000}). \bibitem{Kravtsov2004} \bibinfo{author}{{Kravtsov}, A.~V.}, \bibinfo{author}{{Gnedin}, O.~Y.} \& \bibinfo{author}{{Klypin}, A.~A.} \newblock \bibinfo{title}{{The Tumultuous Lives of Galactic Dwarfs and the Missing Satellites Problem}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{609}}, \bibinfo{pages}{482--497} (\bibinfo{year}{2004}). \bibitem{Yoshida2002} \bibinfo{author}{{Yoshida}, N.}, \bibinfo{author}{{Stoehr}, F.}, \bibinfo{author}{{Springel}, V.} \& \bibinfo{author}{{White}, S.~D.~M.} \newblock \bibinfo{title}{{Gas cooling in simulations of the formation of the galaxy population}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{335}}, \bibinfo{pages}{762--772} (\bibinfo{year}{2002}). \bibitem{Helly2003} \bibinfo{author}{{Helly}, J.~C.} \emph{et~al.} \newblock \bibinfo{title}{{A comparison of gas dynamics in smooth particle hydrodynamics and semi-analytic models of galaxy formation}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{338}}, \bibinfo{pages}{913--925} (\bibinfo{year}{2003}). \bibitem{Forcado1997} \bibinfo{author}{{Forcado-Miro}, M.~I.} \& \bibinfo{author}{{White}, S.~D.~M.} \newblock \bibinfo{title}{{Radiative shocks in galaxy formation. I: Cooling of a primordial plasma with no sources of heating.}} \bibinfo{pages}{astro--ph/9712204} (\bibinfo{year}{1997}). \bibitem{Birnboim2003} \bibinfo{author}{{Birnboim}, Y.} \& \bibinfo{author}{{Dekel}, A.} \newblock \bibinfo{title}{{Virial shocks in galactic haloes?}} \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{345}}, \bibinfo{pages}{349--364} (\bibinfo{year}{2003}). \bibitem{Keres2004} \bibinfo{author}{Keres, D.}, \bibinfo{author}{Katz, N.}, \bibinfo{author}{Weinberg, D.~H.} \& \bibinfo{author}{Dave, R.} \newblock \bibinfo{title}{{How Do Galaxies Get Their Gas?}} \newblock \emph{\bibinfo{journal}{\mnras}} \bibinfo{pages}{astro--ph/0407095} (\bibinfo{year}{2004}). \bibitem{Mo1998} \bibinfo{author}{{Mo}, H.~J.}, \bibinfo{author}{{Mao}, S.} \& \bibinfo{author}{{White}, S.~D.~M.} \newblock \bibinfo{title}{{The formation of galactic discs}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{295}}, \bibinfo{pages}{319--336} (\bibinfo{year}{1998}). \bibitem{Kauffmann1996b} \bibinfo{author}{{Kauffmann}, G.} \newblock \bibinfo{title}{{Disc galaxies at z=0 and at high redshift: an explanation of the observed evolution of damped Lyalpha absorption systems}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{281}}, \bibinfo{pages}{475--486} (\bibinfo{year}{1996}). \bibitem{Kennicutt1989} \bibinfo{author}{{Kennicutt}, R.~C.} \newblock \bibinfo{title}{{The star formation law in galactic disks}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{344}}, \bibinfo{pages}{685--703} (\bibinfo{year}{1989}). \bibitem{Kennicutt1998} \bibinfo{author}{{Kennicutt}, R.~C.} \newblock \bibinfo{title}{{The Global Schmidt Law in Star-forming Galaxies}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{498}}, \bibinfo{pages}{541--552} (\bibinfo{year}{1998}). \bibitem{Dekel1986} \bibinfo{author}{{Dekel}, A.} \& \bibinfo{author}{{Silk}, J.} \newblock \bibinfo{title}{{The origin of dwarf galaxies, cold dark matter, and biased galaxy formation}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{303}}, \bibinfo{pages}{39--55} (\bibinfo{year}{1986}). \bibitem{Martin1999} \bibinfo{author}{{Martin}, C.~L.} \newblock \bibinfo{title}{{Properties of Galactic Outflows: Measurements of the Feedback from Star Formation}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{513}}, \bibinfo{pages}{156--160} (\bibinfo{year}{1999}). \bibitem{Simien1986} \bibinfo{author}{{Simien}, F.} \& \bibinfo{author}{{de Vaucouleurs}, G.} \newblock \bibinfo{title}{{Systematics of bulge-to-disk ratios}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{302}}, \bibinfo{pages}{564--578} (\bibinfo{year}{1986}). \bibitem{Mihos1994} \bibinfo{author}{{Mihos}, J.~C.} \& \bibinfo{author}{{Hernquist}, L.} \newblock \bibinfo{title}{{Triggering of starbursts in galaxies by minor mergers}}. \newblock \emph{\bibinfo{journal}{\apjl}} \textbf{\bibinfo{volume}{425}}, \bibinfo{pages}{L13--L16} (\bibinfo{year}{1994}). \bibitem{Mihos1996} \bibinfo{author}{{Mihos}, J.~C.} \& \bibinfo{author}{{Hernquist}, L.} \newblock \bibinfo{title}{{Gasdynamics and Starbursts in Major Mergers}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{464}}, \bibinfo{pages}{641--663} (\bibinfo{year}{1996}). \bibitem{Cox2004} \bibinfo{author}{{Cox}, T.~J.}, \bibinfo{author}{{Primack}, J.}, \bibinfo{author}{{Jonsson}, P.} \& \bibinfo{author}{{Somerville}, R.~S.} \newblock \bibinfo{title}{{Generating Hot Gas in Simulations of Disk-Galaxy Major Mergers}}. \newblock \emph{\bibinfo{journal}{\apjl}} \textbf{\bibinfo{volume}{607}}, \bibinfo{pages}{L87--L90} (\bibinfo{year}{2004}). \bibitem{Bruzual1993} \bibinfo{author}{{Bruzual A.}, G.} \& \bibinfo{author}{{Charlot}, S.} \newblock \bibinfo{title}{{Spectral evolution of stellar populations using isochrone synthesis}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{405}}, \bibinfo{pages}{538--553} (\bibinfo{year}{1993}). \bibitem{Bruzual2003} \bibinfo{author}{{Bruzual}, G.} \& \bibinfo{author}{{Charlot}, S.} \newblock \bibinfo{title}{{Stellar population synthesis at the resolution of 2003}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{344}}, \bibinfo{pages}{1000--1028} (\bibinfo{year}{2003}). \bibitem{DeLucia2004} \bibinfo{author}{{De Lucia}, G.}, \bibinfo{author}{{Kauffmann}, G.} \& \bibinfo{author}{{White}, S.~D.~M.} \newblock \bibinfo{title}{{Chemical enrichment of the intracluster and intergalactic medium in a hierarchical galaxy formation model}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{349}}, \bibinfo{pages}{1101--1116} (\bibinfo{year}{2004}). \bibitem{Silk1998} \bibinfo{author}{{Silk}, J.} \& \bibinfo{author}{{Rees}, M.~J.} \newblock \bibinfo{title}{{Quasars and galaxy formation}}. \newblock \emph{\bibinfo{journal}{Astr. \& Astrop.}} \textbf{\bibinfo{volume}{331}}, \bibinfo{pages}{L1--L4} (\bibinfo{year}{1998}). \bibitem{DiMatteo2005} \bibinfo{author}{{Di Matteo}, T.}, \bibinfo{author}{{Springel}, V.} \& \bibinfo{author}{{Hernquist}, L.} \newblock \bibinfo{title}{{Energy input from quasars regulates the growth and activity of black holes and their host galaxies}}. \newblock \emph{\bibinfo{journal}{Nature}} \textbf{\bibinfo{volume}{433}}, \bibinfo{pages}{604--607} (\bibinfo{year}{2005}). \bibitem{Springel2005a} \bibinfo{author}{{Springel}, V.}, \bibinfo{author}{{Di Matteo}, T.} \& \bibinfo{author}{{Hernquist}, L.} \newblock \bibinfo{title}{{Black Holes in Galaxy Mergers: The Formation of Red Elliptical Galaxies}}. \newblock \emph{\bibinfo{journal}{\apjl}} \textbf{\bibinfo{volume}{620}}, \bibinfo{pages}{L79--L82} (\bibinfo{year}{2005}). \bibitem{Haardt1996} \bibinfo{author}{{Haardt}, F.} \& \bibinfo{author}{{Madau}, P.} \newblock \bibinfo{title}{{Radiative Transfer in a Clumpy Universe. II. The Ultraviolet Extragalactic Background}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{461}}, \bibinfo{pages}{20--37} (\bibinfo{year}{1996}). \bibitem{Madau2004} \bibinfo{author}{{Madau}, P.}, \bibinfo{author}{{Rees}, M.~J.}, \bibinfo{author}{{Volonteri}, M.}, \bibinfo{author}{{Haardt}, F.} \& \bibinfo{author}{{Oh}, S.~P.} \newblock \bibinfo{title}{{Early Reionization by Miniquasars}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{604}}, \bibinfo{pages}{484--494} (\bibinfo{year}{2004}). \bibitem{Kauffmann2000} \bibinfo{author}{{Kauffmann}, G.} \& \bibinfo{author}{{Haehnelt}, M.} \newblock \bibinfo{title}{{A unified model for the evolution of galaxies and quasars}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{311}}, \bibinfo{pages}{576--588} (\bibinfo{year}{2000}). \bibitem{Magorrian1998} \bibinfo{author}{{Magorrian}, J.} \emph{et~al.} \newblock \bibinfo{title}{{The Demography of Massive Dark Objects in Galaxy Centers}}. \newblock \emph{\bibinfo{journal}{\aj}} \textbf{\bibinfo{volume}{115}}, \bibinfo{pages}{2285--2305} (\bibinfo{year}{1998}). \bibitem{Ferrarese2000} \bibinfo{author}{{Ferrarese}, L.} \& \bibinfo{author}{{Merritt}, D.} \newblock \bibinfo{title}{{A Fundamental Relation between Supermassive Black Holes and Their Host Galaxies}}. \newblock \emph{\bibinfo{journal}{\apjl}} \textbf{\bibinfo{volume}{539}}, \bibinfo{pages}{L9--L12} (\bibinfo{year}{2000}). \bibitem{Churazov2001} \bibinfo{author}{{Churazov}, E.}, \bibinfo{author}{{Br{\" u}ggen}, M.}, \bibinfo{author}{{Kaiser}, C.~R.}, \bibinfo{author}{{B{\" o}hringer}, H.} \& \bibinfo{author}{{Forman}, W.} \newblock \bibinfo{title}{{Evolution of Buoyant Bubbles in M87}}. \newblock \emph{\bibinfo{journal}{\apj}} \textbf{\bibinfo{volume}{554}}, \bibinfo{pages}{261--273} (\bibinfo{year}{2001}). \bibitem{Brueggen2002} \bibinfo{author}{{Br{\" u}ggen}, M.} \& \bibinfo{author}{{Kaiser}, C.~R.} \newblock \bibinfo{title}{{Hot bubbles from active galactic nuclei as a heat source in cooling-flow clusters}}. \newblock \emph{\bibinfo{journal}{\nat}} \textbf{\bibinfo{volume}{418}}, \bibinfo{pages}{301--303} (\bibinfo{year}{2002}). \bibitem{Fabian2003} \bibinfo{author}{{Fabian}, A.~C.} \emph{et~al.} \newblock \bibinfo{title}{{A deep Chandra observation of the Perseus cluster: shocks and ripples}}. \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{344}}, \bibinfo{pages}{L43--L47} (\bibinfo{year}{2003}). \bibitem{Vecchia2004} \bibinfo{author}{{Vecchia}, C.~D.} \emph{et~al.} \newblock \bibinfo{title}{{Quenching cluster cooling flows with recurrent hot plasma bubbles.}} \newblock \emph{\bibinfo{journal}{\mnras}} \textbf{\bibinfo{volume}{355}}, \bibinfo{pages}{995--1004} (\bibinfo{year}{2004}). \end{thebibliography}