You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sbncode/SBNEventWeight/Calculators/BNBFlux/FluxCalcPrep.cxx
+9-13Lines changed: 9 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -302,24 +302,20 @@ namespace sbn {
302
302
flux.ftpy = fluxlist[inu].ftpy;
303
303
flux.ftpz = fluxlist[inu].ftpz;
304
304
305
-
// int tptype = fluxlist[inu].ftptype;
306
-
307
305
// If Dk2Nu flux, use ancestors to evaluate tptype
308
306
if (fluxlist[inu].fFluxType == simb::kDk2Nu) {
309
307
310
-
// Find the first inelastic interaction
311
-
int firstInelastic = 0;
312
-
while (dk2nu_v->at(inu).ancestor[firstInelastic].proc.find("HadronInelastic")==std::string::npos||dk2nu_v->at(inu).ancestor[firstInelastic].proc.find("QEBooNE")!=std::string::npos) firstInelastic++;
313
-
314
-
// Get the parent/ancestor (this should be the secondary in the p+Be interaction)
0 commit comments