-
Notifications
You must be signed in to change notification settings - Fork 96
Hadron tensor framework & SuSAv2 model implementation #55
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
Conversation
This file contains 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
0153637
to
a096f65
Compare
0e45869
to
6f54d91
Compare
…or for the Valencia MEC model
hadronic tensor using a pre-interpolated TableEntry object. This will be helpful for the differential cross section implementation.
…he new HadronTensorPool and HadronTensorI classes
ValenciaHadronTensorI inherit from it. The TabulatedHadronTensor class is now a subclass of ValenciaHadronTensorI called TabulatedValenciaHadronTensor.
done for the Nieves MEC model
… the HadronTensors.xml configuration file accordingly.
tensor objects (which may involve reading in a large file) as necessary (lazy initialization).
…dron tensor machinery (which will eventually be used by interaction modes other than MEC) into it. Adjust the build scripts accordingly.
Now this is done via the new HybridXSecAlgorithm class, which uses SuSAv2QELPXSec and LwlynSmithQELCCPXSec as sub-algorithms.
store a null pointer in the owned map to avoid redundant failed lookups in the future.
…imum differential cross section in MECGenerator::SelectSuSALeptonKinematics()
MECUtils source file. This will allow it to be re-used in other cases where we need to scan for the maximum differential xsec in the same phase space (e.g., for SUSAv2 1p1h)
CCQE+CCMEC and NCEL+NCMEC lists)
used for EMQE+EMMEC
…ntial cross section. This avoids problems with missing the minimum Q^2 value. Rejection sampling is still quite inefficient for EMMEC, but it's usable.
Q^2 cut in the SuSAv2 QEL and MEC cross sections
This reverts commit f4d18d0.
QE response was a factor of two too large.
…SAv2 QE + MEC cross sections.
than scaling by A, we should scale by the number of nucleons matching the struck nucleon. This gets the ratio of initial-state p vs. n right when integrating splines.
QELEventGeneratorSuSA. Occasional problems were found when the cache was used, but there is a negligble impact on performance when the maximum diff xsec is directly calculated for each event. Reduce the safety factor for this class to 1.2 in the configuration XML file. Modify the choice of the layer boundaries in genie::utils::mec::GetMaxXSecTlctl so that the low Q^2 cut and the maximum Tl value are both always included. This will ensure that the maximum diff xsec is always found even when there are problems with round-off at the kinematic boundaries.
…RM in the GTEST19_10b_00_000 tune. This was done previously in the main EventGenerator.xml file, but the custom one for this tune was not updated.
genie::KNOTunedQPMDISPXSec class
genie::utils::mec::GetMaxXSecTlctl. This adjustment addresses a problem which shows up only at high energies.
differential cross section when generating SuSAv2 events.
mroda88
approved these changes
Jul 15, 2020
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.
It works for me. Tested a number of nuclei and I have plots for the comparisons.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This feature branch refactors the hadron tensor table code used by the Nieves MEC model into a more flexible and general framework. Key new features are:
See materials on GENIE docDB for more information. After building the
susav2
feature branch, SuSAv2 QE+MEC events can be generated using theGTEST19_10b_00_000
tune identifier.