getChipName: Get Chip Name

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/utils.R

Description

Get chip name from ROOT scheme file.

Usage

1
getChipName(rootfile)

Arguments

rootfile

name of ROOT scheme file, including full path.

Details

Extracts the chip name directly from ROOT scheme file rootfile.

Value

a character with the chip name.

Author(s)

Christian Stratowa

See Also

getChipType, getNameType

Examples

1
2
3
4
## correct usage
getChipName(paste(path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
## incorrect usage
getChipName(paste(path.package("xps"),"rootdata/DataTest3_cel.root",sep="/"))

xps documentation built on Nov. 8, 2020, 6 p.m.