rcont

package
v0.31.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayC added in v0.18.0

type ArrayC struct {
	Data []int8
}

ArrayC implements ROOT TArrayC

func (*ArrayC) At added in v0.18.0

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

func (*ArrayC) Class added in v0.18.0

func (*ArrayC) Class() string

Class returns the ROOT class name.

func (*ArrayC) Get added in v0.18.0

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

func (*ArrayC) Len added in v0.18.0

func (arr *ArrayC) Len() int

func (*ArrayC) MarshalROOT added in v0.18.0

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

func (*ArrayC) RVersion added in v0.18.0

func (*ArrayC) RVersion() int16

func (*ArrayC) Set added in v0.18.0

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

func (*ArrayC) UnmarshalROOT added in v0.18.0

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

type ArrayD

type ArrayD struct {
	Data []float64
}

ArrayD implements ROOT TArrayD

func (*ArrayD) At

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

func (*ArrayD) Class

func (*ArrayD) Class() string

Class returns the ROOT class name.

func (*ArrayD) Get

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

func (*ArrayD) Len

func (arr *ArrayD) Len() int

func (*ArrayD) MarshalROOT

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

func (*ArrayD) RVersion

func (*ArrayD) RVersion() int16

func (*ArrayD) Set

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

func (*ArrayD) UnmarshalROOT

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

type ArrayF

type ArrayF struct {
	Data []float32
}

ArrayF implements ROOT TArrayF

func (*ArrayF) At

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

func (*ArrayF) Class

func (*ArrayF) Class() string

Class returns the ROOT class name.

func (*ArrayF) Get

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

func (*ArrayF) Len

func (arr *ArrayF) Len() int

func (*ArrayF) MarshalROOT

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

func (*ArrayF) RVersion

func (*ArrayF) RVersion() int16

func (*ArrayF) Set

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

func (*ArrayF) UnmarshalROOT

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

type ArrayI

type ArrayI struct {
	Data []int32
}

ArrayI implements ROOT TArrayI

func (*ArrayI) At

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

func (*ArrayI) Class

func (*ArrayI) Class() string

Class returns the ROOT class name.

func (*ArrayI) Get

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

func (*ArrayI) Len

func (arr *ArrayI) Len() int

func (*ArrayI) MarshalROOT

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

func (*ArrayI) RVersion

func (*ArrayI) RVersion() int16

func (*ArrayI) Set

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

func (*ArrayI) UnmarshalROOT

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

type ArrayL added in v0.18.0

type ArrayL struct {
	Data []int64
}

ArrayL implements ROOT TArrayL

func (*ArrayL) At added in v0.18.0

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

func (*ArrayL) Class added in v0.18.0

func (*ArrayL) Class() string

Class returns the ROOT class name.

func (*ArrayL) Get added in v0.18.0

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

func (*ArrayL) Len added in v0.18.0

func (arr *ArrayL) Len() int

func (*ArrayL) MarshalROOT added in v0.18.0

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

func (*ArrayL) RVersion added in v0.18.0

func (*ArrayL) RVersion() int16

func (*ArrayL) Set added in v0.18.0

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

func (*ArrayL) UnmarshalROOT added in v0.18.0

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

type ArrayL64

type ArrayL64 struct {
	Data []int64
}

ArrayL64 implements ROOT TArrayL64

func (*ArrayL64) At

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

func (*ArrayL64) Class

func (*ArrayL64) Class() string

Class returns the ROOT class name.

func (*ArrayL64) Get

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

func (*ArrayL64) Len

func (arr *ArrayL64) Len() int

func (*ArrayL64) MarshalROOT

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

func (*ArrayL64) RVersion

func (*ArrayL64) RVersion() int16

func (*ArrayL64) Set

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

func (*ArrayL64) UnmarshalROOT

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

type ArrayS added in v0.18.0

type ArrayS struct {
	Data []int16
}

ArrayS implements ROOT TArrayS

func (*ArrayS) At added in v0.18.0

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

func (*ArrayS) Class added in v0.18.0

func (*ArrayS) Class() string

Class returns the ROOT class name.

func (*ArrayS) Get added in v0.18.0

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

func (*ArrayS) Len added in v0.18.0

func (arr *ArrayS) Len() int

func (*ArrayS) MarshalROOT added in v0.18.0

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

func (*ArrayS) RVersion added in v0.18.0

func (*ArrayS) RVersion() int16

func (*ArrayS) Set added in v0.18.0

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

func (*ArrayS) UnmarshalROOT added in v0.18.0

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

type ClonesArray added in v0.18.0

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

ClonesArray implements a ROOT TClonesArray.

func NewClonesArray added in v0.18.0

func NewClonesArray() *ClonesArray

func (*ClonesArray) At added in v0.18.0

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

func (*ClonesArray) BypassStreamer added in v0.18.0

func (arr *ClonesArray) BypassStreamer(bypass bool)

func (*ClonesArray) CanBypassStreamer added in v0.18.0

func (arr *ClonesArray) CanBypassStreamer() bool

func (*ClonesArray) Class added in v0.18.0

func (arr *ClonesArray) Class() string

func (*ClonesArray) Last added in v0.18.0

func (arr *ClonesArray) Last() int

func (*ClonesArray) Len added in v0.18.0

func (arr *ClonesArray) Len() int

func (*ClonesArray) LowerBound added in v0.18.0

func (arr *ClonesArray) LowerBound() int

func (*ClonesArray) MarshalROOT added in v0.18.0

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 added in v0.18.0

func (arr *ClonesArray) Name() string

func (*ClonesArray) RVersion added in v0.18.0

func (*ClonesArray) RVersion() int16

func (*ClonesArray) SetElems added in v0.18.0

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

func (*ClonesArray) TestBits added in v0.18.0

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

func (*ClonesArray) Title added in v0.18.0

func (arr *ClonesArray) Title() string

func (*ClonesArray) UID added in v0.23.0

func (arr *ClonesArray) UID() uint32

func (*ClonesArray) UnmarshalROOT added in v0.18.0

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

type HashList struct {
	List
}

func (*HashList) Class

func (*HashList) Class() string

func (*HashList) MarshalROOT

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

func (*HashList) RVersion

func (*HashList) RVersion() int16

func (*HashList) UnmarshalROOT

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

type List

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

func NewList

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

func (*List) Append

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

func (*List) At

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

func (*List) Class

func (*List) Class() string

func (*List) Last

func (li *List) Last() int

func (*List) Len

func (li *List) Len() int

func (*List) MarshalROOT

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

func (*List) Name

func (li *List) Name() string

func (*List) RVersion

func (*List) RVersion() int16

func (*List) Title

func (*List) Title() string

func (*List) UID added in v0.23.0

func (li *List) UID() uint32

func (*List) UnmarshalROOT

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

type Map added in v0.18.0

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 added in v0.18.0

func NewMap() *Map

func (*Map) Class added in v0.18.0

func (*Map) Class() string

func (*Map) MarshalROOT added in v0.18.0

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 added in v0.18.0

func (m *Map) Name() string

func (*Map) RVersion added in v0.18.0

func (*Map) RVersion() int16

func (*Map) SetName added in v0.18.0

func (m *Map) SetName(name string)

func (*Map) Table added in v0.18.0

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

Table returns the underlying hash table.

func (*Map) Title added in v0.18.0

func (m *Map) Title() string

func (*Map) UID added in v0.23.0

func (m *Map) UID() uint32

func (*Map) UnmarshalROOT added in v0.18.0

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

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

func NewObjArray

func NewObjArray() *ObjArray

func (*ObjArray) At

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

func (*ObjArray) Class

func (*ObjArray) Class() string

func (*ObjArray) Last

func (arr *ObjArray) Last() int

func (*ObjArray) Len

func (arr *ObjArray) Len() int

func (*ObjArray) LowerBound

func (arr *ObjArray) LowerBound() int

func (*ObjArray) MarshalROOT

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

func (arr *ObjArray) Name() string

func (*ObjArray) RVersion

func (*ObjArray) RVersion() int16

func (*ObjArray) SetElems

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

func (*ObjArray) TestBits added in v0.18.0

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

func (*ObjArray) Title

func (arr *ObjArray) Title() string

func (*ObjArray) UID added in v0.23.0

func (arr *ObjArray) UID() uint32

func (*ObjArray) UnmarshalROOT

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

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

type RefArray added in v0.23.0

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

func NewRefArray added in v0.23.0

func NewRefArray() *RefArray

func (*RefArray) At added in v0.23.0

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

func (*RefArray) Class added in v0.23.0

func (*RefArray) Class() string

func (*RefArray) Last added in v0.23.0

func (arr *RefArray) Last() int

func (*RefArray) Len added in v0.23.0

func (arr *RefArray) Len() int

func (*RefArray) MarshalROOT added in v0.23.0

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

func (*RefArray) Name added in v0.23.0

func (arr *RefArray) Name() string

func (*RefArray) RVersion added in v0.23.0

func (*RefArray) RVersion() int16

func (*RefArray) Title added in v0.23.0

func (*RefArray) Title() string

func (*RefArray) UID added in v0.23.0

func (arr *RefArray) UID() uint32

func (*RefArray) UIDs added in v0.23.0

func (arr *RefArray) UIDs() []uint32

func (*RefArray) UnmarshalROOT added in v0.23.0

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

type RefTable added in v0.28.0

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

func NewRefTable added in v0.28.0

func NewRefTable(owner root.Object) *RefTable

func (*RefTable) At added in v0.28.0

func (tbl *RefTable) At(i int) root.Object

func (*RefTable) Class added in v0.28.0

func (*RefTable) Class() string

func (*RefTable) MarshalROOT added in v0.28.0

func (tbl *RefTable) MarshalROOT(w *rbytes.WBuffer) (int, error)

func (*RefTable) RVersion added in v0.28.0

func (*RefTable) RVersion() int16

func (*RefTable) UID added in v0.28.0

func (tbl *RefTable) UID() uint32

func (*RefTable) UIDs added in v0.28.0

func (tbl *RefTable) UIDs() []string

func (*RefTable) UnmarshalROOT added in v0.28.0

func (tbl *RefTable) UnmarshalROOT(r *rbytes.RBuffer) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL