hep: go-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.


Package Files

factory.go rtypes.go


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

func Bit Uses

func Bit(v int) uint32

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

type FactoryFct Uses

type FactoryFct func() reflect.Value

FactoryFct creates new values of a given type.

Package rtypes imports 3 packages (graph) and is imported by 8 packages. Updated 2019-02-21. Refresh now. Tools for package owners.