Skip to content

Commit

Permalink
fixed bug in 3-body parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
dcraik committed Oct 12, 2016
1 parent 7417dcd commit f691a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RapidHistWriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ unsigned int RapidHistWriter::fillSingleHypothesis(unsigned int offset) {
pSumTruth = jDaug->getP() + kDaug->getP() + lDaug->getP();
pSum = jDaug->getPSmeared() + kDaug->getPSmeared() + lDaug->getPSmeared();

for(itParam=paramsTwoBody_.begin(); itParam!=paramsTwoBody_.end(); ++itParam) {
for(itParam=paramsThreeBody_.begin(); itParam!=paramsThreeBody_.end(); ++itParam) {
RapidParam* param = *itParam;
if(param->truth()) {
vars_[offset] = param->eval(pSumTruth);
Expand Down

0 comments on commit f691a1e

Please sign in to comment.