5 Collection of utilities to interface SBND with python, gallery and LArSoft.
7 This module requires ROOT.
12 'justLoadSBNDgeometry',
16 from ROOTutils
import ROOT
23 """Loads and returns SBND geometry with the standard SBND channel mapping.
25 See `loadGeometry()` for the meaning of the arguments.
27 SourceCode = LArSoftUtils.SourceCode
29 SourceCode.loadHeaderFromUPS(
'sbndcode/Geometry/ChannelMapSBNDAlg.h')
30 SourceCode.loadLibrary(
'sbndcode_Geometry')
31 return LArSoftUtils.loadGeometry \
32 (config=config, registry=registry, mapping=ROOT.geo.ChannelMapSBNDAlg)
37 """Loads and returns SBND geometry from the specified configuration file.
39 This is a one-stop procedure recommended only when running interactively.
41 if mapping
is not None:
42 raise NotImplementedError(
"Support for non-standard mapping not implemented yet.")
def loadSBNDgeometry
Geometry.