Message: Re: Help building a simple test Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Help building a simple test 

Forum: Documentation and Examples
Re: None Help building a simple test (Andrew)
Date: 03 Jan, 2012
From: Ivana Hrivnacova <Ivana Hrivnacova>

Hello Andrew,

You can start with looking at the basic examples to understand how to bild Geant4 application. 
For your problem, you can take the following classes from examples/extended/common (present only in Geant4 9.5, the last release):
ExG4DetectorConstruction01, ExG4DetectorConstruction01Messenger (from common/detectorConstruction) and ExG4PrimaryGeneratorAction01 (from common/primaryGenerator) and define your main program in a similar way like eg. in basic/B1 example. See more details about these classes at the new examples Web page:
  --> "Common classes for extended examples" 

You do not need to define your own physics list but you can use one of the provided physics list like in basic examples.

Let us know if you need more help.

Best regards,


 Add Message Add Message
to: "Re: Help building a simple test"

 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 ]