Skip to content

Commit d221f02

Browse files
authored
Merge pull request #47390 from guitargeek/root_master_hotfix
Fix compilation of TagProbeFitter with ROOT master
2 parents 0845d7f + 7cca471 commit d221f02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PhysicsTools/TagAndProbe/src/TagProbeFitter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ string TagProbeFitter::calculateEfficiency(string dirName,
373373
*copyTree,
374374
/*selExpr=*/"",
375375
/*wgtVarName=*/(weightVar.empty() ? nullptr : weightVar.c_str()));
376-
for (unsigned int i = 0; i < store.GetEntries(); ++i) {
376+
for (unsigned int i = 0; i < copyTree->GetEntries(); ++i) {
377377
store.get(i);
378378
if (allCats.getIndex() == iCat) {
379379
data_bin->add(dataVars, weightVar.empty() ? 1.0 : dataVars.getRealValue(weightVar.c_str()));

0 commit comments

Comments
 (0)