-
Notifications
You must be signed in to change notification settings - Fork 139
Genie Configuration for Pythia8Decayer instead of deprecated Pythia6Decayer #1054
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
383eed2
create a genie_config folder with all our configuration XML, starting…
antonioiuliano2 21c4b07
always set GXMLPATH to our new genie_config folder
antonioiuliano2 c8f6adf
Updated CHANGELOG
antonioiuliano2 2a6484b
style: pre-commit fixes
pre-commit-ci[bot] 95206f6
fix: including NONE case as pointed out by CI
antonioiuliano2 9225c5a
style: pre-commit fixes
pre-commit-ci[bot] 93fea54
docs: polish PR review feedback
olantwin 650574f
fix: implement Eduard's change, codespell ignore
olantwin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| <?xml version="1.0" encoding="ISO-8859-1"?> | ||
|
|
||
| <!-- | ||
| Configuration for the AGKY2019 HadronizationModelI | ||
|
|
||
| Algorithm Configurable Parameters: | ||
| ...................................................................................................... | ||
| Name Type Opt Comment Default | ||
| ...................................................................................................... | ||
| KNO-Hadronizer alg No | ||
| PYTHIA-Hadronizer alg No | ||
| TransMethod int Yes 0: KNO only 2 | ||
| 1: PYTHIA only | ||
| 2: linear transition from KNO->PYTHIA in | ||
| [Wmin,Wmax] invariant mass window | ||
| KNO2PYTHIA-Wmin double No relevant only for method=2 CommonParam[KNO2Pythia] | ||
| KNO2PYTHIA-Wmax double No relevant only for method=2 CommonParam[KNO2Pythia] | ||
| --> | ||
|
|
||
| <alg_conf> | ||
|
|
||
| <param_set name="Default"> | ||
|
|
||
| <param type="string" name="CommonParam"> KNO2Pythia </param> | ||
|
|
||
| <param type="alg" name="KNO-Hadronizer"> genie::AGKYLowW2019/Default </param> | ||
| <param type="alg" name="PYTHIA-Hadronizer"> genie::Pythia8Hadro2019/Default </param> | ||
|
|
||
| </param_set> | ||
|
|
||
| </alg_conf> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,187 @@ | ||
| <?xml version="1.0" encoding="ISO-8859-1"?> | ||
|
|
||
| <!-- | ||
| Configuration for the AGKYLowW2019 HadronizationModelI | ||
|
|
||
| Algorithm Configurable Parameters: | ||
| ....................................................................................................................... | ||
| Name Type Opt Comment Default | ||
| ....................................................................................................................... | ||
| KNO-Alpha-vp double No a for vp in <mult> = a + blnW^2 KNO-Alpha-vp | ||
| KNO-Alpha-vn double Yes a for vn KNO-Alpha-vn | ||
| KNO-Alpha-vbp double No a for vbp KNO-Alpha-vbp | ||
| KNO-Alpha-vbn double No a for vbn KNO-Alpha-vbn | ||
| KNO-Beta-vp double No b for vp KNO-Alpha-vp | ||
| KNO-Beta-vn double No b for vn KNO-Alpha-vn | ||
| KNO-Beta-vbp double No b for vbp KNO-Alpha-vbp | ||
| KNO-Beta-vbn double No b for vbn KNO-Alpha-vbn | ||
| KNO-EM-Alpha-vp double No a for vp in <mult> = a + blnW^2 KNO-EM-Alpha-vp | ||
| KNO-EM-Alpha-vn double Yes a for vn KNO-EM-Alpha-vn | ||
| KNO-EM-Alpha-vbp double No a for vbp KNO-EM-Alpha-vbp | ||
| KNO-EM-Alpha-vbn double No a for vbn KNO-EM-Alpha-vbn | ||
| KNO-EM-Beta-vp double No b for vp KNO-EM-Alpha-vp | ||
| KNO-EM-Beta-vn double No b for vn KNO-EM-Alpha-vn | ||
| KNO-EM-Beta-vbp double No b for vbp KNO-EM-Alpha-vbp | ||
| KNO-EM-Beta-vbn double No b for vbn KNO-EM-Alpha-vbn | ||
| KNO-Alpha-Hyperon double No a in Pstrange = a+blnW^2 KNO-Alpha-Hyperon | ||
| KNO-Beta-Hyperon double No b in Pstrange = a+blnW^2 KNO-Beta-Hyperon | ||
| KNO-LevyC-vp double No Levy function param c for vp KNO-LevyC-vp | ||
| KNO-LevyC-vn double No Levy function param c for vn KNO-LevyC-vn | ||
| KNO-LevyC-vbp double No Levy function param c for vbp KNO-LevyC-vbp | ||
| KNO-LevyC-vbn double No Levy function param c for vbn KNO-LevyC-vbn | ||
| KNO-EM-LevyC-vp double No Levy function param c for vp KNO-EM-LevyC-vp | ||
| KNO-EM-LevyC-vn double No Levy function param c for vn KNO-EM-LevyC-vn | ||
| KNO-EM-LevyC-vbp double No Levy function param c for vbp KNO-EM-LevyC-vbp | ||
| KNO-EM-LevyC-vbn double No Levy function param c for vbn KNO-EM-LevyC-vbn | ||
| ForceNeugenMultLimit bool Yes force neugen upper multiplicity limit (10) false | ||
| Wcut double No W cut in DIS/RES join scheme CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vp-CC-m2 double No scaling factor, vp CC, multiplicity=2 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vp-CC-m3 double No scaling factor, vp CC, multiplicity=3 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vp-NC-m2 double No scaling factor, vp NC, multiplicity=2 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vp-NC-m3 double No scaling factor, vp NC, multiplicity=3 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vp-EM-m2 double No scaling factor, vp EM, multiplicity=2 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vp-EM-m3 double No scaling factor, vp EM, multiplicity=3 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vn-CC-m2 double No scaling factor, vn CC, multiplicity=2 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vn-CC-m3 double No scaling factor, vn CC, multiplicity=3 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vn-NC-m2 double No scaling factor, vn NC, multiplicity=2 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vn-NC-m3 double No scaling factor, vn NC, multiplicity=3 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vn-EM-m2 double No scaling factor, vn EM, multiplicity=2 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vn-EM-m3 double No scaling factor, vn EM, multiplicity=3 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vbp-CC-m2 double No scaling factor, vbp CC, multiplicity=2 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vbp-CC-m3 double No scaling factor, vbp CC, multiplicity=3 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vbp-NC-m2 double No scaling factor, vbp NC, multiplicity=2 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vbp-NC-m3 double No scaling factor, vbp NC, multiplicity=3 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vbp-EM-m2 double No scaling factor, vbp EM, multiplicity=2 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vbp-EM-m3 double No scaling factor, vbp EM, multiplicity=3 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vbn-CC-m2 double No scaling factor, vbn CC, multiplicity=2 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vbn-CC-m3 double No scaling factor, vbn CC, multiplicity=3 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vbn-NC-m2 double No scaling factor, vbn NC, multiplicity=2 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vbn-NC-m3 double No scaling factor, vbn NC, multiplicity=3 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vbn-EM-m2 double No scaling factor, vbn EM, multiplicity=2 CommonParam[NonResBackground] | ||
| DIS-HMultWgt-vbn-EM-m3 double No scaling factor, vbn EM, multiplicity=3 CommonParam[NonResBackground] | ||
| KNO-ProbPi0Pi0 double No probability for pi0 pair KNO-ProbPi0Pi0 | ||
| KNO-ProbPiplusPiminus double No probability for pi+pi- pair KNO-ProbPiplusPiminus | ||
| KNO-ProbKplusKminus double No probability for K+K- pair KNO-ProbKplusKminus | ||
| KNO-ProbK0K0bar double No probability for K0 K0bar pair KNO-ProbK0K0bar | ||
| KNO-ProbPi0Eta double No probability for Pi0 Eta pair KNO-ProbPi0Eta | ||
| KNO-ProbEtaEta double No Probability for Eta Eta pair KNO-ProbEtaEta | ||
| ForceDecays bool Yes force decays of unstable particles false | ||
| Decayer alg Dep decayer to be used if decayes are forced | ||
| ForceMinMultiplicity bool Yes force a minimum multiplicity of 2 true | ||
| GenerateWeighted bool Yes generate weighted events false | ||
| KNO-UseBaryonPdfs-xFpT2 bool Yes use a baryon pT^2, xF parameterization KNO-UseBaryonPdfs-xFpT2 | ||
| KNO-UseIsotropic2BodyDec bool Yes use isotropic, non-reweighted 2-body decays KNO-UseIsotropic2BodyDec | ||
| for compatibility with neuugen/daikon | ||
| KNO-PhaseSpDec-Reweight bool Yes reweight decays to to reproduce exp pT2 KNO-PhaseSpDec-Reweight | ||
| KNO-PhaseSpDec-ReweightParm double Yes parameter controlling the reweight function KNO-PhaseSpDec-ReweightParm | ||
| --> | ||
|
|
||
| <alg_conf> | ||
| <param_set name="Default"> | ||
|
|
||
| <param type="string" name="CommonParam"> NonResBackground </param> | ||
|
|
||
| <!-- | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| Parameters controlling the average charged hadron multiplicities in the AGKY/KNO model | ||
| (paramerers a,b entering in the empirical expression: <n> = a + b * lnW^2 ) | ||
| See Nucl.Instrum.Meth.A614:87-104,2010 and Eur.Phys.J.C63:1-10,2009. | ||
| --> | ||
| <param type="double" name="KNO-Alpha-vp"> 0.40 </param> | ||
| <param type="double" name="KNO-Alpha-vn"> -0.20 </param> | ||
| <param type="double" name="KNO-Alpha-vbp"> 0.02 </param> | ||
| <param type="double" name="KNO-Alpha-vbn"> 0.80 </param> | ||
| <param type="double" name="KNO-Beta-vp"> 1.42 </param> | ||
| <param type="double" name="KNO-Beta-vn"> 1.42 </param> | ||
| <param type="double" name="KNO-Beta-vbp"> 1.28 </param> | ||
| <param type="double" name="KNO-Beta-vbn"> 0.95 </param> | ||
|
|
||
| <param type="double" name="KNO-EM-Alpha-vp"> 0.40 </param> | ||
| <param type="double" name="KNO-EM-Alpha-vn"> -0.20 </param> | ||
| <param type="double" name="KNO-EM-Alpha-vbp"> 0.02 </param> | ||
| <param type="double" name="KNO-EM-Alpha-vbn"> 0.80 </param> | ||
| <param type="double" name="KNO-EM-Beta-vp"> 1.42 </param> | ||
| <param type="double" name="KNO-EM-Beta-vn"> 1.42 </param> | ||
| <param type="double" name="KNO-EM-Beta-vbp"> 1.28 </param> | ||
| <param type="double" name="KNO-EM-Beta-vbn"> 0.95 </param> | ||
|
|
||
| <!-- | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| Parameters controlling the probability of producing a strange baryon via associated production. | ||
| (paramerers a,b entering in the empirical expression: P_{hyperon} = a + b * lnW^2 ) | ||
| Determined from a fit to \Lambda production data. | ||
| See Nucl.Instrum.Meth.A614:87-104,2010 and Eur.Phys.J.C63:1-10,2009. | ||
| --> | ||
| <param type="double" name="KNO-Alpha-Hyperon"> 0.021951447 </param> | ||
| <param type="double" name="KNO-Beta-Hyperon"> 0.041969985 </param> | ||
|
|
||
| <!-- | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| Levy function (KNO parameterization) parameter c at kno(z) = 2*exp(-c)*pow(c,cz+1)/Gamma(cz+1) | ||
| v+p : 7.93 +/- 0.34 source: Tingjun's fit | ||
| v+n : 5.22 +/- 0.15 source: Tingjun's fit | ||
| vbar+p : same as vn | ||
| vbar+n : same as vp | ||
| --> | ||
| <param type="double" name="KNO-LevyC-vp"> 7.93 </param> | ||
| <param type="double" name="KNO-LevyC-vn"> 5.22 </param> | ||
| <param type="double" name="KNO-LevyC-vbp"> 5.22 </param> | ||
| <param type="double" name="KNO-LevyC-vbn"> 7.93 </param> | ||
|
|
||
| <param type="double" name="KNO-EM-LevyC-vp"> 7.93 </param> | ||
| <param type="double" name="KNO-EM-LevyC-vn"> 5.22 </param> | ||
| <param type="double" name="KNO-EM-LevyC-vbp"> 5.22 </param> | ||
| <param type="double" name="KNO-EM-LevyC-vbn"> 7.93 </param> | ||
|
|
||
| <!-- | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| AGKY/KNO hadronization model probabilities for producing hadron pairs. | ||
| See Nucl.Instrum.Meth.A614:87-104,2010 and Eur.Phys.J.C63:1-10,2009. | ||
| Values below are modified values following strange hadron production tuning (see gDocDB-890-v1). | ||
| Previous values were P(pi0 pi0) = 0.30, P(pi+ pi-) = 0.60, P(K+ K-) = 0.05, P(K0 \barK0) = 0.05. | ||
| --> | ||
| <param type="double" name="KNO-ProbPi0Pi0"> 0.3133 </param> | ||
| <param type="double" name="KNO-ProbPiplusPiminus"> 0.6267 </param> | ||
| <param type="double" name="KNO-ProbKplusKminus"> 0.03 </param> | ||
| <param type="double" name="KNO-ProbK0K0bar"> 0.03 </param> | ||
| <param type="double" name="KNO-ProbPi0Eta"> 0.0 </param> | ||
| <param type="double" name="KNO-ProbEtaEta"> 0.0 </param> | ||
|
|
||
| <!-- | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| Parameters controlling whether to reweight the KNO phase space decay reweighting and the actual | ||
| reweighting function. | ||
| See: A.B.Clegg, A.Donnachie, A Description of Jet Structure by pT-limited Phase Space. | ||
| --> | ||
| <param type="bool" name="KNO-PhaseSpDec-Reweight"> true </param> | ||
| <param type="double" name="KNO-PhaseSpDec-ReweightParm"> 3.5 </param> | ||
|
|
||
| <!-- | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| Parameters controlling whether to use the baryon xF and pT2 pdfs in the KNO hadronization. | ||
| The option to use isotropic, non-reweighted 2-body phase space decays is used for compatibility | ||
| with neugen/daikon. | ||
| --> | ||
| <param type="bool" name="KNO-UseBaryonPdfs-xFpT2"> true </param> | ||
| <param type="bool" name="KNO-UseIsotropic2BodyDec"> true </param> | ||
|
|
||
| </param_set> | ||
|
|
||
| <param_set name="Default-Decaying"> | ||
| <param type="bool" name="ForceDecays"> true </param> | ||
| <param type="alg" name="Decayer"> genie::Pythia8Decayer2023/Default </param> | ||
| </param_set> | ||
|
|
||
| <param_set name="Old"> | ||
| <param type="bool" name="KNO-UseBaryonPdfs-xFpT2"> false </param> | ||
| <param type="bool" name="KNO-PhaseSpDec-Reweight"> false </param> | ||
| </param_set> | ||
|
|
||
| <param_set name="Old-Decaying"> | ||
| <param type="bool" name="ForceDecays"> true </param> | ||
| <param type="alg" name="Decayer"> genie::Pythia8Decayer2023/Default </param> | ||
| <param type="bool" name="KNO-UseBaryonPdfs-xFpT2"> false </param> | ||
| <param type="bool" name="KNO-PhaseSpDec-Reweight"> false </param> | ||
| </param_set> | ||
|
|
||
| </alg_conf> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.