-
Notifications
You must be signed in to change notification settings - Fork 107
Adds a SplinePostProcessor singleton class to Generator
#468
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
base: master
Are you sure you want to change the base?
Changes from all commits
1e2e4a0
f0d024f
336c2a8
57145cb
44b695d
bff3739
4af5dc1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| <?xml version="1.0" encoding="ISO-8859-1"?> | ||
|
|
||
| <!-- | ||
| Configuration for the SplinePostProcessor | ||
| Tool that forces Gaussian kernel smoothing on selected algorithms | ||
|
|
||
| Algorithm Configurable Parameters: | ||
| .............................................................................................................................. | ||
| Name Type Opt Comment Default | ||
| .............................................................................................................................. | ||
|
|
||
| ************ ******************************* | ||
| set Default: Generic configuration parameter | ||
| ************ ******************************* | ||
| HandledAlgorithms vec-string no Keys of algorithms handled by this tool. | ||
| Stops vec-double no Reference neutrino energies at which the Gaussian kernel has given width | ||
| Widths vec-double no Reference widths of the Gaussian kernel at specific neutrino energies | ||
| --> | ||
|
|
||
| <alg_conf> | ||
|
|
||
| <param_set name="Default"> | ||
|
|
||
| <param type="vec-string" delim="," name="HandledAlgorithms"> genie::NievesQELCCPXSec/ZExp </param> | ||
| <param type="vec-double" delim="," name="Stops"> 0.1,0.2,0.5,1.0,2.0,5.0,10.0,50.0,100.0 </param> | ||
| <param type="vec-double" delim="," name="Widths"> 0.005,0.01,0.025,0.05,0.1,0.25,0.47,2.34,4.7 </param> | ||
| <!-- separate list for nutau due to high thresholds --> | ||
| <param type="vec-double" delim="," name="Stops@Pdg=16,-16"> 2.8,3.0,4.0,5.0,10.0 </param> | ||
| <param type="vec-double" delim="," name="Widths@Pdg=16,-16"> 0.005,0.01,0.03,0.075,0.1 </param> | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does the stops/widths list for nu_tau(_bar) need to go as far as the standard one? Why or why not?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I definitely didn't give too much thought to the stops / widths for nutau, nutaubar. But as you noted -- above the upper stop, the last width is used. Now that I think about it, perhaps the best solution is to add a stop at 1 TeV with some width. (The scaling between points is linear, currently; line 262 and friends of |
||
| <param type="bool" name="UsePostProcessing"> true </param> | ||
|
|
||
| </param_set> | ||
|
|
||
| </alg_conf> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -373,7 +373,7 @@ PDGCodeList * GetNeutrinoCodes(void) | |
| vector<string>::const_iterator iter; | ||
| for(iter = nuvec.begin(); iter != nuvec.end(); ++iter) { | ||
| list->push_back( atoi(iter->c_str()) ); | ||
| } | ||
| } | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unnecessary addition of trailing blank space. |
||
| return list; | ||
| } | ||
| //____________________________________________________________________________ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest
SplinePostProcessorentries in the otherMessenger_XYZZY.xmlfiles as well; have them consistent with the general theme of the file.