Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DaVinci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb
DaVinci
Commits
a6078d44
Commit
a6078d44
authored
2 years ago
by
Sebastien Ponce
Browse files
Options
Downloads
Patches
Plain Diff
fixed ntuple file name in test_davinci_tupling_tistos
parent
b24dac44
No related branches found
No related tags found
2 merge requests
!1103
Draft: Add AnalysisHelpers to DaVinci Stack
,
!811
fixed ntuple file name in test_davinci_tupling_tistos
Pipeline
#4991472
passed
2 years ago
Stage: check
Stage: build
Stage: docs
Stage: .post
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_tistos.qmt
+3
-2
3 additions, 2 deletions
.../tests/qmtest/tupling.qms/test_davinci_tupling_tistos.qmt
with
3 additions
and
2 deletions
DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_tistos.qmt
+
3
−
2
View file @
a6078d44
...
...
@@ -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 = './t
uple_tistos
.root'
ntuple = './t
istos_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')
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment