| Safe Haskell | Safe-Infered |
|---|
Data.LHA
Description
This module provides data structures for HEP events, as outlined by the Les Houches Accord (hep-ph/0109068v1). It attempts to be as close as possible to a direct haskell translation of the accord. Other relevant documents include:
- L. Garren, I. G. Knowles, T. Sjostrand and T. Trippe, Eur. Phys. J. C 15, 205 (2000).
- H. Plothow-Besch, Comput. Phys. Commun. 75, 396 (1993); CERN Program Library Long Writeup W5051 (2000); refer to http://consult.cern.ch/writeup/pdflib/.
- data Event = Event {}
- data Run = Run {}
- data Beam = Beam {}
- data Subprocess = Subprocess {}
- data Particle = Particle {}
- data ParticleStatus
- statusToInt :: Num a => ParticleStatus -> a
- statusFromInt :: (Eq a, Num a) => a -> ParticleStatus
- data MaybePair a
Documentation
Describes a generated event.
Describes the properties of an event generation run. Note that this data structure does not contain the generated event information.
Represents the properties of a single beam particle.
Constructors
| Beam | |
Fields
| |
data Subprocess Source
Describes the properties of a subprocess.
Describes a single particle component of a generated event.
Constructors
| Particle | |
Fields
| |
data ParticleStatus Source
Status codes for particles.
Constructors
| Incoming | Corresponds to status code -1. |
| OutgoingFinal | Corresponds to status code +1. |
| IntermediateSpaceLike | Corresponds to status code -2. |
| IntermediateResonance | Corresponds to status code +2. |
| DocumentationOnly | Corresponds to status code +3. |
| IncomingBeam | Corresponds to status code -9. |
statusToInt :: Num a => ParticleStatus -> aSource
statusFromInt :: (Eq a, Num a) => a -> ParticleStatusSource