Message: Re: May I modify the energy threshold? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: May I modify the energy threshold? 

Forum: Fast Simulation, Transportation & Others
Re: Question May I modify the energy threshold? (Vito)
Date: 06 Feb, 2007
From: Vladimir IVANTCHENKO <>

On Thu, 1 Feb 2007, Vito wrote:

> *** Discussion title: Fast Simulation, Transportation & Others
> Email replies to must include:
>   In-Reply-To: <"/fastsim/24">
>   Subject: ...change this to be about your reply.
> Hello, I'm trying to modify a Geant4 code in way of obtain a stepsize shorter.
> I have seen the Geant4 manual: for application developers, in it  
> is explained a method that involve the introduction of a particular kind 
> code in the PhysicsList, but in my code no "User PhysicsList" is implemented,
> rather than is used the general PhysicsList LHEP. 
> How I can modify the stepsize (then the energy threshold) in this case?
> Many thanks
>        Vito Palladino


You can try follwoing. In in your main instead of one line

runManager->SetUserInitialization(new LHEP());

insert more lines:

G4double myCut = 0.1*mm;
LHEP* pLHEP = new LHEP();


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

 Add Message Add Message
to: "Re: May I modify the energy threshold?"

 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 ]