hepgo-hep.org/x/hep/groot/rtypes Index | Files

package rtypes

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

Package rtypes contains the means to register types (ROOT ones and user defined ones) with the ROOT type factory.

Index

Variables

var Factory = &factory{
	db: make(map[string]FactoryFct),
}

Functions

func Bit

func Bit(v int) uint32

Bit returns a uint32 with v-th bit set to 1.

Types

type FactoryFct

type FactoryFct func() reflect.Value

FactoryFct creates new values of a given type.

Source Files

factory.go rtypes.go

Version
v0.36.0 (latest)
Published
Nov 15, 2024
Platform
linux/amd64
Imports
3 packages
Last checked
1 day ago

Tools for package owners.