Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Paul Seyfert
Urania
Commits
1d0f81af
Commit
1d0f81af
authored
Jan 19, 2017
by
Carlos Vazquez Sierra
👁🗨
Browse files
Update TupleDataset.py with urgent change
parent
2ba70b87
Changes
1
Hide whitespace changes
Inline
Side-by-side
PIDCalib/PIDPerfScripts/python/PIDPerfScripts/TupleDataset.py
View file @
1d0f81af
...
...
@@ -334,7 +334,8 @@ def getDataSetFromTuple ( file, mother, part, trackcuts, pidcuts, xvar, yvar, zv
myvar
=
vars
[
varid
]
varRoo
=
myvar
.
getRooRealVar
(
part
)
varname
=
myvar
.
getBranchName
(
"probe"
)
b
=
tree
.
GetBranch
(
varname
)
if
varid
!=
"Unbias_HLT1"
:
b
=
tree
.
GetBranch
(
varname
)
keep
=
False
if
varid
==
xvar
:
print
"Variable "
+
varid
+
" is X binning variable. Adding to RooDataSet."
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment