Skip to content

Commit

Permalink
Bug fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Hyun Jo committed Nov 4, 2024
1 parent 67fdfdf commit 1fa7f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/applyNuMIGeomtryWeights.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ int main( int argc, char** argv )
}
}

if(truth_nuPdg==14 && hornMode=="RHC"){
if(truth_nuPdg==12 && hornMode=="RHC"){
for (size_t j=0; j<50; j++) {
mcweight->push_back(1+sqrt(10)*(-1+h_nue_RHC_variation1->GetBinContent(h_nue_RHC_variation1->FindBin(truth_nuEnergy/1000))));
mcweight->push_back(1+sqrt(10)*(-1+h_nue_RHC_variation2->GetBinContent(h_nue_RHC_variation2->FindBin(truth_nuEnergy/1000))));
Expand All @@ -469,7 +469,7 @@ int main( int argc, char** argv )
}
}

if(truth_nuPdg==-14 && hornMode=="RHC"){
if(truth_nuPdg==-12 && hornMode=="RHC"){
for (size_t j=0; j<50; j++) {
mcweight->push_back(1+sqrt(10)*(-1+h_nuebar_RHC_variation1->GetBinContent(h_nuebar_RHC_variation1->FindBin(truth_nuEnergy/1000))));
mcweight->push_back(1+sqrt(10)*(-1+h_nuebar_RHC_variation2->GetBinContent(h_nuebar_RHC_variation2->FindBin(truth_nuEnergy/1000))));
Expand Down

0 comments on commit 1fa7f7f

Please sign in to comment.