package rtests
import "go-hep.org/x/hep/groot/internal/rtests"
Index ¶
- Variables
- func GenROOTDictCode(event, linkdef string) ([]byte, error)
- func RunCxxROOT(fct string, code []byte, args ...interface{}) ([]byte, error)
- func XrdRemote(fname string) string
- type ROOTError
- type ROOTer
Variables ¶
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 ¶
GenROOTDictCode generates the ROOT dictionary code from the given event and linkdef definitions. GenROOTDictCode invokes rootcling and returns the generated code.
func RunCxxROOT ¶
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 ¶
Types ¶
type ROOTError ¶
func (ROOTError) Error ¶
func (ROOTError) Unwrap ¶
type ROOTer ¶
Source Files ¶
rtests.go
- Version
- v0.36.0 (latest)
- Published
- Nov 15, 2024
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 2 days ago –
Tools for package owners.