ntuple

package
v0.0.0-...-3807912 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2016 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GSL_NTUPLE_SELECTION_FUNCTION_STRUCT_SIZE int32 = int32(C.get_gsl_ntuple_selection_function_struct_size())
View Source
var GSL_NTUPLE_VALUE_FUNCTION_STRUCT_SIZE int32 = int32(C.get_gsl_ntuple_value_function_struct_size())

Functions

func Bookdata

func Bookdata(nt *GslNtuple) int

func Close

func Close(nt *GslNtuple) int

func InitializeGslNtupleSelectionFunction

func InitializeGslNtupleSelectionFunction(ptr *GslNtupleSelectionFunction)

func InitializeGslNtupleValueFunction

func InitializeGslNtupleValueFunction(ptr *GslNtupleValueFunction)

func Project

func Project(h *histogram.GslHistogram, ntuple *GslNtuple,
	fValue *GslNtupleValueFunction,
	fSelection *GslNtupleSelectionFunction) int

func Read

func Read(nt *GslNtuple) int

func Write

func Write(nt *GslNtuple) int

Types

type GslCNtupleSelectionFunction

type GslCNtupleSelectionFunction uintptr

type GslCNtupleValueFunction

type GslCNtupleValueFunction uintptr

type GslNtuple

type GslNtuple struct {
	gogsl.GslReference
	// contains filtered or unexported fields
}

func Create

func Create(filename string, data interface{}) *GslNtuple

func CreateOrOpen

func CreateOrOpen(filename string, data interface{}, op OpenOperation) *GslNtuple

gsl_ntuple * gsl_ntuple_create (char * filename, void * ntuple_data, size_t size)

func Open

func Open(filename string, data interface{}) *GslNtuple

func (*GslNtuple) Dispose

func (nt *GslNtuple) Dispose()

type GslNtupleSelectionFunction

type GslNtupleSelectionFunction struct {
	Function GslNtupleSelectionFunctionType
	Params   interface{}
	// contains filtered or unexported fields
}

func (*GslNtupleSelectionFunction) CPtr

type GslNtupleSelectionFunctionType

type GslNtupleSelectionFunctionType func(data interface{}, params interface{}) int

type GslNtupleValueFunction

type GslNtupleValueFunction struct {
	Function GslNtupleValueFunctionType
	Params   interface{}
	// contains filtered or unexported fields
}

func (*GslNtupleValueFunction) CPtr

func (gf *GslNtupleValueFunction) CPtr() uintptr

type GslNtupleValueFunctionType

type GslNtupleValueFunctionType func(data interface{}, params interface{}) float64

type OpenOperation

type OpenOperation int
const (
	OPEN OpenOperation = iota
	CREATE
)

Jump to

Keyboard shortcuts

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