hep: go-hep.org/x/hep/groot/rphys Index | Files

package rphys

import "go-hep.org/x/hep/groot/rphys"

Package rphys contains definitions for physics-related ROOT classes.

Index

Package Files

feldmancousins.go lorentzvector.go rphys.go vector2.go vector3.go

type FeldmanCousins Uses

type FeldmanCousins struct {
    CL      float64 // confidence level as a fraction [e.g. 90% = 0.9]
    UpLim   float64 // calculated upper limit
    LoLim   float64 // calculated lower limit
    Nobs    float64 // input number of observed events
    Nbkg    float64 // input number of background events
    MuMin   float64 // minimum value of signal to use in calculating the tables
    MuMax   float64 // maximum value of signal to use in calculating the tables
    MuStep  float64 // step in signal to use when generating tables
    NMuStep int32
    NMax    int32
    Quick   int32
    // contains filtered or unexported fields
}

func NewFeldmanCousins Uses

func NewFeldmanCousins() *FeldmanCousins

func (*FeldmanCousins) Class Uses

func (*FeldmanCousins) Class() string

func (*FeldmanCousins) MarshalROOT Uses

func (fc *FeldmanCousins) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*FeldmanCousins) RVersion Uses

func (*FeldmanCousins) RVersion() int16

func (*FeldmanCousins) UnmarshalROOT Uses

func (fc *FeldmanCousins) UnmarshalROOT(r *rbytes.RBuffer) error

type LorentzVector Uses

type LorentzVector struct {
    // contains filtered or unexported fields
}

func NewLorentzVector Uses

func NewLorentzVector(px, py, pz, e float64) *LorentzVector

func (*LorentzVector) Class Uses

func (*LorentzVector) Class() string

func (*LorentzVector) E Uses

func (vec *LorentzVector) E() float64

func (*LorentzVector) MarshalROOT Uses

func (vec *LorentzVector) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*LorentzVector) Px Uses

func (vec *LorentzVector) Px() float64

func (*LorentzVector) Py Uses

func (vec *LorentzVector) Py() float64

func (*LorentzVector) Pz Uses

func (vec *LorentzVector) Pz() float64

func (*LorentzVector) RVersion Uses

func (*LorentzVector) RVersion() int16

func (*LorentzVector) SetPxPyPzE Uses

func (vec *LorentzVector) SetPxPyPzE(px, py, pz, e float64)

func (*LorentzVector) UnmarshalROOT Uses

func (vec *LorentzVector) UnmarshalROOT(r *rbytes.RBuffer) error

type Vector2 Uses

type Vector2 struct {
    // contains filtered or unexported fields
}

func NewVector2 Uses

func NewVector2(x, y float64) *Vector2

func (*Vector2) Class Uses

func (*Vector2) Class() string

func (*Vector2) MarshalROOT Uses

func (vec *Vector2) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*Vector2) RVersion Uses

func (*Vector2) RVersion() int16

func (*Vector2) SetX Uses

func (vec *Vector2) SetX(x float64)

func (*Vector2) SetY Uses

func (vec *Vector2) SetY(y float64)

func (*Vector2) UnmarshalROOT Uses

func (vec *Vector2) UnmarshalROOT(r *rbytes.RBuffer) error

func (*Vector2) X Uses

func (vec *Vector2) X() float64

func (*Vector2) Y Uses

func (vec *Vector2) Y() float64

type Vector3 Uses

type Vector3 struct {
    // contains filtered or unexported fields
}

func NewVector3 Uses

func NewVector3(x, y, z float64) *Vector3

func (*Vector3) Class Uses

func (*Vector3) Class() string

func (*Vector3) MarshalROOT Uses

func (vec *Vector3) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*Vector3) RVersion Uses

func (*Vector3) RVersion() int16

func (*Vector3) SetX Uses

func (vec *Vector3) SetX(x float64)

func (*Vector3) SetY Uses

func (vec *Vector3) SetY(y float64)

func (*Vector3) SetZ Uses

func (vec *Vector3) SetZ(z float64)

func (*Vector3) UnmarshalROOT Uses

func (vec *Vector3) UnmarshalROOT(r *rbytes.RBuffer) error

func (*Vector3) X Uses

func (vec *Vector3) X() float64

func (*Vector3) Y Uses

func (vec *Vector3) Y() float64

func (*Vector3) Z Uses

func (vec *Vector3) Z() float64

Package rphys imports 6 packages (graph) and is imported by 1 packages. Updated 2020-05-20. Refresh now. Tools for package owners.