Skip to content
Snippets Groups Projects

Fix python issue caused by ROOT 6.22

Merged Dave Casper requested to merge dcasper/calypso:master-cppyy-fix into master
2 files
+ 19
9
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -87,9 +87,12 @@ def FaserTruthServiceCfg(ConfigFlags, name="FaserISF_TruthService", **kwargs):
@@ -87,9 +87,12 @@ def FaserTruthServiceCfg(ConfigFlags, name="FaserISF_TruthService", **kwargs):
kwargs.setdefault('SkipIfNoChildren', True)
kwargs.setdefault('SkipIfNoChildren', True)
kwargs.setdefault('SkipIfNoParentBarcode', True)
kwargs.setdefault('SkipIfNoParentBarcode', True)
import ROOT, cppyy
import PyUtils.RootUtils as rootUtils
cppyy.loadDictionary('FaserDetDescrDict')
ROOT = rootUtils.import_root()
FaserRegion = ROOT.FaserDetDescr
 
import cppyy
 
cppyy.load_library('FaserDetDescrDict')
 
from ROOT.FaserDetDescr import FaserRegion
kwargs.setdefault('ForceEndVtxInRegions', [FaserRegion.fFaserNeutrino,
kwargs.setdefault('ForceEndVtxInRegions', [FaserRegion.fFaserNeutrino,
FaserRegion.fFaserScintillator,
FaserRegion.fFaserScintillator,
Loading