Skip to content
Snippets Groups Projects

Draft: Testing AnalysisHelpers

Open Piet Nogga requested to merge opendata-davinci46r11-analysishelpers-test into master
9 files
+ 412
0
Compare changes
  • Side-by-side
  • Inline
Files
9
CEP_v1/chi1.py 0 → 100644
+ 16
0
# This file is generated by the NTuple Wizard <https://lbwizard.web.cern.ch>
#
import os, yaml
from pathlib import Path
import sys
AnalysisHelpers_Path = Path(os.environ['DAVINCI_PROJECT_ROOT']) / 'Phys' / 'AnalysisHelpers' / 'options'
sys.path.append(str(AnalysisHelpers_Path))
from decaytreetuple import configure_dtt
from Configurables import DaVinci
config_file = Path(os.environ['ANALYSIS_PRODUCTIONS_BASE']) / 'CEP_v1' / 'chi1.yaml'
config = yaml.safe_load(open(config_file, 'rb'))
dtt = configure_dtt(config)
DaVinci().UserAlgorithms += [dtt]
Loading