Skip to content

Commit 5166730

Browse files
authored
Merge pull request #530 from SBNSoftware/bugfix/kplows_synchronise_ReweightType
Update explicit references to 'EventWeightParameterSet::kMultisim'
2 parents 8e4ab73 + 3146829 commit 5166730

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sbncode/SBNEventWeight/Calculators/BNBFlux/FluxCalcPrep.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ namespace sbn {
261261

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

264-
if(fParameterSet.fRWType == EventWeightParameterSet::kMultisim){
264+
if(fParameterSet.fRWType == EventWeightParameterSet::kMultiSim){
265265

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

296-
if(fParameterSet.fRWType == EventWeightParameterSet::kMultisim){
296+
if(fParameterSet.fRWType == EventWeightParameterSet::kMultiSim){
297297

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

340340
}//Iterate through the number of universes
341-
}//Yes, Multisim
341+
}//Yes, MultiSim
342342
}
343343

344344
if(count_weights){

0 commit comments

Comments
 (0)