Statistical Methods in Particle Physics

Similar documents
Statistische Methoden der Datenanalyse. Kapitel 3: Die Monte-Carlo-Methode

Modern Methods of Data Analysis - WS 07/08

Enrico Fermi and the FERMIAC. Mechanical device that plots 2D random walks of slow and fast neutrons in fissile material

Detectors in Nuclear Physics: Monte Carlo Methods. Dr. Andrea Mairani. Lectures I-II

Monte Carlo programs

Statistical Methods in Particle Physics

From Random Numbers to Monte Carlo. Random Numbers, Random Walks, Diffusion, Monte Carlo integration, and all that

QCD and jets physics at the LHC with CMS during the first year of data taking. Pavel Demin UCL/FYNU Louvain-la-Neuve

Monte Carlo radiation transport codes

Monte Carlo radiation transport codes

How to Measure Top Quark Mass with CMS Detector??? Ijaz Ahmed Comsats Institute of Information Technology, Islamabad

Physics at Hadron Colliders

Colin Jessop. University of Notre Dame

Basics of Monte Carlo Simulation

Monte Carlo sampling. FLUKA Beginner s Course

The rejection of background to the H γγ process using isolation criteria based on information from the electromagnetic calorimeter and tracker.

Measurement of the Inclusive Isolated Prompt Photon Cross Section at CDF

Lecture 3 Cross Section Measurements. Ingredients to a Cross Section

Measurement of Quenched Energy Flow for Dijets in PbPb collisions with CMS

Jet Energy Calibration. Beate Heinemann University of Liverpool

Recent Advances in QCD Event Generators

Calorimeter for detection of the high-energy photons

Distinguishing quark and gluon jets at the LHC

Physics at Hadron Colliders Part II

PHYS 5020 Computation and Image Processing

Applied Statistics. Monte Carlo Simulations. Troels C. Petersen (NBI) Statistics is merely a quantisation of common sense

Physics 403. Segev BenZvi. Monte Carlo Techniques. Department of Physics and Astronomy University of Rochester

Stefano Carignano 12/2010. Phenomenology of particle production in pp collisions

Physics 403 Monte Carlo Techniques

Using Drell-Yan to Probe the

JET FRAGMENTATION DENNIS WEISER

Charm photoproduction at HERA

Monte Carlo Sampling

Jet reconstruction with first data in ATLAS

Recent DØ results in Diffractive and Jet Physics

Detector Simulation. Mihaly Novak CERN PH/SFT

QCD Jets at the LHC. Leonard Apanasevich University of Illinois at Chicago. on behalf of the ATLAS and CMS collaborations

Measurement of photon production cross sections also in association with jets with the ATLAS detector

Z 0 /γ +Jet via electron decay mode at s = 7TeV in

Recent QCD results from ATLAS

Photoproduction of Events with Rapidity Gaps Between Jets with ZEUS at HERA. PhD Defense May 5, Patrick Ryan, Univ.

QCD at Cosmic energies VII

Measurement of Jet Energy Scale and Resolution at ATLAS and CMS at s = 8 TeV

Simulations in High Energy Physics

Monte Carlo Radiation Transfer I

Jet Results in pp and Pb-Pb Collisions at ALICE

Studies of the diffractive photoproduction of isolated photons at HERA

Hadron Collider Physics, HCP2004, June 14-18

arxiv: v1 [nucl-ex] 10 Jan 2009

7 Physics at Hadron Colliders

QCD at hadron colliders Lecture 2: Showers, Jets and fixed-order predictions

Event Generator Physics 2

Lecture 5: Random numbers and Monte Carlo (Numerical Recipes, Chapter 7) Motivations for generating random numbers

Inclusive Jet and Dijet Production in Polarized Proton-Proton Collisions at 200 GeV at RHIC

Today: Fundamentals of Monte Carlo

Quantum Monte Carlo. Matthias Troyer, ETH Zürich

Standard Model of Particle Physics SS 2013

Tests of QCD Using Jets at CMS. Salim CERCI Adiyaman University On behalf of the CMS Collaboration IPM /10/2017

Two-particle Correlations in pp and Pb-Pb Collisions with ALICE

Mean Intensity. Same units as I ν : J/m 2 /s/hz/sr (ergs/cm 2 /s/hz/sr) Function of position (and time), but not direction

Jet reconstruction in W + jets events at the LHC

Gluon polarisation from high transverse momentum hadron pairs COMPASS

energy loss Ionization + excitation of atomic energy levels Mean energy loss rate de /dx proportional to (electric charge) 2 of incident particle

Top Quark Mass Reconstruction from High Pt Jets at LHC

LHC Heavy Ion Physics Lecture 5: Jets, W, Z, photons

Jets (and photons) at the LHC. J. Huston LPC March 10, 2010

Precision QCD at the Tevatron. Markus Wobisch, Fermilab for the CDF and DØ Collaborations

PDFs for Event Generators: Why? Stephen Mrenna CD/CMS Fermilab

Analysis of Top Quarks Using a Kinematic Likelihood Method

Today: Fundamentals of Monte Carlo

Gluon and Gluon-Selfinteraction

Statistical Methods in Particle Physics

TRAPS: Topological Reconstruction Algorithm for Parton Scatters Katy Ellis 1. 4th of November 2011

QCD Studies at LHC with the Atlas detector

Underlying Event Studies Using Calorimeter Jets with the ATLAS Detector at LHC

NuSOnG Detector Resolution, Calibration, and Event Separation

Observation of Isolated High-E T Photons in Photoproduction at HERA

Jet Reconstruction and Energy Scale Determination in ATLAS

Standard Model of Particle Physics SS 2012

Reconstruction in Collider Experiments (Part IX)

Measurement of the associated production of direct photons and jets with the Atlas experiment at LHC. Michele Cascella

Jets and jet definitions

Measurement of jet production in association with a Z boson at the LHC & Jet energy correction & calibration at HLT in CMS

The Monte Carlo Method in Medical Radiation Physics

University of Glasgow Tevatron Energy Scan: Findings & Surprises

Introduction to Discrepancy Theory

Measurement of the mass of the W boson at DØ

Selected Topics in Physics a lecture course for 1st year students by W.B. von Schlippe Spring Semester 2007

Lecture notes on Regression: Markov Chain Monte Carlo (MCMC)

Introduction. The Standard Model

Forward QCD studies and prospects at the LHC

A Short Course on Geant4 Simulation Toolkit. Introduction.

First Run-2 results from ALICE

Simulation. Version 1.1 c 2010, 2009, 2001 José Fernando Oliveira Maria Antónia Carravilla FEUP

High-p T Neutral Pion Production in Heavy Ion Collisions at SPS and RHIC

Introduction to Machine Learning CMU-10701

Modified Stochastic Branching Model for Supersymmetric Particle Branching process

QCD dijet analyses at DØ

Monte Carlo integration (naive Monte Carlo)

Radiation Transport Calculations by a Monte Carlo Method. Hideo Hirayama and Yoshihito Namito KEK, High Energy Accelerator Research Organization

Transcription:

Statistical Methods in Particle Physics 4. Monte Carlo Methods Prof. Dr. Klaus Reygers (lectures) Dr. Sebastian Neubert (tutorials) Heidelberg University WS 2017/18

Monte Carlo Method Any method which solves a problem by generating suitable random numbers Useful for obtaining numerical solutions to problems which are too complicated to solve analytically The most common application of the Monte Carlo method is Monte Carlo integration Pioneers Enrico Fermi Stanislaw Ulam John von Neumann Nicholas Metropolis https://en.wikipedia.org Enrico Fermi Stanislaw Ulam J. von Neumann N. Metropolis http://mathworld.wolfram.com/montecarlomethod.html 2

Monte Carlo Method: Examples [from Bohm, Zech: Introduction to Statistics and Data Analysis for Physicists] Area of a circle Volume of the intersection of a cone and a torus Hard to solve analytically Easy to solve by scattering points homogeneously inside a cuboid containing the intersect Efficiency of particle detection with a scintillator Produced photons are reflected at the surfaces and sometime absorbed Almost impossible to calculate analytically for different parameters like incident angle, particle energy, Monte Carlo simulation is the only sensible approach 3

Pseudo-Random Numbers Generated uniformly in [0,1] Principle: Use insignificant digits of an operation to generate next number: x i+1 = n 1 mod( x i ; n) User can provide a seed Same seed gives same sequence of random numbers Example: Mersenne twister Invented 1997 by M. Matsomoto and T. Nishimura Sequence repeats after 2 19937 calls, i.e., never Quality checks Frequency of occurrence Plot correlations between consecutive random numbers Bohm, Zech: http://www-library.desy.de/preparch/books/vstatmp_engl.pdf Fig. 5.1. Correlation plot of consequtive random numbers (top) and frequency of random numbers (bottom). 4

Random Numbers from Distributions: Inverse Transform Method Consider a distribution f from which we want to draw random numbers. Let u(r) be the uniform distribution in [0, 1]: Z x f (x 0 )dx 0 = Z r(x) u(r 0 )dr 0 = r(x) Bohm, Zech: http://www-library.desy.de/preparch/books/vstatmp_engl.pdf 1 0 With F(x) = cumulative distr.: F (x) =r We get the random number x from the inverse of the cumulative distribution: x(r) =F 1 (r) Cross check: dp dx = dp dr {z} dr dx =1 = df (x) dx = f (x) 5

Examples I Linear function: f (x) =2x, 0 apple x apple 1 F (x) =x 2! x = p r Exponential: f (x) = e F (x) =1 e x, x 0 x! x = ln(1 r) One can store F(x) as a histogram if there is no analytical solution, cf. root's GetRandom() function: root [0] TF1 f("f", "x^3/(exp(x)-1)", 0., 15.); root [1] cout << f.getrandom() << endl; 13.9571 6

Example II: Uniform Points on a Sphere dp d = dp sin d d = const k dp d d = k sin f ( )g( ) Distributions for θ and φ: f ( ) dp d = const = 1, 0 apple apple 2 2 g( ) dp d = 1 2 sin, 0 apple apple Calculating the inverse of the cumulative distribution we obtain: =2 r 1 = arccos(1 2r 2 ) [as G( ) = 1 (1 cos )] 2 Upshot: φ and cos θ need to be distributed uniformly 7

Monte Carlo Integration: Acceptance-Rejection Method Algorithm Generate random number x uniformly between a and b Generate second random y number uniformly between 0 and A Accept x if y < f(x) Repeat many times The efficiency of this algorithm can be quite small Improvement possible by choosing a majorant, i.e., a function which encloses f(x) and whose integral is known ("importance sampling") A y accept Lecture M. Neumann, www.exp.univie.ac.at/cp1/cp6.pdf reject f(x) 6.5. ERZEUGUNG VON ZUFALLSZAHLEN MIT VORGEGEBENER VERTE kann dann genauso vorgehen wie vorhin, d.h. man erzeugt gleichverteilte Pu Gebiet zwischen f(x) und der x-achse und akzeptiert nur jene x-werte, für die y-wert unterhalb von g(x) liegt (s. Abb. 6.15). x a b y Abbildung 6.14: Akzeptieren und Verwerfen von Punkten bei der einf Rejection-Methode. f(x) Eine erste Version der Rejection-Methode kann daher lauten: g(x) Rejection-Methode accept (einfache Variante) Um eine Zufallsvariable x zu simulieren, deren Wahrscheinlichkeitsdichte f in einem Intervall [a, b] nicht verschwindet und dort durch f(x) reject A bes ist, würfelt man Paare von unabhängigen, gleichverteilten Zufallszahlen ξ, η setzt x = a + ξ(b a), x y = η A, 8 Abbildung 6.15: Akzeptieren und Verwerfen von Punkten bei der verbe

Monte Carlo Integration Naïve Monte Carlo integration: Z b a f (x)dx =(b a) =: I Z b a uniform distribution in [a, b] xi: uniformly distributed random numbers f (x)u(x)dx =(b a)hf (x)i (b a) 1 n =: Î Typical deviation from the true value of the integral (standard deviation) nx i=1 f (x i ) V [Î ]=(b a)2 n 2 V [ nx i=1 f (x i )] = (b a)2 n 2 n 2 [f ]! [Î ]=b a p n [f ] 9

Monte Carlo Integration: Multidimensional Integrals Trapezoidal rule in one dimension accuracy improves as 1/n 2 with the number of points Much better than 1/ n scaling of the MC methods Monte Carlo integration in d dimensions: Z Z I = f (~x)d~x, R d, V = d~x I Î = V 1 n nx i=1 f (~x i ), [Î ] V [f ] p n Trapezoidal rule in d dimension: accuracy improves as 1/n 2/d with the number of points for d > 4 the dependence on n is better for MC integration https://en.wikipedia.org/wiki/trapezoidal_rule same as in 1d case For multidimensional integrals MC integration outperforms other numerical integration methods Statistical Methods in Particle Physics WS 2017/18 K. Reygers 3. Uncertainties 10

Monte Carlo Simulation I: Event Generators (Pythia, Sherpa, ) Examples: Pythia Simulation of pp and e + e collision on quark and gluon level Hard and soft interactions, parton showers, fragmentation and particle decay Many applications - Test underlying physics, e.g., perturbative QCD - Calculate QCD background processes, e.g., in Higgs searches - Calculation of detector efficiencies 11

Pythia Output: Four-vectors of of produced particles Event listing (summary) I particle/jet KS KF orig p_x p_y p_z E m 1 (u) A 12 2 0 0.000 0.000 10.000 10.000 0.006 2 (ubar) V 11-2 0 0.000 0.000-10.000 10.000 0.006 3 (string) 11 92 1 0.000 0.000 0.000 20.000 20.000 4 (rho+) 11 213 3 0.098-0.154 2.710 2.856 0.885 5 (rho-) 11-213 3-0.227 0.145 6.538 6.590 0.781 6 pi+ 1 211 3 0.125-0.266 0.097 0.339 0.140 7 (Sigma0) 11 3212 3-0.254 0.034-1.397 1.855 1.193 8 (K*+) 11 323 3-0.124 0.709-2.753 2.968 0.846 9 p~- 1-2212 3 0.395-0.614-3.806 3.988 0.938 10 pi- 1-211 3-0.013 0.146-1.389 1.403 0.140 11 pi+ 1 211 4 0.109-0.456 2.164 2.218 0.140 12

Monte Carlo Simulation II: Detector Simulation with GEANT http://geant4.cern.ch/ http://www.uni-muenster.de/physik.kp/santo/thesis/diplom/kees Calculation of detector response, reconstruction efficiencies, photons (blue) Example: electromagnetic shower incident electron (red) leadglass calorimeter 13

Monte Carlo Simulation III: Treatment Planning in Radiation Therapy Codes GEANT 4 FLUKA Intensity-Controlled Rasterscan Technique, Haberer et al., GSI, NIM A,1993 Source: GSI 14