Message: Re: Untitled Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Untitled 

Forum: Documentation and Examples
Re: Question Untitled (Elena Novikova)
Date: 02 Jul, 2002
From: Vladimir Ivanchenko <Vladimir Ivanchenko>

Thank you Elena,

You are absolutly right. We have to modify the example.

VI

On Tue, 2 Jul 2002, Elena Novikova wrote:

> *** Discussion title: Documentation and Examples
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/docsexamples/23"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> I am pretty sure there is an error in the User Manual, 
> section 5.2.1 "Electromagnetic interactions." In the Listing 5.2.1, 
> the following fragment can be found:
> 
>     else if (particleName == "e-") {
> 
>       theLEIonisation = new G4LowEnergyIonisation();
>       theLEBremsstrahlung = new G4LowEnergyBremsstrahlung();
>       theeminusMultipleScattering = new G4MultipleScattering();
> 
>       pmanager->AddProcess(theeminusMultipleScattering,-1,1,1);
>       ///pmanager->AddProcess(theLEIonisation,-1,2,2);
>       pmanager->AddProcess(theLEIonisation,-1,-1,2);
>       pmanager->AddProcess(theLEBremsstrahlung,-1,-1,3);
> 
> The line that's commented out is the correct line, which 
> should NOT be commented out. Instead, the line right after 
> the commented out line should be deleted or commented out.
> The correct code should look like this:
> 
>     else if (particleName == "e-") {
> 
>       theLEIonisation = new G4LowEnergyIonisation();
>       theLEBremsstrahlung = new G4LowEnergyBremsstrahlung();
>       theeminusMultipleScattering = new G4MultipleScattering();
> 
>       pmanager->AddProcess(theeminusMultipleScattering,-1,1,1);
>       pmanager->AddProcess(theLEIonisation,-1,2,2);
>       pmanager->AddProcess(theLEBremsstrahlung,-1,-1,3);
> 
> If this correction is not made, then the low energy ionization 
> process is included incorrectly, in my opinion, because the 
> AlongStepDoIt step is not turned on.
> 
> Am I right?
> 
> Thanks.
> -- Elena.
> 
> 

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

 Add Message Add Message
to: "Re: Untitled"

 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 ]