Message: Wrong use of a G4Material() Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Wrong use of a G4Material() 

Keywords: G4Material() exampleN03
Forum: Documentation and Examples
Date: 12 Nov, 2005
From: Kazuyoshi Furutaka <Kazuyoshi Furutaka>

Hi,

It seems that there's a wrong use of a G4Material() method in
ExN03DetectorConstruction.cc:
// $Id: ExN03DetectorConstruction.cc,v 1.21 2004/11/14 10:12:08 gbarrand Exp $
// GEANT4 tag $Name: geant4-07-00-patch-01 $

--- ExN03DetectorConstruction.cc.orig   2005-10-25 16:19:17.000000000 +0900
+++ ExN03DetectorConstruction.cc        2005-11-12 23:37:03.000000000 +0900
@@ -196,7 +196,7 @@

 G4Material* Vacuum =
 new G4Material("Galactic", z=1., a=1.01*g/mole,density= universe_mean_density,
-                           kStateGas, 3.e-18*pascal, 2.73*kelvin);
+                           kStateGas, 2.73*kelvin, 3.e-18*pascal);

 G4Material* beam =
 new G4Material("Beam", density= 1.e-5*g/cm3, ncomponents=1,

Yours,
Kazuyoshi

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

1 None: Re: Wrong use of a G4Material()   (michel maire - 14 Nov, 2005)
 Add Message Add Message
to: "Wrong use of a G4Material()"

 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 ]