Learn R Programming

xps (version 1.32.0)

getChipName: Get Chip Name

Description

Get chip name from ROOT scheme file.

Usage

getChipName(rootfile)

Arguments

rootfile
name of ROOT scheme file, including full path.

Value

a character with the chip name.

Details

Extracts the chip name directly from ROOT scheme file rootfile.

See Also

getChipType, getNameType

Examples

Run this code
## correct usage
getChipName(paste(path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
## incorrect usage
getChipName(paste(path.package("xps"),"rootdata/DataTest3_cel.root",sep="/"))

Run the code above in your browser using DataLab