Skip to content

Commit

Permalink
Merge pull request #707 from gundam-organization/main
Browse files Browse the repository at this point in the history
up
  • Loading branch information
nadrino authored Nov 29, 2024
2 parents 9b5ee71 + 3a46e3b commit 821154c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fitter/Minimizer/src/RootMinimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ void RootMinimizer::minimize(){
samplesArrList[iSample].writeRawData( getLikelihoodInterface().evalStatLikelihood( samplePair ) );

int nBins = samplePair.model->getHistogram().getNbBins();
for( int iBin = 1 ; iBin <= nBins ; iBin++ ){
for( int iBin = 0 ; iBin < nBins ; iBin++ ){
leavesDict.emplace_back("llhSample_bin" + std::to_string(iBin) + "/D");
samplesArrList[iSample].writeRawData( getLikelihoodInterface().getJointProbabilityPtr()->eval(samplePair, iBin) );
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@ namespace JointProbability{
<< std::endl;
LogError << "nomMC bin " << bin_
<< " error is " << nomHistErr[bin_];

DEBUG_VAR(bin_);
DEBUG_VAR(mcuncert);
DEBUG_VAR(nomHistErr[bin_]);
DEBUG_VAR(nomHistErr.size());
DEBUG_VAR(nomHistErr.size());
DEBUG_VAR(GenericToolbox::toString(nomHistErr));

LogThrow("The mc uncertainty is not a usable number");
}
else{
Expand Down

0 comments on commit 821154c

Please sign in to comment.