beam simulation at compass

16
Technische Universität München Beam Simulation at COMPASS Gentner Day 2013 2013-10-30 Karl A. Bicker

Upload: giona

Post on 15-Feb-2016

65 views

Category:

Documents


0 download

DESCRIPTION

Beam Simulation at COMPASS. Karl A. Bicker. Gentner Day 2013 2013-10-30. The COMPASS Spectrometer. Fixed target Two-stage spectrometer 160/190 GeV muon / hadron beams. Beam Simulation at COMPASS. Beam Simulation package should generate vertices and beam vector - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Beam Simulation at COMPASS

Technische Universität München

Beam Simulation at COMPASS

Gentner Day 20132013-10-30

Karl A. Bicker

Page 2: Beam Simulation at COMPASS

Technische Universität München

2/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

• Fixed target• Two-stage

spectrometer• 160/190 GeV

muon/hadron beams

The COMPASS Spectrometer

Page 3: Beam Simulation at COMPASS

Technische Universität München

3/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Beam Simulation at COMPASS

• Beam Simulation package should generate vertices and beam vector

• 5-dimensional distribution in [ vx, vy, bx, by, bz ](z: beam direction, y: up)

• Complex correlations between all 5 variables→ Impossible to do

analytically

Page 4: Beam Simulation at COMPASS

Technische Universität München

4/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Idea• Use real events for beam simulation

→ [x, y, px, py, pz] from every event → Beamfile

Problem• Need more Monte Carlo than real data events

→ The same vertex/beam is used several times

Proposal• Smear events• Use mean distance between two events as sigma for

the smearing (different for every event!)

Page 5: Beam Simulation at COMPASS

Technische Universität München

5/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Defining the Mean Distance

• Basic idea:– Divide the 5d distribution into bins of equal content– For every bin, calculate the mean volume per event– The 5 mean distances will be the edge lengths of the

hypercuboid with the same edge ratios as the bin itself, and a volume that is equal to the mean volume per event

mean distance ≙ “sigma”

Page 6: Beam Simulation at COMPASS

Technische Universität München

6/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Binning

Page 7: Beam Simulation at COMPASS

Technische Universität München

7/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Edge Bins are a Problem• Single event can artificially

enlarge bin

• Average over all neighboring bins which are not on the edge

• But: in 5d, most bins are on the edge• Even worse: most of them have only neighbors which

are also on the edge

Solution: use sigmas from neighboring bins

Page 8: Beam Simulation at COMPASS

Technische Universität München

8/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

What if there are only edge bins?

1. For every event…2. Find a hypersphere

containing 15 events around it

3. Calculate the CoG and find a new sphere containing all events

4. Use the volume of the sphere to calculate the mean volume per event

Page 9: Beam Simulation at COMPASS

Technische Universität München

9/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Post Processing• Sphere-procedure still produces big sigmas, cap them

by hand• Binning introduces artifacts: The bin boundary of the

first division goes through the whole volume

Solution:• Produce 5 beamfiles, starting binning with a different

coordinate each time• For every coordinate, take the sigmas from the beamfile

where the coordinate was divided last and merge them to form one beamfile

Page 10: Beam Simulation at COMPASS

Technische Universität München

10/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Results: Vertex X Position

Page 11: Beam Simulation at COMPASS

Technische Universität München

11/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Results: Vertex Y Position

Page 12: Beam Simulation at COMPASS

Technische Universität München

12/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Results: Beam Momentum X

Page 13: Beam Simulation at COMPASS

Technische Universität München

13/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Results: Beam Momentum Y

Page 14: Beam Simulation at COMPASS

Technische Universität München

14/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Results: Beam Momentum Z

Page 15: Beam Simulation at COMPASS

Technische Universität München

15/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Small Binning Artifacts Remain

Page 16: Beam Simulation at COMPASS

Technische Universität München

16/162013-10-30 Karl A. Bicker - Beam Simulation at COMPASS

Conclusion

• A new beam simulation package was developed and tested

• The vertex and beam distributions of generated events reproduce the data reasonably well

• First test with physics analyses have been started