technische universität münchen beam simulation at compass gentner day 2013 2013-10-30 karl a....

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

Upload: luc-franklyn

Post on 01-Apr-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

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

Technische Universität München

Beam Simulation at COMPASS

Gentner Day 2013

2013-10-30

Karl A. Bicker

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

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: Technische Universität München Beam Simulation at COMPASS Gentner Day 2013 2013-10-30 Karl A. Bicker

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: Technische Universität München Beam Simulation at COMPASS Gentner Day 2013 2013-10-30 Karl A. Bicker

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: Technische Universität München Beam Simulation at COMPASS Gentner Day 2013 2013-10-30 Karl A. Bicker

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: Technische Universität München Beam Simulation at COMPASS Gentner Day 2013 2013-10-30 Karl A. Bicker

Technische Universität München

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

Binning

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

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: Technische Universität München Beam Simulation at COMPASS Gentner Day 2013 2013-10-30 Karl A. Bicker

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: Technische Universität München Beam Simulation at COMPASS Gentner Day 2013 2013-10-30 Karl A. Bicker

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: Technische Universität München Beam Simulation at COMPASS Gentner Day 2013 2013-10-30 Karl A. Bicker

Technische Universität München

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

Results: Vertex X Position

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

Technische Universität München

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

Results: Vertex Y Position

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

Technische Universität München

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

Results: Beam Momentum X

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

Technische Universität München

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

Results: Beam Momentum Y

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

Technische Universität München

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

Results: Beam Momentum Z

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

Technische Universität München

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

Small Binning Artifacts Remain

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

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