Skip to content
Snippets Groups Projects

Resolve "Pion rejection YR benchmark"

Merged Marshall Scott requested to merge 34-pion-rejection-yr-benchmark into master
1 file
+ 18
11
Compare changes
  • Side-by-side
  • Inline
@@ -265,6 +265,13 @@ void emcal_barrel_pion_rejection_analysis(
@@ -265,6 +265,13 @@ void emcal_barrel_pion_rejection_analysis(
{"target", std::to_string(suppression * maxRate[0][2])},
{"target", std::to_string(suppression * maxRate[0][2])},
{"value", std::to_string(rejRatios[0][2])}
{"value", std::to_string(rejRatios[0][2])}
}
}
 
{{"name", fmt::format("{}_E{}_EtaBin{}", test_tag, (int)E[0], 3)},
 
{"title", "Pion Rejection2"},
 
{"description", fmt::format("Pion rejection with E = {}, and {}", (int)E[0], etaTitle[3])},
 
{"quantity", "pi-/e-"},
 
{"target", std::to_string(suppression * maxRate[0][3])},
 
{"value", std::to_string(rejRatios[0][3])}
 
}
};
};
eic::util::write_test({pion_rejection_E18_Eta2}, fmt::format("results/{}_pion_rej.json", detector));
eic::util::write_test({pion_rejection_E18_Eta2}, fmt::format("results/{}_pion_rej.json", detector));
/*
/*
@@ -274,8 +281,9 @@ void emcal_barrel_pion_rejection_analysis(
@@ -274,8 +281,9 @@ void emcal_barrel_pion_rejection_analysis(
{"title", "Pion Rejection2"},
{"title", "Pion Rejection2"},
{"description", fmt::format("Pion rejection with E = {}, and {}", (int)E[0], etaTitle[3])},
{"description", fmt::format("Pion rejection with E = {}, and {}", (int)E[0], etaTitle[3])},
{"quantity", "pi-/e-"},
{"quantity", "pi-/e-"},
{"target", suppression * maxRate[0][3]},
{"target", std::to_string(suppression * maxRate[0][3])},
{"value", rejRatios[0][3]}}
{"value", std::to_string(rejRatios[0][3])}
 
}
};
};
eic::util::write_test({pion_rejection_E18_Eta3}, fmt::format("results/{}_pion_rej.json", detector));
eic::util::write_test({pion_rejection_E18_Eta3}, fmt::format("results/{}_pion_rej.json", detector));
@@ -285,8 +293,8 @@ void emcal_barrel_pion_rejection_analysis(
@@ -285,8 +293,8 @@ void emcal_barrel_pion_rejection_analysis(
{"title", "Pion Rejection"},
{"title", "Pion Rejection"},
{"description", fmt::format("Pion rejection with E = {}, and {}", (int)E[1], etaTitle[2])},
{"description", fmt::format("Pion rejection with E = {}, and {}", (int)E[1], etaTitle[2])},
{"quantity", "pi-/e-"},
{"quantity", "pi-/e-"},
{"target", suppression * maxRate[1][2]},
{"target", std::to_string(suppression * maxRate[1][2])},
{"value", rejRatios[1][2]}
{"value", std::to_string(rejRatios[1][2])}
}
}
};
};
eic::util::write_test({pion_rejection_E10_Eta2}, fmt::format("results/{}_pion_rej.json", detector));
eic::util::write_test({pion_rejection_E10_Eta2}, fmt::format("results/{}_pion_rej.json", detector));
@@ -297,8 +305,8 @@ void emcal_barrel_pion_rejection_analysis(
@@ -297,8 +305,8 @@ void emcal_barrel_pion_rejection_analysis(
{"title", "Pion Rejection"},
{"title", "Pion Rejection"},
{"description", fmt::format("Pion rejection with E = {}, and {}", (int)E[1], etaTitle[3])},
{"description", fmt::format("Pion rejection with E = {}, and {}", (int)E[1], etaTitle[3])},
{"quantity", "pi-/e-"},
{"quantity", "pi-/e-"},
{"target", suppression * maxRate[1][3]},
{"target", std::to_string(suppression * maxRate[1][3])},
{"value", rejRatios[1][3]}
{"value", std::to_string(rejRatios[1][3])}
}
}
};
};
eic::util::write_test({pion_rejection_E10_Eta3}, fmt::format("results/{}_pion_rej.json", detector));
eic::util::write_test({pion_rejection_E10_Eta3}, fmt::format("results/{}_pion_rej.json", detector));
@@ -309,8 +317,8 @@ void emcal_barrel_pion_rejection_analysis(
@@ -309,8 +317,8 @@ void emcal_barrel_pion_rejection_analysis(
{"title", "Pion Rejection"},
{"title", "Pion Rejection"},
{"description", fmt::format("Pion rejection with E = {}, and {}", (int)E[2], etaTitle[2])},
{"description", fmt::format("Pion rejection with E = {}, and {}", (int)E[2], etaTitle[2])},
{"quantity", "pi-/e-"},
{"quantity", "pi-/e-"},
{"target", suppression * maxRate[2][2]},
{"target", std::to_string(suppression * maxRate[2][2])},
{"value", rejRatios[2][2]}
{"value", std::to_string(rejRatios[2][2])}
}
}
};
};
eic::util::write_test({pion_rejection_E10_Eta2}, fmt::format("results/{}_pion_rej.json", detector));
eic::util::write_test({pion_rejection_E10_Eta2}, fmt::format("results/{}_pion_rej.json", detector));
@@ -321,11 +329,10 @@ void emcal_barrel_pion_rejection_analysis(
@@ -321,11 +329,10 @@ void emcal_barrel_pion_rejection_analysis(
{"title", "Pion Rejection"},
{"title", "Pion Rejection"},
{"description", fmt::format("Pion rejection with E = {}, and {}", (int)E[2], etaTitle[3])},
{"description", fmt::format("Pion rejection with E = {}, and {}", (int)E[2], etaTitle[3])},
{"quantity", "pi-/e-"},
{"quantity", "pi-/e-"},
{"target", suppression * maxRate[2][3]},
{"target", std::to_string(suppression * maxRate[2][3])},
{"value", rejRatios[2][3]}
{"value", std::to_string(rejRatios[2][3])}
}
}
};
};
eic::util::write_test({pion_rejection_E10_Eta3}, fmt::format("results/{}_pion_rej.json", detector));
eic::util::write_test({pion_rejection_E10_Eta3}, fmt::format("results/{}_pion_rej.json", detector));
*/
*/
}
}
Loading