12.07.2015 Views

Geant4 User's Guide for Application Developers - Geant4 - CERN

Geant4 User's Guide for Application Developers - Geant4 - CERN

Geant4 User's Guide for Application Developers - Geant4 - CERN

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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• visualizationExN06PhysicsList(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 parametersExN06PrimaryGeneratorAction(header file) (source file)• derived from G4VPrimaryGeneratorAction• construction of G4ParticleGun• primary event generation via particle gunExN06RunAction(header file) (source file)• derived from G4VUserRunAction• draw detector9.1.8. Example N07Basic concepts• Geometry : Changing geometry of three simplified sandwitch calorimeters without re-building a world volume.• Region : Defining geometrical regions ans setting production thresholds <strong>for</strong> each region.• Run : Utilizing a concrete run class derived from G4Run base class <strong>for</strong> accumulating physics quantities andhits as a run.• Hits : Demonstrating the use of primitive scorer and filter classes without implementing sensitive detector class.Classesmain() (source file)• main() <strong>for</strong> 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 ExN07RunActionExN07DetectorConstruction(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 <strong>for</strong> each calorimeter tower280

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!