Skip to content
Snippets Groups Projects
Commit 369622b8 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Merge branch 'sponce_fixntuplefilename' into 'master'

fixed ntuple file name in test_davinci_tupling_tistos

See merge request !811
parents b24dac44 a6078d44
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!811fixed ntuple file name in test_davinci_tupling_tistos
Pipeline #4992715 passed
......@@ -19,7 +19,8 @@
</set></argument>
<argument name="options_yaml_fn"><text>$DAVINCIEXAMPLESROOT/example_data/test_tistos.yaml</text></argument>
<argument name="extra_options_yaml"><text>
ntuple_file: tuple_tistos.root
histo_file: tistos_histos.root
ntuple_file: tistos_ntuple.root
print_freq: 1
</text></argument>
<argument name="reference"><text>../refs/test_davinci_tupling_tistos.ref</text></argument>
......@@ -39,7 +40,7 @@ B_vars_stored += ['RUNNUMBER', 'EVENTNUMBER']
B_vars_stored = sorted(B_vars_stored)
#open the TFile and TTree
ntuple = './tuple_tistos.root'
ntuple = './tistos_ntuple.root'
if not os.path.isfile(ntuple): raise Exception(f"File: {ntuple} does not exist!")
f = TFile.Open(ntuple)
t_B = f.Get('Tuple/DecayTree')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment