Message: Re: Bad response using G4PrimaryParticle GetCharge() method. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Bad response using G4PrimaryParticle GetCharge() method. 

Keywords: Bug G4PrimaryParticle GetPDGcode
Forum: Particles
Re: Warning Bad response using G4PrimaryParticle GetCharge() method. (Paulo Mora de Freitas)
Date: 21 Aug, 2002
From: Makoto Asai <Makoto Asai>

Hi Paulo and Peter,

 The instant fix of initialization of G4PrimaryParticle::charge 
was included in Patch-01, which was released at the end of July.
More permanent fix has already been committed and tested, and it
will be included in next release. 
 In this permanent fix, the initial value of "charge" is set to
DBL_MAX. If this initial value is kept unchenged, then the charge
of G4ParticleDefinition will be copied to G4DynamicParticle, while
once user changes the value in G4PrimaryParticle from DBL_MAX to
other, then this value is copied to G4DynamicParticle.

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

 Add Message Add Message
to: "Re: Bad response using G4PrimaryParticle GetCharge() method."

 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 ]