lha-0.1.2: Data structures for the Les Houches Accord

Safe HaskellSafe-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/.

Synopsis

Documentation

data Event Source

Describes a generated event.

Constructors

Event 

Fields

nPart :: Int

The number of particles in this event.

evProcId :: Int

The ID of the subprocess used to generate this event.

evWeight :: Double
 
scale :: Double

The scale of the event, in GeV.

aQED :: Double
 
aQCD :: Double
 
parts :: [Particle]
 

data Run Source

Describes the properties of an event generation run. Note that this data structure does not contain the generated event information.

Constructors

Run 

Fields

runBeam :: (Beam, Beam)

The properties of the two beams being used in this run.

idwt :: Int

Switch dictating how the event weights are to be interpreted.

nProc :: Int

The number of different subprocesses being used.

procs :: [Subprocess]

List of all subprocesses being used.

data Beam Source

Represents the properties of a single beam particle.

Constructors

Beam 

Fields

beamPDG :: Int

ID of the beam particle according to the Particle Data Group convention.

beamE :: Double

Energy in GeV of the beam particle.

pdfg :: Int

Author group for the beam, according to the Cernlib PDFlib specification.

pdfs :: Int

PDF set ID for the beam, according to the Cernlib PDFlib specification.

data Subprocess Source

Describes the properties of a subprocess.

Constructors

Subprocess 

Fields

procXSec :: Double

The cross-section of this subprocess, in pb.

procXErr :: Double

The statistical error associated with the value of procXSec.

procXMax :: Double
 
procId :: Int
 

data Particle Source

Describes a single particle component of a generated event.

Constructors

Particle 

Fields

partPDG :: Int

ID of the particle according to the Particle Data Group convention.

status :: ParticleStatus

Status code of the particle.

mothers :: MaybePair Int

The mother particles.

iColor :: (Int, Int)
 
partPx :: Double
 
partPy :: Double
 
partPz :: Double
 
partE :: Double
 
partM :: Double
 
lifetime :: Double

The lifetime of the particle, in mm.

spin :: Double
 

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.

data MaybePair a Source

Constructors

PZero 
POne a 
PBoth (a, a)