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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Examples• G4VPrimitiveScorer and G4VSDFilter• visualizationExN07DetectorMessenger(header file) (source file)• derived from G4UIMessenger• definition of example-specific geometry commandsExN07PhysicsList(header file) (source file)• derived from G4VUserPhysicsList• difine all types of particles• define standard EM and decay processes• production thresholds <strong>for</strong> each regionExN07PrimaryGeneratorAction(header file) (source file)• derived from G4VPrimaryGeneratorAction• construction of G4ParticleGun• primary event generation via particle gunExN07RunAction(header file) (source file)• derived from G4UserRunAction• constructing ExN07Run class object• print out a run summary with ExN07Run class objectExN07Run(header file) (source file)• derived from G4Run• uses G4THitsMap template class to accumulate physics quantities• extracts event data from G4Event and add up to run data9.2. Extended Examples9.2.1. Extended Example Summary<strong>Geant4</strong> extended examples serve three purposes:• testing and validation of processes and tracking,• demonstration of <strong>Geant4</strong> tools, and• extending the functionality of <strong>Geant4</strong>.The code <strong>for</strong> these examples is maintained as part of the categories to which they belong. Links to descriptionsof the examples are listed below.9.2.1.1. Analysis• A01 - hit-scoring and histogramming using the AIDA interface• AnaEx01 - histogram and tuple manipulations using an AIDA compliant system281

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

Saved successfully!

Ooh no, something went wrong!