Geant4 Cross Reference |
>> 1 $Id: README,v 1.2 2010/05/24 05:32:50 kmura Exp $ 1 ---------------------------------------------- 2 ------------------------------------------------------------------- 2 3 3 ========================================= 4 ========================================================= 4 Geant4 - an Object-Oriented Toolkit for S 5 Geant4 - an Object-Oriented Toolkit for Simulation in HEP 5 ========================================= 6 ========================================================= 6 7 7 HepMCEx02 8 HepMCEx02 8 --------- 9 --------- 9 10 10 This example demonstrates how to interface p 11 This example demonstrates how to interface primary particles in Geant4 11 with various event generators via the HepMC Mo 12 with various event generators via the HepMC Monte Carlo event interface. 12 This is another example having the same genera 13 This is another example having the same generator action as HepMCEx01, 13 but much simpler user control. 14 but much simpler user control. 14 15 15 1. Primary Generator 16 1. Primary Generator 16 17 17 H02PrimaryGeneratorAction has HepMCG4Interfac 18 H02PrimaryGeneratorAction has HepMCG4Interface as the generator. 18 There are two types of generators provided as 19 There are two types of generators provided as samples. One generator reads 19 primary information from a HepMC Ascii file (d 20 primary information from a HepMC Ascii file (data/example_MyPythia.dat). 20 The other one generates primaries directly inv 21 The other one generates primaries directly invoking PYTHIA routines 21 in every event. 22 in every event. 22 23 23 2. Geometry 24 2. Geometry 24 25 25 A simplified collider-type geometry, which c 26 A simplified collider-type geometry, which consists of 26 - endcap calorimeter (a set of tubes fille 27 - endcap calorimeter (a set of tubes filled with lead), 27 - barrel calorimeter (tube filled with lea 28 - barrel calorimeter (tube filled with lead), 28 - barrel muon detector (8 sets of plates f 29 - barrel muon detector (8 sets of plates filled with Ar), 29 - endcap muon detecror, (a set of tubes fi 30 - endcap muon detecror, (a set of tubes filled with Ar) and 30 - uniform magnetic field along the z axis 31 - uniform magnetic field along the z axis of 3 Tesla at the 31 central region. 32 central region. 32 33 33 3. Physics List 34 3. Physics List 34 35 35 FTFP_BERT predefined physics list << 36 QGSP predefined physics list 36 37 37 4. User actions 38 4. User actions 38 39 39 All particles except muons are killed in the 40 All particles except muons are killed in the calorimeter section. 40 41 41 5. Installation << 42 << 43 See HepMC/README how to build this example. << 44 << 45 6. Execution << 46 << 47 % HepMCEx02 hepmc_pygen.in << 48 <<