package rphys
import "go-hep.org/x/hep/groot/rphys"
Package rphys contains definitions for physics-related ROOT classes.
Index ¶
- type FeldmanCousins
- func NewFeldmanCousins() *FeldmanCousins
- func (*FeldmanCousins) Class() string
- func (fc *FeldmanCousins) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*FeldmanCousins) RVersion() int16
- func (fc *FeldmanCousins) UnmarshalROOT(r *rbytes.RBuffer) error
- type LorentzVector
- func NewLorentzVector(px, py, pz, e float64) *LorentzVector
- func (*LorentzVector) Class() string
- func (vec *LorentzVector) E() float64
- func (vec *LorentzVector) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (vec *LorentzVector) Px() float64
- func (vec *LorentzVector) Py() float64
- func (vec *LorentzVector) Pz() float64
- func (*LorentzVector) RVersion() int16
- func (vec *LorentzVector) SetPxPyPzE(px, py, pz, e float64)
- func (vec *LorentzVector) String() string
- func (vec *LorentzVector) UnmarshalROOT(r *rbytes.RBuffer) error
- type Vector2
- func NewVector2(x, y float64) *Vector2
- func (*Vector2) Class() string
- func (vec *Vector2) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*Vector2) RVersion() int16
- func (vec *Vector2) SetX(x float64)
- func (vec *Vector2) SetY(y float64)
- func (vec *Vector2) String() string
- func (vec *Vector2) UnmarshalROOT(r *rbytes.RBuffer) error
- func (vec *Vector2) X() float64
- func (vec *Vector2) Y() float64
- type Vector3
- func NewVector3(x, y, z float64) *Vector3
- func (*Vector3) Class() string
- func (vec *Vector3) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*Vector3) RVersion() int16
- func (vec *Vector3) SetX(x float64)
- func (vec *Vector3) SetY(y float64)
- func (vec *Vector3) SetZ(z float64)
- func (vec *Vector3) String() string
- func (vec *Vector3) UnmarshalROOT(r *rbytes.RBuffer) error
- func (vec *Vector3) X() float64
- func (vec *Vector3) Y() float64
- func (vec *Vector3) Z() float64
Types ¶
type FeldmanCousins ¶
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 ¶
func NewFeldmanCousins() *FeldmanCousins
func (*FeldmanCousins) Class ¶
func (*FeldmanCousins) Class() string
func (*FeldmanCousins) MarshalROOT ¶
func (fc *FeldmanCousins) MarshalROOT(w *rbytes.WBuffer) (int, error)
func (*FeldmanCousins) RVersion ¶
func (*FeldmanCousins) RVersion() int16
func (*FeldmanCousins) UnmarshalROOT ¶
func (fc *FeldmanCousins) UnmarshalROOT(r *rbytes.RBuffer) error
type LorentzVector ¶
type LorentzVector struct {
// contains filtered or unexported fields
}
func NewLorentzVector ¶
func NewLorentzVector(px, py, pz, e float64) *LorentzVector
func (*LorentzVector) Class ¶
func (*LorentzVector) Class() string
func (*LorentzVector) E ¶
func (vec *LorentzVector) E() float64
func (*LorentzVector) MarshalROOT ¶
func (vec *LorentzVector) MarshalROOT(w *rbytes.WBuffer) (int, error)
func (*LorentzVector) Px ¶
func (vec *LorentzVector) Px() float64
func (*LorentzVector) Py ¶
func (vec *LorentzVector) Py() float64
func (*LorentzVector) Pz ¶
func (vec *LorentzVector) Pz() float64
func (*LorentzVector) RVersion ¶
func (*LorentzVector) RVersion() int16
func (*LorentzVector) SetPxPyPzE ¶
func (vec *LorentzVector) SetPxPyPzE(px, py, pz, e float64)
func (*LorentzVector) String ¶
func (vec *LorentzVector) String() string
func (*LorentzVector) UnmarshalROOT ¶
func (vec *LorentzVector) UnmarshalROOT(r *rbytes.RBuffer) error
type Vector2 ¶
type Vector2 struct {
// contains filtered or unexported fields
}
func NewVector2 ¶
func (*Vector2) Class ¶
func (*Vector2) MarshalROOT ¶
func (*Vector2) RVersion ¶
func (*Vector2) SetX ¶
func (*Vector2) SetY ¶
func (*Vector2) String ¶
func (*Vector2) UnmarshalROOT ¶
func (*Vector2) X ¶
func (*Vector2) Y ¶
type Vector3 ¶
type Vector3 struct {
// contains filtered or unexported fields
}
func NewVector3 ¶
func (*Vector3) Class ¶
func (*Vector3) MarshalROOT ¶
func (*Vector3) RVersion ¶
func (*Vector3) SetX ¶
func (*Vector3) SetY ¶
func (*Vector3) SetZ ¶
func (*Vector3) String ¶
func (*Vector3) UnmarshalROOT ¶
func (*Vector3) X ¶
func (*Vector3) Y ¶
func (*Vector3) Z ¶
Source Files ¶
feldmancousins.go lorentzvector.go rphys.go vector2.go vector3.go
- Version
- v0.36.0 (latest)
- Published
- Nov 15, 2024
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 1 day ago –
Tools for package owners.