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

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

    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.

      func XrdRemote

      func XrdRemote(fname string) string

      Types

      type ROOTError

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

      func (ROOTError) Error

      func (err ROOTError) Error() string

      func (ROOTError) Unwrap

      func (err ROOTError) Unwrap() error

      type ROOTer

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

      Source Files