Documentation

Overview

    Package rphys contains definitions for physics-related ROOT classes.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    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) UnmarshalROOT

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

    type Vector2

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

    func NewVector2

    func NewVector2(x, y float64) *Vector2

    func (*Vector2) Class

    func (*Vector2) Class() string

    func (*Vector2) MarshalROOT

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

    func (*Vector2) RVersion

    func (*Vector2) RVersion() int16

    func (*Vector2) SetX

    func (vec *Vector2) SetX(x float64)

    func (*Vector2) SetY

    func (vec *Vector2) SetY(y float64)

    func (*Vector2) UnmarshalROOT

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

    func (*Vector2) X

    func (vec *Vector2) X() float64

    func (*Vector2) Y

    func (vec *Vector2) Y() float64

    type Vector3

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

    func NewVector3

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

    func (*Vector3) Class

    func (*Vector3) Class() string

    func (*Vector3) MarshalROOT

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

    func (*Vector3) RVersion

    func (*Vector3) RVersion() int16

    func (*Vector3) SetX

    func (vec *Vector3) SetX(x float64)

    func (*Vector3) SetY

    func (vec *Vector3) SetY(y float64)

    func (*Vector3) SetZ

    func (vec *Vector3) SetZ(z float64)

    func (*Vector3) UnmarshalROOT

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

    func (*Vector3) X

    func (vec *Vector3) X() float64

    func (*Vector3) Y

    func (vec *Vector3) Y() float64

    func (*Vector3) Z

    func (vec *Vector3) Z() float64