Back to home page

EIC code displayed by LXR

 
 

    


Last indexation completed on 2025-02-22 11:03:15 UTC

Examples for HepMC-Geant4 interface
This directory contains examples for using HepMC as an interface with various Monte Carlo event generators, such as PYTHIA. It also include an example for demonstrating MC truth handling with HepMC.
Requirements for external software packages


SEE ALSO: README

  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2025-02-22 08:01:08

Geant4 extended examples - event generator
Examples in this directory demonstrate various ways of primary event generation.
particleGun
This example demonstrate 4 ways of the usage of G4ParticleGun shooting primary particles in different cases.


SEE ALSO: README

folder HepMCEx01/ - 2025-02-22 08:01:08

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


SEE ALSO: README

folder HepMCEx02/ - 2025-02-22 08:01:08

Geant4 - an Object-Oriented Toolkit for Simulation in HEP
HepMCEx02
This example demonstrates how to interface primary particles in Geant4 with various event generators via the HepMC Monte Carlo event interface. This is another example having the same generator action as HepMCEx01, but much simpler user control.


SEE ALSO: README

folder MCTruth/ - 2025-02-22 08:01:08

Geant4 - an Object-Oriented Toolkit for Simulation in HEP
MCTRUTH using HepMC
This example demonstrates a mechanism for Monte Carlo truth handling using HepMC as the event record. The user does not interact directly with the HepMC classes but with the MCTruthManager class which takes care with storing all the necessary information about particles, vertices and relations between them. A specialized tracking action is used to test whether given particle is to be stored or not. The decision criteria for storing particle are configurable via the MCTruthConfig class.


SEE ALSO: README

CMakeLists.txt 376 bytes 2025-02-22 08:01:08 -  
History 3702 bytes 2025-02-22 08:01:08 -  
README 4010 bytes 2025-02-22 08:01:08 -