Message: Re: Problem when combining QGSP_BERT_HP and Penelope Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problem when combining QGSP_BERT_HP and Penelope 

Forum: Physics List
Re: Question Problem when combining QGSP_BERT_HP and Penelope (Thomas Zerguerras)
Date: 17 Jul, 2014
From: Luciano Pandola <Luciano Pandola>

Ciao,

one difference I see is that in

 a=1.01*g/mole;
 elH=newG4Element(name="Hydrogen",symbol="H2",z=1.,a);

there is the explicit g/mole unit, while in

 elHPolyEthy = new G4Element(name="TS_H_of_Polyethylene","H",z=1., 1.01) ;

there is no unit attached to the 1.01...

I can reproduce the problem with your settings, but the problem is gone if you write

 elHPolyEthy = new G4Element(name="TS_H_of_Polyethylene","H",z=1., 1.01*g/mole);

Could you please have a try and let me know?

Ciao, thanks Luciano

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

1 Ok: Re: Problem when combining QGSP_BERT_HP and Penelope   (Thomas Zerguerras - 17 Jul, 2014)
 Add Message Add Message
to: "Re: Problem when combining QGSP_BERT_HP and Penelope"

 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 ]