package rbase
import "go-hep.org/x/hep/groot/rbase"
Package rbase contains the definitions of ROOT base classes.
Index ¶
- type AttAxis
- func NewAttAxis() *AttAxis
- func (*AttAxis) Class() string
- func (a *AttAxis) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (a *AttAxis) RMembers() (mbrs []rbytes.Member)
- func (*AttAxis) RVersion() int16
- func (a *AttAxis) UnmarshalROOT(r *rbytes.RBuffer) error
- type AttFill
- func NewAttFill() *AttFill
- func (*AttFill) Class() string
- func (a *AttFill) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (a *AttFill) RMembers() []rbytes.Member
- func (*AttFill) RVersion() int16
- func (a *AttFill) UnmarshalROOT(r *rbytes.RBuffer) error
- type AttLine
- func NewAttLine() *AttLine
- func (*AttLine) Class() string
- func (a *AttLine) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (a *AttLine) RMembers() []rbytes.Member
- func (*AttLine) RVersion() int16
- func (a *AttLine) UnmarshalROOT(r *rbytes.RBuffer) error
- type AttMarker
- func NewAttMarker() *AttMarker
- func (*AttMarker) Class() string
- func (a *AttMarker) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (a *AttMarker) RMembers() []rbytes.Member
- func (*AttMarker) RVersion() int16
- func (a *AttMarker) UnmarshalROOT(r *rbytes.RBuffer) error
- type AttPad
- func (*AttPad) Class() string
- func (a *AttPad) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*AttPad) RVersion() int16
- func (a *AttPad) UnmarshalROOT(r *rbytes.RBuffer) error
- type Datime
- func (*Datime) Class() string
- func (dt *Datime) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*Datime) RVersion() int16
- func (dt Datime) String() string
- func (dt Datime) Time() time.Time
- func (dt *Datime) UnmarshalROOT(r *rbytes.RBuffer) error
- type Named
- func NewNamed(name, title string) *Named
- func (*Named) Class() string
- func (n *Named) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (n *Named) Name() string
- func (n *Named) RMembers() []rbytes.Member
- func (*Named) RVersion() int16
- func (n *Named) SetName(name string)
- func (n *Named) SetTitle(title string)
- func (n *Named) Sizeof() int32
- func (n *Named) Title() string
- func (n *Named) UID() uint32
- func (n *Named) UnmarshalROOT(r *rbytes.RBuffer) error
- type ObjString
- func NewObjString(s string) *ObjString
- func (*ObjString) Class() string
- func (obj *ObjString) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (obj *ObjString) Name() string
- func (*ObjString) RVersion() int16
- func (obj *ObjString) String() string
- func (*ObjString) Title() string
- func (obj *ObjString) UID() uint32
- func (obj *ObjString) UnmarshalROOT(r *rbytes.RBuffer) error
- type Object
- func NewObject() *Object
- func (*Object) Class() string
- func (obj *Object) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (obj *Object) RMembers() []rbytes.Member
- func (*Object) RVersion() int
- func (obj *Object) ResetBit(bit uint32)
- func (obj *Object) SetBit(bit uint32)
- func (obj *Object) SetBits(bits uint32)
- func (obj *Object) SetID(id uint32)
- func (obj *Object) TestBits(bits uint32) bool
- func (obj *Object) UID() uint32
- func (obj *Object) UnmarshalROOT(r *rbytes.RBuffer) error
- type ProcessID
- func (*ProcessID) Class() string
- func (pid *ProcessID) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (pid *ProcessID) Name() string
- func (*ProcessID) RVersion() int16
- func (pid *ProcessID) SetName(name string)
- func (pid *ProcessID) SetTitle(title string)
- func (pid *ProcessID) String() string
- func (pid *ProcessID) Title() string
- func (pid *ProcessID) UID() uint32
- func (pid *ProcessID) UnmarshalROOT(r *rbytes.RBuffer) error
- type QObject
- func (*QObject) Class() string
- func (*QObject) RVersion() int16
- func (qo *QObject) UnmarshalROOT(r *rbytes.RBuffer) error
- type Ref
- func (*Ref) Class() string
- func (ref *Ref) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*Ref) Name() string
- func (ref *Ref) Object() root.Object
- func (*Ref) RVersion() int16
- func (ref *Ref) String() string
- func (*Ref) Title() string
- func (ref *Ref) UID() uint32
- func (ref *Ref) UnmarshalROOT(r *rbytes.RBuffer) error
- type String
- func NewString(v string) *String
- func (*String) Class() string
- func (obj *String) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*String) RVersion() int16
- func (v *String) String() string
- func (obj *String) UnmarshalROOT(r *rbytes.RBuffer) error
- type UUID
- func (*UUID) Class() string
- func (uuid *UUID) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*UUID) RVersion() int16
- func (*UUID) Sizeof() int32
- func (uuid *UUID) UnmarshalROOT(r *rbytes.RBuffer) error
- func (uuid *UUID) UnmarshalROOTv1(r *rbytes.RBuffer) error
- type VirtualPad
Types ¶
type AttAxis ¶
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 ¶
func NewAttAxis() *AttAxis
func (*AttAxis) Class ¶
func (*AttAxis) MarshalROOT ¶
func (*AttAxis) RMembers ¶
func (*AttAxis) RVersion ¶
func (*AttAxis) UnmarshalROOT ¶
type AttFill ¶
func NewAttFill ¶
func NewAttFill() *AttFill
func (*AttFill) Class ¶
func (*AttFill) MarshalROOT ¶
func (*AttFill) RMembers ¶
func (*AttFill) RVersion ¶
func (*AttFill) UnmarshalROOT ¶
type AttLine ¶
func NewAttLine ¶
func NewAttLine() *AttLine
func (*AttLine) Class ¶
func (*AttLine) MarshalROOT ¶
func (*AttLine) RMembers ¶
func (*AttLine) RVersion ¶
func (*AttLine) UnmarshalROOT ¶
type AttMarker ¶
func NewAttMarker ¶
func NewAttMarker() *AttMarker
func (*AttMarker) Class ¶
func (*AttMarker) MarshalROOT ¶
func (*AttMarker) RMembers ¶
func (*AttMarker) RVersion ¶
func (*AttMarker) UnmarshalROOT ¶
type AttPad ¶
type AttPad struct {
// contains filtered or unexported fields
}
func (*AttPad) Class ¶
func (*AttPad) MarshalROOT ¶
func (*AttPad) RVersion ¶
func (*AttPad) UnmarshalROOT ¶
type Datime ¶
Datime is a ROOT date + time. Note that ROOT's TDatime is relative to 1995.
func (*Datime) Class ¶
func (*Datime) MarshalROOT ¶
MarshalROOT implements rbytes.Marshaler
func (*Datime) RVersion ¶
func (Datime) String ¶
func (Datime) Time ¶
func (*Datime) UnmarshalROOT ¶
UnmarshalROOT implements rbytes.Unmarshaler
type Named ¶
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 ¶
func (*Named) Class ¶
func (*Named) MarshalROOT ¶
func (*Named) Name ¶
Name returns the name of the instance
func (*Named) RMembers ¶
func (*Named) RVersion ¶
func (*Named) SetName ¶
func (*Named) SetTitle ¶
func (*Named) Sizeof ¶
func (*Named) Title ¶
Title returns the title of the instance
func (*Named) UID ¶
func (*Named) UnmarshalROOT ¶
type ObjString ¶
type ObjString struct {
// contains filtered or unexported fields
}
func NewObjString ¶
NewObjString creates a new ObjString.
func (*ObjString) Class ¶
func (*ObjString) MarshalROOT ¶
func (*ObjString) Name ¶
func (*ObjString) RVersion ¶
func (*ObjString) String ¶
func (*ObjString) Title ¶
func (*ObjString) UID ¶
func (*ObjString) UnmarshalROOT ¶
ROOTUnmarshaler is the interface implemented by an object that can unmarshal itself from a ROOT buffer
type Object ¶
func NewObject ¶
func NewObject() *Object
func (*Object) Class ¶
func (*Object) MarshalROOT ¶
func (*Object) RMembers ¶
func (*Object) RVersion ¶
func (*Object) ResetBit ¶
func (*Object) SetBit ¶
func (*Object) SetBits ¶
func (*Object) SetID ¶
func (*Object) TestBits ¶
func (*Object) UID ¶
func (*Object) UnmarshalROOT ¶
type ProcessID ¶
type ProcessID struct {
// contains filtered or unexported fields
}
ProcessID is ROOT's way to provide a process identifier object.
func (*ProcessID) Class ¶
func (*ProcessID) MarshalROOT ¶
func (*ProcessID) Name ¶
Name returns the name of the instance
func (*ProcessID) RVersion ¶
func (*ProcessID) SetName ¶
func (*ProcessID) SetTitle ¶
func (*ProcessID) String ¶
func (*ProcessID) Title ¶
Title returns the title of the instance
func (*ProcessID) UID ¶
func (*ProcessID) UnmarshalROOT ¶
type QObject ¶
type QObject struct { }
func (*QObject) Class ¶
func (*QObject) RVersion ¶
func (*QObject) UnmarshalROOT ¶
type Ref ¶
type Ref struct {
// contains filtered or unexported fields
}
Ref implements a persistent link to a root.Object.
func (*Ref) Class ¶
func (*Ref) MarshalROOT ¶
func (*Ref) Name ¶
func (*Ref) Object ¶
Object returns the root.Object being referenced by this Ref.
func (*Ref) RVersion ¶
func (*Ref) String ¶
func (*Ref) Title ¶
func (*Ref) UID ¶
func (*Ref) UnmarshalROOT ¶
type String ¶
type String struct {
// contains filtered or unexported fields
}
String is a bare-bone string value implementing root.Object
func NewString ¶
func (*String) Class ¶
func (*String) MarshalROOT ¶
func (*String) RVersion ¶
func (*String) String ¶
func (*String) UnmarshalROOT ¶
type UUID ¶
type UUID [16]byte
func (*UUID) Class ¶
func (*UUID) MarshalROOT ¶
func (*UUID) RVersion ¶
func (*UUID) Sizeof ¶
func (*UUID) UnmarshalROOT ¶
func (*UUID) UnmarshalROOTv1 ¶
type VirtualPad ¶
type VirtualPad struct {
// contains filtered or unexported fields
}
func (*VirtualPad) Class ¶
func (*VirtualPad) Class() string
func (*VirtualPad) RVersion ¶
func (*VirtualPad) RVersion() int16
func (*VirtualPad) UnmarshalROOT ¶
func (vpad *VirtualPad) UnmarshalROOT(r *rbytes.RBuffer) error
Source Files ¶
attaxis.go attfill.go attline.go attmarker.go attpad.go consts.go datime.go named.go object.go objstring.go processid.go qobject.go rbase.go ref.go string.go uuid.go vpad.go
- Version
- v0.36.0 (latest)
- Published
- Nov 15, 2024
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 2 days ago –
Tools for package owners.