Message: Re: Extending the energy range in G4EnergyRangeManager for pions and kaons Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Extending the energy range in G4EnergyRangeManager for pions and kaons 

Keywords: Extending the energy range in G4EnergyRangeManager for pions and kaons
Forum: Hadronic Processes
Re: Question Extending the energy range in G4EnergyRangeManager for pions and kaons (Stephanie Hickford)
Date: 05 Nov, 2007
From: Dennis H. Wright <Dennis H. Wright>

Are you using one of the packaged physics lists, such as QGSP or 
QGSP_BERT?   If so, the upper limit in these lists is set to 100 TeV.
To change it you need to modifiy your copy of the Geant4 toolkit.

Go to the directory geant4/source/physics_lists/builders/src/  

and choose the file that correspondes to the physics list you are using.
If, for axample, you are using the QGSP physics list, edit the file

G4QGSPPiKBuilder.cc

changing the line  

theModel->SetMaxEnergy(100*TeV);

to have your new upper limit.   There are several places in the file where
you must do this.   

A warning though:  the models are not guaranteed to work (or work well)
above the current limits.  

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

1 None: Re: Extending the energy range in G4EnergyRangeManager for pions and kaons   (Stephanie Hickford - 19 Mar, 2008)
 Add Message Add Message
to: "Re: Extending the energy range in G4EnergyRangeManager for pions and kaons"

 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 ]