Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/eventgenerator/HepMC/HepMCEx02/README.md is written in an unsupported language. File is not indexed.

0001 \page ExampleHepMCEx02 Example HepMCEx02
0002 
0003   This example demonstrates how to interface primary particles in Geant4
0004 with various event generators via the HepMC Monte Carlo event interface.
0005 This is another example having the same generator action as 
0006 [HepMCEx01](../../html_HepMCEx01/html/ExampleHepMCEx01.html), 
0007 but much simpler user control.
0008 
0009 ## Primary Generator
0010 
0011  H02PrimaryGeneratorAction has HepMCG4Interface as the generator.
0012 There are two types of generators provided as samples. One generator reads 
0013 primary information from a HepMC Ascii file (data/example_MyPythia.dat).
0014 The other one generates primaries directly invoking PYTHIA routines 
0015 in every event.
0016 
0017 ## Geometry
0018 
0019   A simplified collider-type geometry, which consists of 
0020     - endcap calorimeter (a set of tubes filled with lead), 
0021     - barrel calorimeter (tube filled with lead),
0022     - barrel muon detector (8 sets of plates filled with Ar),
0023     - endcap muon detecror, (a set of tubes filled with Ar) and
0024     - uniform magnetic field along the z axis of 3 Tesla at the 
0025       central region.
0026 
0027 ## Physics List
0028 
0029   FTFP_BERT predefined physics list
0030 
0031 ## User actions
0032 
0033   All particles except muons are killed in the calorimeter section.
0034 
0035 ## Installation
0036 
0037  See ["eventgenerator/HepMC" page](../../html/Examples_HepMC.html) how to build this example.
0038   
0039 ## Execution
0040 ```
0041 % /HepMCEx02 hepmc_pygen.in
0042 ```