Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sbncode/SBNEventWeight/Calculators/BNBFlux/FluxCalcPrep.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ namespace sbn {

//Let's make a weights based on the calculator you have requested

if(fParameterSet.fRWType == EventWeightParameterSet::kMultisim){
if(fParameterSet.fRWType == EventWeightParameterSet::kMultiSim){

for (size_t i=0;i<weights.size();i++) {
double randomN = (fParameterSet.fParameterMap.begin())->second[i];
Expand Down Expand Up @@ -293,7 +293,7 @@ namespace sbn {
return weights;//done, all 1
}// Hadronic parent check

if(fParameterSet.fRWType == EventWeightParameterSet::kMultisim){
if(fParameterSet.fRWType == EventWeightParameterSet::kMultiSim){

for (unsigned int i = 0; int(weights.size()) < NUni; i++) {//if all weights are 1, no need to calculate weights;
std::pair<bool, double> test_weight;
Expand Down Expand Up @@ -338,7 +338,7 @@ namespace sbn {
};

}//Iterate through the number of universes
}//Yes, Multisim
}//Yes, MultiSim
}

if(count_weights){
Expand Down