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

package rcont

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

Package rcont contains the definitions of ROOT container types, such as TList, THashList and TObjArray.

Index

Package Files

array_gen.go clonesarray.go list.go map.go objarray.go rcont.go

type ArrayC Uses

type ArrayC struct {
    Data []int8
}

ArrayC implements ROOT TArrayC

func (*ArrayC) At Uses

func (arr *ArrayC) At(i int) int8

func (*ArrayC) Class Uses

func (*ArrayC) Class() string

Class returns the ROOT class name.

func (*ArrayC) Get Uses

func (arr *ArrayC) Get(i int) interface{}

func (*ArrayC) Len Uses

func (arr *ArrayC) Len() int

func (*ArrayC) MarshalROOT Uses

func (arr *ArrayC) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*ArrayC) RVersion Uses

func (*ArrayC) RVersion() int16

func (*ArrayC) Set Uses

func (arr *ArrayC) Set(i int, v interface{})

func (*ArrayC) UnmarshalROOT Uses

func (arr *ArrayC) UnmarshalROOT(r *rbytes.RBuffer) error

type ArrayD Uses

type ArrayD struct {
    Data []float64
}

ArrayD implements ROOT TArrayD

func (*ArrayD) At Uses

func (arr *ArrayD) At(i int) float64

func (*ArrayD) Class Uses

func (*ArrayD) Class() string

Class returns the ROOT class name.

func (*ArrayD) Get Uses

func (arr *ArrayD) Get(i int) interface{}

func (*ArrayD) Len Uses

func (arr *ArrayD) Len() int

func (*ArrayD) MarshalROOT Uses

func (arr *ArrayD) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*ArrayD) RVersion Uses

func (*ArrayD) RVersion() int16

func (*ArrayD) Set Uses

func (arr *ArrayD) Set(i int, v interface{})

func (*ArrayD) UnmarshalROOT Uses

func (arr *ArrayD) UnmarshalROOT(r *rbytes.RBuffer) error

type ArrayF Uses

type ArrayF struct {
    Data []float32
}

ArrayF implements ROOT TArrayF

func (*ArrayF) At Uses

func (arr *ArrayF) At(i int) float32

func (*ArrayF) Class Uses

func (*ArrayF) Class() string

Class returns the ROOT class name.

func (*ArrayF) Get Uses

func (arr *ArrayF) Get(i int) interface{}

func (*ArrayF) Len Uses

func (arr *ArrayF) Len() int

func (*ArrayF) MarshalROOT Uses

func (arr *ArrayF) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*ArrayF) RVersion Uses

func (*ArrayF) RVersion() int16

func (*ArrayF) Set Uses

func (arr *ArrayF) Set(i int, v interface{})

func (*ArrayF) UnmarshalROOT Uses

func (arr *ArrayF) UnmarshalROOT(r *rbytes.RBuffer) error

type ArrayI Uses

type ArrayI struct {
    Data []int32
}

ArrayI implements ROOT TArrayI

func (*ArrayI) At Uses

func (arr *ArrayI) At(i int) int32

func (*ArrayI) Class Uses

func (*ArrayI) Class() string

Class returns the ROOT class name.

func (*ArrayI) Get Uses

func (arr *ArrayI) Get(i int) interface{}

func (*ArrayI) Len Uses

func (arr *ArrayI) Len() int

func (*ArrayI) MarshalROOT Uses

func (arr *ArrayI) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*ArrayI) RVersion Uses

func (*ArrayI) RVersion() int16

func (*ArrayI) Set Uses

func (arr *ArrayI) Set(i int, v interface{})

func (*ArrayI) UnmarshalROOT Uses

func (arr *ArrayI) UnmarshalROOT(r *rbytes.RBuffer) error

type ArrayL Uses

type ArrayL struct {
    Data []int64
}

ArrayL implements ROOT TArrayL

func (*ArrayL) At Uses

func (arr *ArrayL) At(i int) int64

func (*ArrayL) Class Uses

func (*ArrayL) Class() string

Class returns the ROOT class name.

func (*ArrayL) Get Uses

func (arr *ArrayL) Get(i int) interface{}

func (*ArrayL) Len Uses

func (arr *ArrayL) Len() int

func (*ArrayL) MarshalROOT Uses

func (arr *ArrayL) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*ArrayL) RVersion Uses

func (*ArrayL) RVersion() int16

func (*ArrayL) Set Uses

func (arr *ArrayL) Set(i int, v interface{})

func (*ArrayL) UnmarshalROOT Uses

func (arr *ArrayL) UnmarshalROOT(r *rbytes.RBuffer) error

type ArrayL64 Uses

type ArrayL64 struct {
    Data []int64
}

ArrayL64 implements ROOT TArrayL64

func (*ArrayL64) At Uses

func (arr *ArrayL64) At(i int) int64

func (*ArrayL64) Class Uses

func (*ArrayL64) Class() string

Class returns the ROOT class name.

func (*ArrayL64) Get Uses

func (arr *ArrayL64) Get(i int) interface{}

func (*ArrayL64) Len Uses

func (arr *ArrayL64) Len() int

func (*ArrayL64) MarshalROOT Uses

func (arr *ArrayL64) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*ArrayL64) RVersion Uses

func (*ArrayL64) RVersion() int16

func (*ArrayL64) Set Uses

func (arr *ArrayL64) Set(i int, v interface{})

func (*ArrayL64) UnmarshalROOT Uses

func (arr *ArrayL64) UnmarshalROOT(r *rbytes.RBuffer) error

type ArrayS Uses

type ArrayS struct {
    Data []int16
}

ArrayS implements ROOT TArrayS

func (*ArrayS) At Uses

func (arr *ArrayS) At(i int) int16

func (*ArrayS) Class Uses

func (*ArrayS) Class() string

Class returns the ROOT class name.

func (*ArrayS) Get Uses

func (arr *ArrayS) Get(i int) interface{}

func (*ArrayS) Len Uses

func (arr *ArrayS) Len() int

func (*ArrayS) MarshalROOT Uses

func (arr *ArrayS) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*ArrayS) RVersion Uses

func (*ArrayS) RVersion() int16

func (*ArrayS) Set Uses

func (arr *ArrayS) Set(i int, v interface{})

func (*ArrayS) UnmarshalROOT Uses

func (arr *ArrayS) UnmarshalROOT(r *rbytes.RBuffer) error

type ClonesArray Uses

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

ClonesArray implements a ROOT TClonesArray.

func NewClonesArray Uses

func NewClonesArray() *ClonesArray

func (*ClonesArray) At Uses

func (arr *ClonesArray) At(i int) root.Object

func (*ClonesArray) BypassStreamer Uses

func (arr *ClonesArray) BypassStreamer(bypass bool)

func (*ClonesArray) CanBypassStreamer Uses

func (arr *ClonesArray) CanBypassStreamer() bool

func (*ClonesArray) Class Uses

func (arr *ClonesArray) Class() string

func (*ClonesArray) Last Uses

func (arr *ClonesArray) Last() int

func (*ClonesArray) Len Uses

func (arr *ClonesArray) Len() int

func (*ClonesArray) LowerBound Uses

func (arr *ClonesArray) LowerBound() int

func (*ClonesArray) MarshalROOT Uses

func (arr *ClonesArray) MarshalROOT(w *rbytes.WBuffer) (int, error)

ROOTMarshaler is the interface implemented by an object that can marshal itself to a ROOT buffer

func (*ClonesArray) Name Uses

func (arr *ClonesArray) Name() string

func (*ClonesArray) RVersion Uses

func (*ClonesArray) RVersion() int16

func (*ClonesArray) SetElems Uses

func (arr *ClonesArray) SetElems(v []root.Object)

func (*ClonesArray) TestBits Uses

func (arr *ClonesArray) TestBits(bits uint32) bool

func (*ClonesArray) Title Uses

func (arr *ClonesArray) Title() string

func (*ClonesArray) UnmarshalROOT Uses

func (arr *ClonesArray) UnmarshalROOT(r *rbytes.RBuffer) error

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

type HashList Uses

type HashList struct {
    List
}

func (*HashList) Class Uses

func (*HashList) Class() string

func (*HashList) MarshalROOT Uses

func (li *HashList) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*HashList) RVersion Uses

func (*HashList) RVersion() int16

func (*HashList) UnmarshalROOT Uses

func (li *HashList) UnmarshalROOT(r *rbytes.RBuffer) error

type List Uses

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

func NewList Uses

func NewList(name string, objs []root.Object) *List

func (*List) Append Uses

func (li *List) Append(obj root.Object)

func (*List) At Uses

func (li *List) At(i int) root.Object

func (*List) Class Uses

func (li *List) Class() string

func (*List) Last Uses

func (li *List) Last() int

func (*List) Len Uses

func (li *List) Len() int

func (*List) MarshalROOT Uses

func (li *List) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*List) Name Uses

func (li *List) Name() string

func (*List) RVersion Uses

func (*List) RVersion() int16

func (*List) Title Uses

func (*List) Title() string

func (*List) UnmarshalROOT Uses

func (li *List) UnmarshalROOT(r *rbytes.RBuffer) error

type Map Uses

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

Map is a ROOT associative array of (key,value) pairs. Keys and values must implement the root.Object interface.

func NewMap Uses

func NewMap() *Map

func (*Map) Class Uses

func (*Map) Class() string

func (*Map) MarshalROOT Uses

func (m *Map) MarshalROOT(w *rbytes.WBuffer) (int, error)

ROOTMarshaler is the interface implemented by an object that can marshal itself to a ROOT buffer

func (*Map) Name Uses

func (m *Map) Name() string

func (*Map) RVersion Uses

func (*Map) RVersion() int16

func (*Map) SetName Uses

func (m *Map) SetName(name string)

func (*Map) Table Uses

func (m *Map) Table() map[root.Object]root.Object

Table returns the underlying hash table.

func (*Map) Title Uses

func (m *Map) Title() string

func (*Map) UnmarshalROOT Uses

func (m *Map) UnmarshalROOT(r *rbytes.RBuffer) error

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

type ObjArray Uses

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

func NewObjArray Uses

func NewObjArray() *ObjArray

func (*ObjArray) At Uses

func (arr *ObjArray) At(i int) root.Object

func (*ObjArray) Class Uses

func (arr *ObjArray) Class() string

func (*ObjArray) Last Uses

func (arr *ObjArray) Last() int

func (*ObjArray) Len Uses

func (arr *ObjArray) Len() int

func (*ObjArray) LowerBound Uses

func (arr *ObjArray) LowerBound() int

func (*ObjArray) MarshalROOT Uses

func (arr *ObjArray) MarshalROOT(w *rbytes.WBuffer) (int, error)

ROOTMarshaler is the interface implemented by an object that can marshal itself to a ROOT buffer

func (*ObjArray) Name Uses

func (arr *ObjArray) Name() string

func (*ObjArray) RVersion Uses

func (*ObjArray) RVersion() int16

func (*ObjArray) SetElems Uses

func (arr *ObjArray) SetElems(v []root.Object)

func (*ObjArray) TestBits Uses

func (arr *ObjArray) TestBits(bits uint32) bool

func (*ObjArray) Title Uses

func (arr *ObjArray) Title() string

func (*ObjArray) UnmarshalROOT Uses

func (arr *ObjArray) UnmarshalROOT(r *rbytes.RBuffer) error

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

Package rcont imports 11 packages (graph) and is imported by 7 packages. Updated 2019-05-31. Refresh now. Tools for package owners.