Introduction to Geant4
Lectures by Andrea dell'Acqua (CERN)

From the Ann Arbor Workshop on Geant4
26 February to 2 March, 2001.

Exercise N01


The standard Geant4 distribution comes with a set of exercises (both for the novice and the advanced user).  The simplest exercise (ExN01 in the novice category) is quite useful for testing the Geant4 installation and to see a Geant4 program (although quite trivial) at work.  ExN01 begins in  Lecture 2, Installation of Geant4, on slide number 12.
 

Steps ExN01

  1. A plate calorimeter, three geantinos (geometrical probes) are shot into the experiment.  Setup at slightly different angles.
  2. A dump of the event is produced.
  3. Set all variables needed for running (don't forget LD_LIBRARY PATH)
  4. Copy the example code below:
    1. cp -r $G4INSTALL/examples/novice/N01 .
      cd N01
      export G4WORKDIR='pwd'
      gmake
  5. to run:
    1. bin/Linux-g++/exampleN01

Definitions

Helpful Links

Checklist

Back to the Geant4 Lectures


For information: wlap@umich.edu
http://www.umich.edu/~wlap Last modified: syscmd(date)