Message: Re: SetAngularGenerator in the Livermore based model Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: SetAngularGenerator in the Livermore based model 

Forum: Physics List
Re: Question SetAngularGenerator in the Livermore based model (Suhaili Zakaria)
Date: 27 Jan, 2011
From: Andreas Schaelicke <Andreas Schaelicke>

Hallo,

SetAngularGenerator is a method of the Bremsstrahlung model not of the process. You should use something along the line of

 G4eBremsstrahlung *eBrem = new G4eBremsstrahlung();  
 G4LivermoreBremsstrahlungModel *model = new G4LivermoreBremsstrahlungModel();
 model->SetAngularGenerator("2bn");
 eBrem->SetEmModel(model); 

You can also add the model explicitly via:

 model->SetAngularGenerator(new G4Generator2BN("2BNGenerator"));

Note, since Geant4 9.4 the latter is also possible for the standard Bremsstrahlung model.

Andreas

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

1 Ok: Re: SetAngularGenerator in the Livermore based model   (Suhaili Zakaria - 27 Jan, 2011)
 Add Message Add Message
to: "Re: SetAngularGenerator in the Livermore based model"

 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 ]