Skip to content

Flat π⁰ and η Distribution for High- pT Statistics#2318

Open
rashigupt wants to merge 3 commits intoAliceO2Group:masterfrom
rashigupt:patch-1
Open

Flat π⁰ and η Distribution for High- pT Statistics#2318
rashigupt wants to merge 3 commits intoAliceO2Group:masterfrom
rashigupt:patch-1

Conversation

@rashigupt
Copy link
Copy Markdown
Contributor

Flat pion and eta distributions are added to enhance statistics at high transverse momentum.

Flat pion and eta distributions are added to enhance statistics at high transverse momentum.
@rashigupt rashigupt requested a review from a team as a code owner April 10, 2026 12:09
@github-actions
Copy link
Copy Markdown

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

@rashigupt
Copy link
Copy Markdown
Contributor Author

Dear expert, please merge the code

Remove CR mode2
Copy link
Copy Markdown
Contributor

@singhra1994 singhra1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check o2_hybrid_gen.py and boxgen class, you are blindly using configuration from Run2
There is no boxgenPi or Eta,
This should be boxgen but check variable carefully

"name": "boxgen",
"config": {
"pdg": 111,
"prange": [0.1, 50.0],
"etarange": [-0.8, 0.8],
"phirange": [0.0, 360.0],
"number": 1
}
},
{
"name": "boxgen",
"config": {
"pdg": 221,
"prange": [0.1, 50.0],
"etarange": [-0.8, 0.8],
"phirange": [0.0, 360.0],
"number": 1
}
}
],

@rashigupt
Copy link
Copy Markdown
Contributor Author

rashigupt commented Apr 13, 2026

okay Thank you for suggestion

@rashigupt
Copy link
Copy Markdown
Contributor Author

rashigupt commented Apr 13, 2026

Please check o2_hybrid_gen.py and boxgen class, you are blindly using configuration from Run2 There is no boxgenPi or Eta, This should be boxgen but check variable carefully
"name": "boxgen", "config": { "pdg": 111, "prange": [0.1, 50.0], "etarange": [-0.8, 0.8], "phirange": [0.0, 360.0], "number": 1 } }, { "name": "boxgen", "config": { "pdg": 221, "prange": [0.1, 50.0], "etarange": [-0.8, 0.8], "phirange": [0.0, 360.0], "number": 1 } } ],
No, this is not from Run 2. For this, I ran the following command and it worked properly:
o2-sim -g boxgen -n 1000 -j 1 -o box_out --configKeyValues "BoxGun.pdg=111;BoxGun.prange[0]=0.1;BoxGun.prange[1]=50.0;BoxGun.eta[0]=-0.8;BoxGun.eta[1]=0.8;BoxGun.number=1"

Please check o2_hybrid_gen.py and boxgen class, you are blindly using configuration from Run2 There is no boxgenPi or Eta, This should be boxgen but check variable carefully
"name": "boxgen", "config": { "pdg": 111, "prange": [0.1, 50.0], "etarange": [-0.8, 0.8], "phirange": [0.0, 360.0], "number": 1 } }, { "name": "boxgen", "config": { "pdg": 221, "prange": [0.1, 50.0], "etarange": [-0.8, 0.8], "phirange": [0.0, 360.0], "number": 1 } } ],
No, this is not from Run 2. For this, I ran the following command and it worked properly:
o2-sim -g boxgen -n 1000 -j 1 -o box_out --configKeyValues "BoxGun.pdg=111;BoxGun.prange[0]=0.1;BoxGun.prange[1]=50.0;BoxGun.eta[0]=-0.8;BoxGun.eta[1]=0.8;BoxGun.number=1"

okay i will check variable carefully

"prange[1]": 50.0,
"eta[0]": -0.8,
"eta[1]": 0.8,
"number": 1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dear @rashigupt , thanks a lot for the works. As mentioned by @singhra1994 , could you please confirm the values of the parameter? Or could you please confirm that number: 1 is what you desired? You can find the meaning of these parameters from https://github.com/AliceO2Group/AliceO2/blob/dev/Generators/include/Generators/BoxGenerator.h

Copy link
Copy Markdown
Contributor Author

@rashigupt rashigupt Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your comment.
I have checked the parameters, and number = 1 corresponds to the number of particles generated per event in the BoxGenerator.
My intention here is to enhance the statistics for pion and eta at high momentum using a flat distribution in (p). I noticed that the default value is number = 10.
Could you please advise what value of number would be more appropriate if the goal is to increase the statistics while keeping the distribution flat?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rashigupt , I don't know how to achieve the intention you mentioned. I just think 1 particle per event is too few. I don't think it could help you increase the statistics and flatten the distribution. Since all the implementations are in the config files, I would do some tests to see whether it is helpful and validate the settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants