info about momentum of incoming particles

Asked by Andrea Paolo Puppin

hi sorry to bother you again.
this is my code:
process eeprovamultifasci = A, e1 => e1,e1,E1

beams = A, e1 => gaussian

beams_momentum = 5 keV, 5 GeV

gaussian_spread1= 0%

gaussian_spread2= 10%

plot E_Theta_Px_Py_E1

plot E_Theta_Px_Py_e1

plot E_Theta_Px_Py_e2

sample_format = mokka

  integrate (eeprovamultifasci)

  scan real y=(0=>20/+1){

     real x= y*0.0001-0.001

     beams_theta = 0,x

     real z=(x*x)/(0.0003)^2

     n_events=10000*exp(-z)

     !luminosity = 1 / 2.e8 fbarn)

    #?rebuild_events = true

 $sample = sprintf "eeff_%1.3f_%1.3f" (real (y), real (x))

analysis= record E_Theta_Px_Py_E1 (eval E["E1"], eval Theta["E1"], eval Px["E1"],eval Py["E1"]) and

          record E_Theta_Px_Py_e1 (eval E[extract index 1 [e1]], eval Theta[extract index 1 [e1]], eval Px[extract index 1 [e1]],eval Py[extract index 1 [e1]])

          and

          record E_Theta_Px_Py_e2 (eval E[extract index 2 [e1]], eval Theta[extract index 2 [e1]], eval Px[extract index 2 [e1]],eval Py[extract index 2 [e1]])

  simulate (eeprovamultifasci)

}

compile_analysis

This simulation generates a lot of .mokka.evt files for every simulation and in these files i should see (for incoming particles) theyr 3 momentum components(px,py,pz) and theyr masses in the last 4 columns.
My doubt is that for incoming particles i only have momentum along pz , i don't understand why.
I'm doing a lots of simulation where i change the angle of interaction between incoming photons and electrons(beams_theta=0,x) so i expect my incoming particles have transverse momentum(px,py), did i do something wrong?
Thanks again,
Kind regards

Question information

Language:
English Edit question
Status:
Solved
For:
WHIZARD Edit question
Assignee:
Juergen Reuter Edit question
Solved by:
Andrea Paolo Puppin
Solved:
Last query:
Last reply:
Revision history for this message
Juergen Reuter (j.r.reuter) said :
#1

Doing a trivial trident example,
process test = A, e1 => e1, e1, E1

beams = A, e1 => gaussian
beams_momentum = 5 keV, 5 GeV
beams_theta = 0,10
gaussian_spread1= 0%
gaussian_spread2= 10%

sample_format = mokka

n_events = 3

integrate (test)
simulate (test)

I do see Mokka events of the form
5 3 0 1.0000000000E+00
 2 22 3 5 0.0000000000E+00 0.0000000000E+00 5.0000000000E-06 0.0000000000E+00
 2 11 3 5 2.8343172501E+00 0.0000000000E+00 4.3715121735E+00 5.1099700000E-04
 1 11 0 0 2.0081780845E-01 -2.7206891917E-04 3.0970192225E-01 5.1099700000E-04
 1 11 0 0 2.4092562077E+00 3.7292276457E-04 3.7158973588E+00 5.1099700000E-04
 1 -11 0 0 2.2424323396E-01 -1.0085384540E-04 3.4591789247E-01 5.1099700000E-04

so the electron does have a non-vanishing px component.

The mistake in your SINDARIN file is that the integrate statement is outside the scan loop, you have to put inside after your final beams_theta statement. Then the integration is done properly for each angle, and the events all show different px components.

Revision history for this message
Andrea Paolo Puppin (2andre3) said :
#2

okay thank you