Skip to content
Snippets Groups Projects

Removed error when inputing values for anything that isn't an electron or a photon into a fastsim with predicted weight extrapolation

Merged Henry Day-Hall requested to merge hdayhall/athena:23.0_no_pion_error into 23.0
1 file
+ 0
3
Compare changes
  • Side-by-side
  • Inline
@@ -187,9 +187,6 @@ TFCSPredictExtrapWeights::prepareInputs(TFCSSimulationState &simulstate,
flat_inputs["pdgId"] = 1; // one hot enconding
} else if (is_match_pdgid(11) || is_match_pdgid(-11)) {
flat_inputs["pdgId"] = 0; // one hot enconding
} else {
ATH_MSG_ERROR("have no one-hot encoding for pdgId; pottential issue with "
"predicted weights.");
}
inputs["dense_input"] = flat_inputs;
Loading