FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and...

45
FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is not well described in the book. Chap 9.4.3 in the statistics book has a few details. Better to follow a class with the world-famous Lund phenomenologists

Transcript of FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and...

Page 1: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

FYST17 Lecture 7MC and Simulation

Thanks to M. Asai, T. Sjöstrand, J. Morris

11

Suggested reading: this is not well described in the book. Chap 9.4.3 in the statistics book

has a few details. Better to follow a class with the world-famous Lund phenomenologists

Page 2: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Today’s topics

• Simulation, Monte Carlo (MC) and why we use it

• MC generators

– Examples

– Different specialities

• Detector simulation

– GEANT

• Performance, some examples

222

Page 3: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Why simulation?

We want to be able to comparedata to expectations”Virtual experiment”

”Simulation” typically consists of two steps: Event generation ”Monte Carlo”

Calculations, hadronization 4-vectors of final state particles

Detector simulation + digitization The particles’ paths through the detector

material Detector and electronic response

333

Page 4: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Why simulation?

444

Page 5: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

The Monte Carlo method”Monte Carlo” refers to any numerical method that uses random numbers in order to simulate probabilistic processes

Cross section randomly sampled over phase space. Method

governed by the Central Limit Theorem: errors ∝1

N

5*In particle physics applications: Random numbers represent QM choices

Select x at random* according to f(x)

Integral I = x1x2f x dx = (x2-x1)<f(x)>

Draw N values from a uniform distribution:

𝐼 ≈ 𝐼𝑁 ≡ 𝑥2 − 𝑥11

𝑁

𝑖=1

𝑁

𝑓(𝑥𝑖)

55

Page 6: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

7

Page 7: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Event generators

88

Page 8: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Event generatorsFrom Lund U phenomenology group!

99

Page 9: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

What they do

1010

Page 10: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Monte Carlo generation

111111

Page 11: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Monte Carlo generation

121212

Page 12: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Slides from Torbjörn Sjöstrand

1313

Page 13: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

1414

Page 14: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

1515

Page 15: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

1616

Page 16: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

1717

Page 17: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

1818

Page 18: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

1919

Page 19: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

2020

Page 20: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

2121

Page 21: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

2222

Page 22: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

2323

Page 23: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Matrix Element calculationNormally done to LO or NLO

24

Page 24: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Parton showering

252525

Page 25: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Parton Showering

26

Page 26: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Hadronization

272727

Page 27: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Hadronization

28

The Lund String model:QED

28

Page 28: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Hadronization

29

The Lund String model:

29

Page 29: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Hadronization

30

The Cluster model:

30

Page 30: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

31

Page 31: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Detector simulation

• Next step is simulating the particles paths through the detector:

– Tracking chambers, calorimeters, muon system

– but also cables, cooling pipes etc

– and also faulty detector modules/electronics!

• Takes time: need to simulate all interactions, ionization, energy deposits, secondary interactions and decays, scattering …

• Mostly used: GEANT4 a C++ program. Takes as input 4-vectors from event generators and outputs ”raw data”

• Takes up to 10 mins/event! Short-cut Fast simulation: Smear the 4-vectors instead of calorimeter simulation

3232

Page 32: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

3333

Page 33: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Not just used in high energy physics

3434

Page 34: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

3535

+ a photon?

Page 35: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Digitization

36

Before we are ready to run the same reconstruction algorithms as on data, the GEANT output needs to be digitizedThat is, converting the simulated hits in detectors into signals in read-out electronicsAlso trigger simulation can be done at this level

Time consumption dominated by inner detector (most channels)

36

Page 36: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

+ your computer exercise

37

Page 37: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Putting it all together

MC is not the truth! – tests/validation necessary

Some features are time-dependent ie amount of pile-up, technical problems with the detector, center of mass energy etc

38

Need to update (and test!) the simulation regularly

38

Page 38: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Minimum bias events

3939

Page 39: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

It doesn’t always work

Number of tracks (ATLAS)

40

Page 40: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Re-weighting effect of pile-up

41

Page 41: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Re-weighting the MC

42

Page 42: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Re-weighting the MC

43

Pile-up for instance , is hard to get right, we only know the exact conditions after data-taking is over

Illustration of re-weighting procedure

43

Page 43: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

After reweighting the agreement is much betterMain problem is understanding the number of vertices

4444

Page 44: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Fast vs full simulation

45

Although less meticulous, the fast simulation can be easily tuned to GEANT – or to data!

45

Page 45: FYST17 Lecture 7 MC and Simulation - Particle Physics · 2020-02-06 · FYST17 Lecture 7 MC and Simulation Thanks to M. Asai, T. Sjöstrand, J. Morris 1 Suggested reading: this is

Summary• Most processes are impractical or impossible to calculate

analytically

– Therefore we use simulation to prepare for analysis

• Two steps: event generation (the physics process) and detector simulation (interaction with materials + electronics)

– Several choices when it comes to event generators. Each have the pros and cons

– Detector simulation = GEANT4 + digitization code

– PYTHIA is a Lund product. You can try it yourself at: http://home.thep.lu.se/~torbjorn/Pythia.html

• It works! Many good comparisons between data and MC gives us confidence that we should notice the first non-SM physics!4646