Hi again,
The new minor version (2.08.03) is now available; at meantime these characteristics have been added also to Root materials.
Best regards,
Ivana
Ivana Hrivnacova wrote:
>
> Hi Brett,
>
> Currently it is not possible, as the definition of interfaces
> was driven by the requirements for converting between Geant4 and Root
> geometry models, and as Root materials do not have temperature and
> pressure, you do not pass these data between them
>
> It can be quickly added; I will prepare a new minor version where
> this will be possible.
>
> Best regards,
>
> Ivana
>
>
> Brett Viren wrote:
>> Hi, >> >> Is it possible in a pure VGM construction to define a gas material >> with a temperature and pressure? For example, I have the following >> Geant4 "Vacuum" material that I want to construct given a >> VGM::IMaterialFactory: >> >> >> // Air >> density = 1.205e-3*g/cm3; >> Air = new G4Material(name="Air", density, nel=4); >> Air->AddElement(elN, 0.7550); >> Air->AddElement(elO, 0.2321); >> Air->AddElement(elAr, 0.0128); >> Air->AddElement(elC, 0.0001); >> >> // Vacuum >> // --- PMT vacuum is very dilute air ------- >> density = 1e-3 * kGasThreshold; //from PhysicalConstants.h >> G4double temperature = STP_Temperature; //from >> PhysicalConstants.h >> G4double pressure = STP_Pressure * density / (1.29e-3*g/cm3); >> Vacuum = new G4Material(name="Vacuum", density, 1, >> kStateGas,temperature,pressure); >> Vacuum->AddMaterial(Air, 1.); >> >> >> I know how to convert "Air", but not "Vacuum". >> >> Thanks for any help, >> -Brett. >>
-- ============================================================== e-mail: Ivana.Hrivnacova_at_cern.ch address: Institut Physique Nucleaire, 91406 Orsay, France phone: (33) 01 69 15 65 94 ==============================================================Received on Thu Nov 23 2006 - 10:39:33 MET
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:55:09 MET