Message: ParN02 example small mistake Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback ParN02 example small mistake 

Forum: Documentation and Examples
Date: 09 Apr, 2011
From: L.G. Sarmiento <L.G. Sarmiento>

Hello forum people.

I do not know who to address about this issue but I just found a line in the example that is just plain wrong. It is almost a typo but needs to be corrected for future generations ;)

the file examples/extended/parallel/ParN02/src/ExN02DetectorConstruction.cc
says:
non = 
  new G4Material("XenonGas", z=54., a=131.29*g/mole, density= 5.458*mg/cm3,
                 kStateGas, temperature= 1*atmosphere, pressure= 293.15*kelvin);
where it should correctly say:
non = 
  new G4Material("XenonGas", z=54., a=131.29*g/mole, density= 5.458*mg/cm3,
                 kStateGas, temperature= 293.15*kelvin, pressure= 1*atmosphere);

as in the examples/novice/N02/src/ExN02DetectorConstruction.cc file

Thanks in advance

/Pico

P.s: I am using geant4.9.4.p01

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Sad: Re: ParN02 example small mistake   (L.G. Sarmiento - 11 Apr, 2011)
2 Idea: Re: ParN02 example small mistake   (Michael H. Kelsey - 13 Apr, 2011)
 Add Message Add Message
to: "ParN02 example small mistake"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]