rtests

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HasROOT   = false // HasROOT is true when a C++ ROOT installation could be detected.
	ErrNoROOT = errors.New("rtests: no C++ ROOT installed")
)

Functions

func GenROOTDictCode added in v0.28.0

func GenROOTDictCode(event, linkdef string) ([]byte, error)

GenROOTDictCode generates the ROOT dictionary code from the given event and linkdef definitions. GenROOTDictCode invokes rootcling and returns the generated code.

func RunCxxROOT added in v0.21.0

func RunCxxROOT(fct string, code []byte, args ...interface{}) ([]byte, error)

RunCxxROOT executes the function fct in the provided C++ code with optional arguments args. RunCxxROOT creates a temporary file named '<fct>.C' from the provided C++ code and executes it via ROOT C++. RunCxxROOT returns the combined stdout/stderr output and an error, if any. If 'fct' ends with a '+', RunCxxROOT will run the macro through ACliC.

func XrdRemote

func XrdRemote(fname string) string

Types

type ROOTError added in v0.21.0

type ROOTError struct {
	Err  error
	Cmd  string
	Args []string
	Out  []byte
}

func (ROOTError) Error added in v0.21.0

func (err ROOTError) Error() string

func (ROOTError) Unwrap added in v0.21.0

func (err ROOTError) Unwrap() error

type ROOTer

type ROOTer interface {
	root.Object
	rbytes.Marshaler
	rbytes.Unmarshaler
}

Jump to

Keyboard shortcuts

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