Skip to content

Conversation

@zdemirog
Copy link
Collaborator

Update of LH2 material properties in remoll.
Details at docDB1502

…cted hard coded target material name for ep-elastic generator
@zdemirog
Copy link
Collaborator Author

zdemirog commented Nov 20, 2025

On c79ea74, I updated the LiquidHydrogen material from a simple element definition to a composite material definition, so that Geant4 creates valid AtomsVector, ElementVector etc, which are required by the active target volume;

	    const G4int *atomvec = material->GetAtomsVector();
	    const G4ElementVector *elvec = material->GetElementVector();
	    const G4double *fracvec = material->GetFractionVector();

https://github.com/JeffersonLab/remoll/blob/develop/src/remollBeamTarget.cc#L369C1-L371C62

I also changed the hard coded target material name in ep-elastic generator (issue #256 ), so it finds and uses the new customized LiquidHydrogen material instead of G4_lH2 name.

Updated simulation results related to this update can be found in docDB1502

@zdemirog zdemirog requested a review from rakithab November 20, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant