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• event abortionExN04StackingActionMessenger(header file) (source file)• derived from G4UImessenger• define abortion conditionsExN04TrackingAction(header file) (source file)• derived from G4UserTrackingAction• select trajectories• select secondaries9.1.6. Example N05Basic concepts• Use of shower parameterisation:• definition of an EM shower model• assignment to a Logical Volume• (definition of ghost volume when ready)• Interactivity: build of messengers classes• Hits/Digi: filled from detailed and parameterised simulation (calorimeter type hits ?)Classesmain() (source file)• main() <strong>for</strong> interactive mode• construction and deletion of G4RunManager• construction and set of mandatory user classes• construction of the G4GlobalFastSimulationmanager• construction of a G4FastSimulationManager to assign fast simulation model to a logical volume (envelope)• (definition of ghost volume <strong>for</strong> parameterisation)• construction EM physics shower fast simulation modelExN05EMShowerModel(header file) (source file)• derived from G4VFastSimulationModel• energy deposition in sensitive detectorExN05PionShowerModel(header file) (source file)• derived from G4VFastSimulationModel• energy deposition in sensitive detectorExN05DetectorConstruction(header file) (source file)• derived from G4VUserDetectorConstruction• definitions of single materials and mixtures• CSG solids278

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

Saved successfully!

Ooh no, something went wrong!