r3 - 08 Jul 2010 - 16:10:24 - JMAlboSYou are here: TWiki >  NEXT Web  >  NextSoftware > SoftwareDetectorSimulation > SoftwareNexus > NexusDevGuide

NEXUS Developer's Guide


Adding a new geometry

Generally, in a Geant4 application the detector geometry (i.e., all solid, logical and physical volumes that model your detector) is implemented in a class derived from G4VUserDetectorConstruction that is later passed to the G4RunManager in the main() function. This approach makes impossible the reuse (beyond the copy and paste) of such a geometry to build another one (say, for instance, that you want to use the geometry of a PMT you defined already in a new detector full of them).

To solve this problem, NEXUS adds an additional OO layer of abstraction by encapsulating the geometry descriptions in classes derived from BaseGeometry.

Adding a new primary generator

Adding new user-actions

Adding a new physics-list

Sensitive Detectors

Useful Documentation

Geant4 Code Browserexternal
Edit | WYSIWYG | Attach | PDF | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback