Add "unified" QE model - #12
Open
sjgardiner wants to merge 7 commits into
Open
Conversation
Add unified QEL cross-section framework with hadron tensor infrastructure
Introduces a hadron-tensor-based formulation for quasi-elastic cross
section calculations, replacing direct amplitude evaluation with a
contraction of leptonic and hadronic tensors.
New components:
- HadronTensorInterface(I) and Rank2LorentzTensorI: base classes for
rank-2 Lorentz tensor manipulation and contraction. New we only
implement the one body current. We will introduction two body
currents and interference in the future.
- LeptonTensor and ManualResponseTensor: leptonic and hadronic tensor
implementations
- UnifiedQELPXSec: tensor-contraction-based QEL cross-section algorithm
- KellyELFormFactorsModel: Kelly parametrization of nucleon EM form
factors, it is dipole model, new to GENIE
- LwlynSmithFFEM: electromagnetic variant of the Llewellyn-Smith
form-factor model
- onebody_currents_sf: one-body current operators for spectral
function calculations
- Spectral function tables for 12C, 16O, and 40Ar (p/n)
Updates SpectralFunc to interface with the new framework, registers
new algorithms in master_config.xml and per-algorithm XML configs,
and adjusts Makefile and LinkDef entries for the new classes.
The change only rename the class of hadron tensor, add comments
In order to avoid use external Eigen library, implement the TensorUtil to do hadron current. The implementation is done by claude, I do the validate to make sure the agreement at machine precision.
UnifiedQELPXSec model configuration
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
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.
Provides a QE cross section model that can be run generically for CC + EM interactions. Originally developed for use with the spectral function nuclear model following the approach of Noemi Rocco and collaborators.