$Id: README,v 1.3 2006/07/05 11:53:02 gcosmo Exp $
-------------------------------------------------------------------

     =========================================================
     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
     =========================================================

                            HepMCEx01
                            ---------

 HepMCEx01 is based on ExampleN04, which has a simplified collider detector 
geometry. Only part of the primary generator action is replaced with new one. 
This example demonstrates the following features.

1. HepMC interface

 ExN04PrimaryGeneratorAction has HepMCG4Interface as the generator.
There are two types of generators provided as samples. One generator reads 
primary information from a HepMC Ascii file (data/example_MyPythia.dat).
The other one generates primaries directly invoking PYTHIA routines 
in every event.

2. Readout geometry

 ExN04DetectorConstruction defines a simplified collider detecor
geometry, tracker made of cylindrical tubes, calorimeter made of
cylindrical tubes, and muon trackers made of planes.
 Cylindrical calorimeter is made of tubes of lead and scintirator
without cut in phi nor z direction. Energy deposition in scintirator
is accumulated by ExN04CalorimeterSD sensitive detector, which has
a readout geometry to find the phi-z cell.

3. Full set of "ordinary" physics processes

 ExN04PhysicsList defines almost all of leptons and hadrons which
Geant4 has dedicated classes for. Also almost all physics processes 
Geant4 has are defined.

4. Event filtering by the stacking mechanism.

 Higgs events in "pythia_event.data" have two lepton pairs produced
by the Higgs decay via Z0. At the first stage of each event, only the
primary muons are tracked without tracking secondaries. then the number
of hits on the muon trackers are examined. At the next stage, only
the primary charged particles are tracked only inside the barrel
tracking area and the isolation of the primary muons are examined.
At the third stage, all particles in the RoI (Region of Interest) along
the isolated muons are tracked. All these examinations are applied in
ExN04StackingAction.

NOTE: it requires the installation of:
      - CERNLIB 2005 and proper access to the "/cern/pro/bin" path included
        in $PATH.
      - HepMC, version 1.27 or greater and proper path defined in $HEPMC_DIR.
