Project

General

Profile

Support #1359

defining a new material in Geant4/Maus

Added by Carlisle, Timothy almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Simulation
Target version:
-
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

#1

Updated by Rogers, Chris almost 10 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...

#2

Updated by Carlisle, Timothy almost 10 years ago

Ah great, so I can add a few lines & then recompile Maus. Will close issue when sorted. Thanks!

#3

Updated by Carlisle, Timothy almost 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF