Documentation
¶
Overview ¶
Package slha implements encoding and decoding of SUSY Les Houches Accords (SLHA) data format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Block ¶
Block represents a block in a SLHA file.
type Blocks ¶
type Blocks []Block
Blocks is a list of Blocks.
type Decay ¶
type Decay struct { Br float64 // Branching Ratio IDs []int // list of PDG IDs to which the decay occur Comment string // comment attached to this decay line - if any }
Decay is a decay line in an SLHA file.
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
Index is an n-dimensional index. Note that the indices are 1-based.
type Particle ¶
type Particle struct { PdgID int // PDG-ID code Width float64 // total width of that particle Mass float64 // mass of that particle Comment string Decays Decays }
Particle is the representation of a single, specific particle, decay block from a SLHA file.
type Particles ¶
type Particles []Particle
Particles is a block of particle's decays in an SLHA file.
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
Value represents a value (string,int,float64) + comment in a SLHA line.
func (*Value) Float ¶
Float returns the value as a float64. Float panics if the underlying value isn't a float64.
func (*Value) Int ¶
Int returns the value as an int64. Int panics if the underlying value isn't an int64.