19.01.2015 Views

Lecture 1 (The Monte Carlo principle) - Institute for Particle Physics ...

Lecture 1 (The Monte Carlo principle) - Institute for Particle Physics ...

Lecture 1 (The Monte Carlo principle) - Institute for Particle Physics ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MC techniques Quadratures <strong>Monte</strong> <strong>Carlo</strong> Simulation Summary<br />

Numerical integration: Newton-Cotes method<br />

Nomenclature now: Want to evaluate I (a,b) ∫ b<br />

f<br />

= dxf (x).<br />

a<br />

Basic idea: Divide interval [a, b] in N subintervals of size<br />

∆x = (b − a)/N and approximate<br />

I (a,b)<br />

f<br />

=<br />

∫ b<br />

a<br />

dxf (x)≈ N−1 ∑<br />

f (x i )∆x = N−1 ∑<br />

f (a + i∆x)∆x,<br />

i=0<br />

i=0<br />

i.e. replace integration by sum over rectangular panels.<br />

Obvious issue: What is the error How does it scale<br />

parametrically with “step-size” (or, better, number of<br />

function calls) Answer: It is linear in ∆x.<br />

F. Krauss IPPP<br />

Introduction to Event Generators

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!