Support #1359
defining a new material in Geant4/Maus
Start date:
14 October 2013
Due date:
% Done:
100%
Estimated time:
Workflow:
New Issue
Description
Hi Chris,
I'd like to make scattering simulations in LH2 but using the measured (MuScat) density of 0.0755g/cm3 rather than the standard value of 0.0708g/cm3. Is there a simple way to do this?
I imagine I need something like this:
G4double density = 0.0755*g/cm3;
G4double a = 1.008*g/mole;
new G4Material("LH2_MuScat",z=1.,a,density);
does this go into geant4 & recompile...? Or is there a simpler route, in a geometry file perhaps?
Thanks,
Tim
Updated by Rogers, Chris over 9 years ago
There is a big list of materials in src/legacy/Simulation/FillMaterials.cc
which is probably what you are looking for. At some point this should be cleaned up, but for now it is what we have...
Updated by Carlisle, Timothy over 9 years ago
Ah great, so I can add a few lines & then recompile Maus. Will close issue when sorted. Thanks!
Updated by Carlisle, Timothy over 9 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100