Pythia and differential cross sections

  • Context: Graduate 
  • Thread starter Thread starter dilekulas
  • Start date Start date
  • Tags Tags
    Cross Differential
Click For Summary

Discussion Overview

The discussion revolves around plotting the differential cross section (d_sigma/d_Pt) for proton-proton collisions using the Pythia event generator. Participants explore how to adapt an existing ROOT macro that plots the transverse momentum distribution (d_N/d_Pt) for pions to achieve the desired differential cross section plot.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One user seeks guidance on modifying a ROOT macro to plot d_sigma/d_Pt for proton-proton collisions using Pythia.
  • Another participant questions the clarity of the original request and asks for specifics about which particles are involved in the differential cross section plot.
  • A user suggests that the relationship between the number of events and cross section can be derived from integrated luminosity, indicating that N = sigma * L.
  • There is a discussion about whether the existing macro is already plotting d_sigma/d_Pt or if it is simply showing d_N/d_Pt, with uncertainty expressed about the macro's functionality.
  • One participant notes that luminosity is a free parameter and suggests consulting the person who requested the plot if it is unknown.

Areas of Agreement / Disagreement

Participants express differing levels of understanding regarding the relationship between event counts and cross sections, as well as the specifics of the macro's output. There is no consensus on how to proceed without knowing the luminosity or whether the macro is already providing the desired output.

Contextual Notes

Participants acknowledge the need for clarity on the definitions and relationships between the variables involved, particularly regarding luminosity and how it affects the calculation of cross sections. There are unresolved questions about the functionality of the provided macro.

Who May Find This Useful

This discussion may be useful for users interested in particle physics simulations, event generators like Pythia, and data analysis using ROOT, particularly those working on differential cross sections in high-energy collisions.

dilekulas
Messages
3
Reaction score
0
Dear Users,

I would like to ask you how can I plot d_sigma/d_Pt graph for proton proton collisions using pythia event generator. I am also using root macro which plot d_N/d_Pt graph for pion and I have also attached this for you. I would be garetful if you could tell me how can I convert this example for my aim or any other example related to this.

Any ideas would be appreciated.

Kind regards.
 

Attachments

Physics news on Phys.org
I am not familiar with Pythia (but with competiting programs) but I don't quite get what you want to do? Does the example given work or do you have problems getting it to work? What, i,.e. which particle(s), do you want to plot the differential cs of? The file attached seems to call Pythia and plot the diff. cs for created pi+ (specified by "#define PDGNUMBER 211"). If you want other particles, you have to change at least this number (dunno if Pythia automatically figures out which processes lead to the desired particle in the final state or if you have define that yourself somewhere else).
 
Dear Timo,
Thank you for your reply. The file I've attached give the transverse momentum distribution of pi+. What I want to plot is differential cross section distribution of pi+.I remember (but I am not sure) if d_N/d_pt divided by luminosity this should give the d_sigma/d_Pt distribution. I could not find any example macro to do this. I hope you could help me.

Cheers,
 
dilekulas, so your question is "how to go from the number of events to the cross section"?
You don't need to look for macros for that, just look in your textbook (or in wikipedia) what is the relation between cross section and luminosity!

Anyway I will help you, since I remember by hearth: if you know the integrated luminosity L (i.e. the luminosity integrated with time), N = sigma * L.
Now do the algebra and obtain sigma as a function of N ;)
You will have to scale the histogram accordingly. In case you don't know how to scale an histogram in root, have a closer look to your example macro and you will probably understand how to do :)
 
drpscho, yes, you are right. now I am sure if momentum distribution divided by L, this gives the cross section distribution. Ok, this is a good way. But if I don't know the luminosity what should I do?
 
dilekulas said:
drpscho, yes, you are right. now I am sure if momentum distribution divided by L, this gives the cross section distribution. Ok, this is a good way. But if I don't know the luminosity what should I do?

This is a free parameter of the problem. Ask the person who told you to plot this distribution.

Anyway, are you sure that what this macro is plotting is dN/dpt and not already dSigma/dpt?
In fact, pythia or any other generator, will calculate a cross section and THEN turn it into a number of events in an histogram. So, probably this macro is already doing the inverse of what you want to do.
(I didn't looked at it in detail.)
I suggest you to use this macro as a way to understand the root syntax, and by modifying it you will certainly learn something, both about root and about physics :)
Have a nice work.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K