Download Geant4 User's Guide for Application Developers
Transcript
Examples • • • • • • generate and add Material Properties Table to materials CSG and BREP solids G4PVPlacement with rotation definition of surfaces generate and add Material Properties Table to surfaces visualization ExN06PhysicsList (header file) (source file) • • • • derived from G4VUserPhysicsList definition of gamma, leptons and optical photons transportation, 'standard' EM-processes, decay, Cerenkov, scintillation, 'standard' optical and boundary process modify/augment optical process parameters ExN06PrimaryGeneratorAction (header file) (source file) • derived from G4VPrimaryGeneratorAction • construction of G4ParticleGun • primary event generation via particle gun ExN06RunAction (header file) (source file) • derived from G4VUserRunAction • draw detector 9.1.8. Example N07 Basic concepts • Geometry : Changing geometry of three simplified sandwitch calorimeters without re-building a world volume. • Region : Defining geometrical regions ans setting production thresholds for each region. • Run : Utilizing a concrete run class derived from G4Run base class for accumulating physics quantities and hits as a run. • Hits : Demonstrating the use of primitive scorer and filter classes without implementing sensitive detector class. Classes main() (source file) • • • • • main() for interactive mode and batch mode via macro file construction and deletion of G4RunManager construction and deletion of G4VisExective and G4UITerminal construction and set of mandatory user classes construction and set of ExN07RunAction ExN07DetectorConstruction (header file) (source file) • • • • • derived from G4VUserDetectorConstruction definitions of materials and mixtures G4Box with G4PVPlacement and G4PVReplica Dynamic changing of size, position, orientation and number of volumes G4Region for each calorimeter tower 266