Running Sequence ================ A complete PandaRoot simulation consists of several separated simulation stages. .. image:: ../Images/PandaRootSimulationStages.png :width: 600 :alt: Simulation stages in PandaRoot Event Generator --------------- First stage is the event generator. It simulates the interaction of the antiproton beam with the target. It does not include any interaction with the PANDA detector which is important for the decay of long living charged particles like hyperons. Several different event generators exist for the different interaction scenarios. For a more detailed description see :ref:`EventGenerators`. Transport ----------- In the second stage the particles generated via the event generator are transported through the detector. This is done via either `Geant3`_ or `Geant4`_ which can be seamlessly selected via `VMC`_. In this stage the particle properties like their decay length, interaction with the detector material and fields taken into account. It creates a realistic picture about the processes taking place inside the detector. The output of this stage is a Monte Carlo truth list of generated particles with their point of origin, momentum, charge and creation time, and, for each sub-detector, a list of points where the particles have interacted with sensitive detector material, containing the time, position and lost energy at that point. .. _Geant3: https://vmc-project.github.io/user-guide/geant3+vmc/ .. _Geant4: https://geant4.web.cern.ch/ .. _VMC: https://vmc-project.github.io/ Digitizer --------- Reconstruction -------------- Local Reconstruction ^^^^^^^^^^^^^^^^^^^^ Global Reconstruction/Tracking ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^