-
Notifications
You must be signed in to change notification settings - Fork 34
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
Implementing EmPhysicsList Livermore-5D #87
Open
AdrienLaviron
wants to merge
10
commits into
zoglauer:feature/compair2
Choose a base branch
from
AdrienLaviron:feature/compair2
base: feature/compair2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Implementing EmPhysicsList Livermore-5D #87
AdrienLaviron
wants to merge
10
commits into
zoglauer:feature/compair2
from
AdrienLaviron:feature/compair2
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
LivPolwBH5D is a new EM physics list (EmPhysicsList zoglauer#6 in MCPhysicsList.*) based on Livermore-Pol, with the pair production model switched to the new G4BetheHeitler5DModel from Geant4 v10.5 and superior. It is a polarized pair production model that implements 4-momentum conservation at the vertex and a fraction 1/(Z+1) of the pair production are modelled as triplet pair production. Files MCParameterFile.cc and MCPhysicsList.* have been modified to declare that physics list as the EM physics list zoglauer#6 and to construct that physics list upon request. - New file G4BetheHeitler5DModel.cc comes from Geant4 v11.1, has been modified to fit in Geant4 v10. List of changes: TheElectron -> theElectron (it changed in G4PairProductionRelModel) fTheGamma -> theGamma (idem) Removed all references to G4EmParameters and theManager (instance of G4EmParameters). It means that we cannot shunt the physics (impose raw conversion instead of the default atom conversion, impose either nuclear or triplet pair conversion instead of the default "choose randomly between" behavior) from commands anymore. SelectTargetAtom -> SelectRandomAtom (simple name change, also removes the need for GetLogKineticEnergy) G4Element::GetZasInt -> lrint(G4Element::GetZ) - New file G4BetheHeitler5DModel.hh : No changes from Geant4 v11.1 - New files LivermorePolarizedBH5DPhysics.* : Same as the Geant4 v10.02 except it uses G4BetheHeitler5DModel for pair production. No changes to the .hh.
…nd file names to Livermore-5D / Livermore5D*
FIX: *.sim not appearing in revan
This reverts commit b825cac.
This reverts commit 38da705.
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.
Implemented the new physics list as
Uses G4BetheHeitler5DModel from Geant4 v. 10.5 (and up) as pair production model, the rest of the EM processes are from the Livermore-Pol physics list.
The triplet-to-nuclear ratio is implemented as 1/Z for all energies.