Commit 1d0f81af authored by Carlos Vazquez Sierra's avatar Carlos Vazquez Sierra 👁‍🗨
Browse files

Update TupleDataset.py with urgent change

parent 2ba70b87
...@@ -334,7 +334,8 @@ def getDataSetFromTuple ( file, mother, part, trackcuts, pidcuts, xvar, yvar, zv ...@@ -334,7 +334,8 @@ def getDataSetFromTuple ( file, mother, part, trackcuts, pidcuts, xvar, yvar, zv
myvar = vars [ varid ] myvar = vars [ varid ]
varRoo = myvar.getRooRealVar ( part ) varRoo = myvar.getRooRealVar ( part )
varname = myvar.getBranchName ( "probe" ) varname = myvar.getBranchName ( "probe" )
b = tree.GetBranch ( varname ) if varid != "Unbias_HLT1":
b = tree.GetBranch ( varname )
keep = False keep = False
if varid == xvar: if varid == xvar:
print "Variable " + varid + " is X binning variable. Adding to RooDataSet." print "Variable " + varid + " is X binning variable. Adding to RooDataSet."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment