Documentation

Overview

    Package rbase contains the definitions of ROOT base classes.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    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) Class() string

    func (*AttAxis) MarshalROOT

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

    func (*AttAxis) RVersion

    func (*AttAxis) RVersion() int16

    func (*AttAxis) UnmarshalROOT

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

    type AttFill

    type AttFill struct {
    	Color int16
    	Style int16
    }

    func NewAttFill

    func NewAttFill() *AttFill

    func (*AttFill) Class

    func (*AttFill) Class() string

    func (*AttFill) MarshalROOT

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

    func (*AttFill) RVersion

    func (*AttFill) RVersion() int16

    func (*AttFill) UnmarshalROOT

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

    type AttLine

    type AttLine struct {
    	Color int16
    	Style int16
    	Width int16
    }

    func NewAttLine

    func NewAttLine() *AttLine

    func (*AttLine) Class

    func (*AttLine) Class() string

    func (*AttLine) MarshalROOT

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

    func (*AttLine) RVersion

    func (*AttLine) RVersion() int16

    func (*AttLine) UnmarshalROOT

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

    type AttMarker

    type AttMarker struct {
    	Color int16
    	Style int16
    	Width float32
    }

    func NewAttMarker

    func NewAttMarker() *AttMarker

    func (*AttMarker) Class

    func (*AttMarker) Class() string

    func (*AttMarker) MarshalROOT

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

    func (*AttMarker) RVersion

    func (*AttMarker) RVersion() int16

    func (*AttMarker) UnmarshalROOT

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

    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 NewNamed(name, title string) *Named

      func (*Named) Class

      func (*Named) Class() string

      func (*Named) MarshalROOT

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

      func (*Named) Name

      func (n *Named) Name() string

        Name returns the name of the instance

        func (*Named) RVersion

        func (*Named) RVersion() int16

        func (*Named) SetName

        func (n *Named) SetName(name string)

        func (*Named) SetTitle

        func (n *Named) SetTitle(title string)

        func (*Named) Sizeof

        func (n *Named) Sizeof() int32

        func (*Named) Title

        func (n *Named) Title() string

          Title returns the title of the instance

          func (*Named) UID

          func (n *Named) UID() uint32

          func (*Named) UnmarshalROOT

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

          type ObjString

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

          func NewObjString

          func NewObjString(s string) *ObjString

            NewObjString creates a new ObjString.

            func (*ObjString) Class

            func (*ObjString) Class() string

            func (*ObjString) MarshalROOT

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

            func (*ObjString) Name

            func (obj *ObjString) Name() string

            func (*ObjString) RVersion

            func (*ObjString) RVersion() int16

            func (*ObjString) String

            func (obj *ObjString) String() string

            func (*ObjString) Title

            func (*ObjString) Title() string

            func (*ObjString) UID

            func (obj *ObjString) UID() uint32

            func (*ObjString) UnmarshalROOT

            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

              type Object struct {
              	ID   uint32
              	Bits uint32
              }

              func NewObject

              func NewObject() *Object

              func (*Object) Class

              func (*Object) Class() string

              func (*Object) MarshalROOT

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

              func (*Object) RVersion

              func (*Object) RVersion() int

              func (*Object) ResetBit

              func (obj *Object) ResetBit(bit uint32)

              func (*Object) SetBit

              func (obj *Object) SetBit(bit uint32)

              func (*Object) SetBits

              func (obj *Object) SetBits(bits uint32)

              func (*Object) SetID

              func (obj *Object) SetID(id uint32)

              func (*Object) TestBits

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

              func (*Object) UID

              func (obj *Object) UID() uint32

              func (*Object) UnmarshalROOT

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

              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) Class() string

                func (*ProcessID) MarshalROOT

                func (pid *ProcessID) MarshalROOT(w *rbytes.WBuffer) (int, error)

                func (*ProcessID) Name

                func (pid *ProcessID) Name() string

                  Name returns the name of the instance

                  func (*ProcessID) RVersion

                  func (*ProcessID) RVersion() int16

                  func (*ProcessID) SetName

                  func (pid *ProcessID) SetName(name string)

                  func (*ProcessID) SetTitle

                  func (pid *ProcessID) SetTitle(title string)

                  func (*ProcessID) String

                  func (pid *ProcessID) String() string

                  func (*ProcessID) Title

                  func (pid *ProcessID) Title() string

                    Title returns the title of the instance

                    func (*ProcessID) UID

                    func (pid *ProcessID) UID() uint32

                    func (*ProcessID) UnmarshalROOT

                    func (pid *ProcessID) UnmarshalROOT(r *rbytes.RBuffer) error

                    type Ref

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

                      Ref implements a persistent link to a root.Object.

                      func (*Ref) Class

                      func (*Ref) Class() string

                      func (*Ref) MarshalROOT

                      func (ref *Ref) MarshalROOT(w *rbytes.WBuffer) (int, error)

                      func (*Ref) Name

                      func (*Ref) Name() string

                      func (*Ref) Object

                      func (ref *Ref) Object() root.Object

                        Object returns the root.Object being referenced by this Ref.

                        func (*Ref) RVersion

                        func (*Ref) RVersion() int16

                        func (*Ref) String

                        func (ref *Ref) String() string

                        func (*Ref) Title

                        func (*Ref) Title() string

                        func (*Ref) UID

                        func (ref *Ref) UID() uint32

                        func (*Ref) UnmarshalROOT

                        func (ref *Ref) UnmarshalROOT(r *rbytes.RBuffer) error

                        type UUID

                        type UUID [16]byte

                        func (*UUID) Class

                        func (*UUID) Class() string

                        func (*UUID) MarshalROOT

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

                        func (*UUID) RVersion

                        func (*UUID) RVersion() int16

                        func (*UUID) Sizeof

                        func (*UUID) Sizeof() int32

                        func (*UUID) UnmarshalROOT

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

                        func (*UUID) UnmarshalROOTv1

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