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

package rbase

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

Package rbase contains the definitions of ROOT base classes.

Index

Package Files

attaxis.go attfill.go attline.go attmarker.go consts.go named.go object.go objstring.go rbase.go uuid.go

type AttAxis Uses

type AttAxis struct {
    Ndivs       int32   // number of divisions (10000*n3 + 100*n2 + n1)
    AxisColor   int16   // color of the line axis
    LabelColor  int16   // color of labels
    LabelFont   int16   // font for labels
    LabelOffset float32 // offset of labels
    LabelSize   float32 // size of labels
    Ticks       float32 // length of tick marks
    TitleOffset float32 // offset of axis title
    TitleSize   float32 // size of axis title
    TitleColor  int16   // color of axis title
    TitleFont   int16   // font for axis title
}

func NewAttAxis Uses

func NewAttAxis() *AttAxis

func (*AttAxis) Class Uses

func (*AttAxis) Class() string

func (*AttAxis) MarshalROOT Uses

func (a *AttAxis) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*AttAxis) RVersion Uses

func (*AttAxis) RVersion() int16

func (*AttAxis) UnmarshalROOT Uses

func (a *AttAxis) UnmarshalROOT(r *rbytes.RBuffer) error

type AttFill Uses

type AttFill struct {
    Color int16
    Style int16
}

func NewAttFill Uses

func NewAttFill() *AttFill

func (*AttFill) Class Uses

func (*AttFill) Class() string

func (*AttFill) MarshalROOT Uses

func (a *AttFill) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*AttFill) RVersion Uses

func (*AttFill) RVersion() int16

func (*AttFill) UnmarshalROOT Uses

func (a *AttFill) UnmarshalROOT(r *rbytes.RBuffer) error

type AttLine Uses

type AttLine struct {
    Color int16
    Style int16
    Width int16
}

func NewAttLine Uses

func NewAttLine() *AttLine

func (*AttLine) Class Uses

func (*AttLine) Class() string

func (*AttLine) MarshalROOT Uses

func (a *AttLine) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*AttLine) RVersion Uses

func (*AttLine) RVersion() int16

func (*AttLine) UnmarshalROOT Uses

func (a *AttLine) UnmarshalROOT(r *rbytes.RBuffer) error

type AttMarker Uses

type AttMarker struct {
    Color int16
    Style int16
    Width float32
}

func NewAttMarker Uses

func NewAttMarker() *AttMarker

func (*AttMarker) Class Uses

func (*AttMarker) Class() string

func (*AttMarker) MarshalROOT Uses

func (a *AttMarker) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*AttMarker) RVersion Uses

func (*AttMarker) RVersion() int16

func (*AttMarker) UnmarshalROOT Uses

func (a *AttMarker) UnmarshalROOT(r *rbytes.RBuffer) error

type Named Uses

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

The TNamed class is the base class for all named ROOT classes A TNamed contains the essential elements (name, title) to identify a derived object in containers, directories and files. Most member functions defined in this base class are in general overridden by the derived classes.

func NewNamed Uses

func NewNamed(name, title string) *Named

func (*Named) Class Uses

func (*Named) Class() string

func (*Named) MarshalROOT Uses

func (n *Named) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*Named) Name Uses

func (n *Named) Name() string

Name returns the name of the instance

func (*Named) RVersion Uses

func (*Named) RVersion() int16

func (*Named) SetName Uses

func (n *Named) SetName(name string)

func (*Named) SetTitle Uses

func (n *Named) SetTitle(title string)

func (*Named) Sizeof Uses

func (n *Named) Sizeof() int32

func (*Named) Title Uses

func (n *Named) Title() string

Title returns the title of the instance

func (*Named) UnmarshalROOT Uses

func (n *Named) UnmarshalROOT(r *rbytes.RBuffer) error

type ObjString Uses

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

func NewObjString Uses

func NewObjString(s string) *ObjString

NewObjString creates a new ObjString.

func (*ObjString) Class Uses

func (*ObjString) Class() string

func (*ObjString) MarshalROOT Uses

func (obj *ObjString) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*ObjString) Name Uses

func (obj *ObjString) Name() string

func (*ObjString) RVersion Uses

func (*ObjString) RVersion() int16

func (*ObjString) String Uses

func (obj *ObjString) String() string

func (*ObjString) Title Uses

func (*ObjString) Title() string

func (*ObjString) UnmarshalROOT Uses

func (obj *ObjString) UnmarshalROOT(r *rbytes.RBuffer) error

ROOTUnmarshaler is the interface implemented by an object that can unmarshal itself from a ROOT buffer

type Object Uses

type Object struct {
    ID   uint32
    Bits uint32
}

func NewObject Uses

func NewObject() *Object

func (*Object) Class Uses

func (*Object) Class() string

func (*Object) MarshalROOT Uses

func (obj *Object) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*Object) RVersion Uses

func (*Object) RVersion() int

func (*Object) ResetBit Uses

func (obj *Object) ResetBit(bit uint32)

func (*Object) SetBit Uses

func (obj *Object) SetBit(bit uint32)

func (*Object) SetBits Uses

func (obj *Object) SetBits(bits uint32)

func (*Object) SetID Uses

func (obj *Object) SetID(id uint32)

func (*Object) TestBits Uses

func (obj *Object) TestBits(bits uint32) bool

func (*Object) UnmarshalROOT Uses

func (obj *Object) UnmarshalROOT(r *rbytes.RBuffer) error

type UUID Uses

type UUID [16]byte

func (*UUID) Class Uses

func (*UUID) Class() string

func (*UUID) MarshalROOT Uses

func (uuid *UUID) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*UUID) Sizeof Uses

func (*UUID) Sizeof() int32

func (*UUID) UnmarshalROOT Uses

func (uuid *UUID) UnmarshalROOT(r *rbytes.RBuffer) error

Package rbase imports 7 packages (graph) and is imported by 8 packages. Updated 2019-05-17. Refresh now. Tools for package owners.