DV Creating LUND Files

From New IAC Wiki
Jump to navigation Jump to search

The LUND format

The Header

LUND Header
Column Quantity
1
Number of Particles
2
Number of Target Nucleons
3
Number of Target Protons
4
Target Polarization
5
Beam Polarization
6
x
7
y
8
W
9
Q2
10
ν

Where

1:Number of Particles

This line tells how many particles follow the header line. For Moller Scattering, this number should always be 2.

2:Number of Target Nucleons

For this simulation, only an electron-electron collision is considered. This quantity is always set to 1 for the one stationary electron we consider the incident electron scattering from.

3:Number of Target Protons

For Moller Scattering, there are no target protons. This number is set to 1, but does not have any effect within the GEMC simulations.

4:Target Polarization

This represents the polarization of the target material, either positive or negative 1. This value is always set to 1 and has no effect within the GEMC simulations.

5:Beam Polarization

This represents the polarization of the electron beam, either negative or positive 1. This value is always set to positive 1.

6:x

This represents the Bjorken x scaling variable.

x=q22pq=q22Mν=Q22Mν


Where M is the rest mass-energy of the protonM938MeV

7:y

y=pqpk=νEi=EiEfEi

8:W

The invariant mass of the final hadronic system


W2(p+q)2=M2+2Mν+q2=M2+2MνQ2

9:Q2

This represents the squared 4-momentum-transfer vector q of the exchanged virtual photon.


Q2q2


Where q is the momentum transfer betwwn the incident electron and target via the virtual photon.


qkikf

10:ν

This represents the energy loss between scattering electrons.

ν=pqM

This can be written in the Lab frame as:


νEiEf


where Ei and Ef are the initial and final electron energies.

LUND Header
Column Quantity
1
Index
2
Charge
3
Type (1 is active)
4
Particle ID
5
Parent Index
6
Daughter Index
7
Momentum x (GeV)
8
Momentum y (GeV)
9
Momentum z (GeV)
10
E
11
Mass
12
Vertex x (cm)
13
Vertex y (cm)
14
Vertex z (cm)

Writing LUND files

Correct for vertex location