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10.5 ] [ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Name Size       Last modified (GMT) Description
Back Parent directory       2024-12-05 15:16:16
Folder data/       2024-12-05 15:16:16
Folder external/       2024-12-05 15:16:16
Folder include/       2024-12-05 15:16:16
Folder src/       2024-12-05 15:16:16
File CMakeLists.txt 3357 bytes       2024-12-05 15:16:16
C++ file HepMCEx02.cc 3997 bytes       2024-12-05 15:16:16
File History 2427 bytes       2024-12-05 15:16:16
File README 1557 bytes       2024-12-05 15:16:16
File hepmc_ascii.in 129 bytes       2024-12-05 15:16:16
File hepmc_ascii.out 263331 bytes       2024-12-05 15:16:16
File hepmc_pygen.in 70 bytes       2024-12-05 15:16:16
File hepmc_pygen.out 50223 bytes       2024-12-05 15:16:16
File pyh4mu.mac 1676 bytes       2024-12-05 15:16:16
File pyset.mac 93 bytes       2024-12-05 15:16:16
File vis.mac 2046 bytes       2024-12-05 15:16:16

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