22 for (
size_t i = 0; i < nOutputs; ++i) {
104 if (
fOutput.size() == 1)
return -1;
157 <<
"Output vector too short to include an NC probability" << std::endl;
169 if (
fOutput.size() == 1)
return -1;
178 if (
fOutput.size() == 1)
return -1;
187 if (
fOutput.size() == 1)
return -1;
196 if (
fOutput.size() == 1)
return -1;
205 if (
fOutput.size() == 1)
return -1;
214 if (
fOutput.size() == 1)
return -1;
223 if (
fOutput.size() == 1)
return -1;
232 if (
fOutput.size() == 1)
return -1;
241 if (
fOutput.size() == 1)
return -1;
250 if (
fOutput.size() == 1)
return -1;
259 if (
fOutput.size() == 1)
return -1;
268 if (
fOutput.size() == 1)
return -1;
277 if (
fOutput.size() == 1)
return -1;
286 if (
fOutput.size() == 1)
return -1;
295 if (
fOutput.size() == 1)
return -1;
304 if (
fOutput.size() == 1)
return -1;
313 if (
fOutput.size() == 1)
return -1;
322 if (
fOutput.size() == 1)
return -1;
331 if (
fOutput.size() == 1)
return -1;
340 if (
fOutput.size() == 1)
return -1;
float Get1neutronsProbability() const
Return the 1 neutrons topology probability.
float GetQEProbability() const
Return the CC QE interaction probability.
Nue CC Resonant interaction.
Numu CC Resonant interaction.
Numu CC, other than above.
TFTopologyPions PredictedPions() const
Return the predicted pions.
float GetNueProbability() const
Return the nue flavour probability.
float GetNutauProbability() const
Return the nutau flavour probability.
Utility class for truth labels.
float Get1pizerosProbability() const
Return the 1 pizeros topology probability.
MaybeLogger_< ELseverityLevel::ELsev_error, false > LogError
float Get1pionsProbability() const
Return the 1 pions topology probability.
TFFlavour PredictedFlavour() const
Return the predicted flavour.
float Get2pizerosProbability() const
Return the 2 pizeros topology probability.
float Get0pizerosProbability() const
Return the 0 pizeros topology probability.
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
TFTopologyNeutrons PredictedNeutrons() const
Return the predicted neutrons.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
TFInteraction PredictedInteraction() const
Return the predicted interaction.
TFTopologyPizeros PredictedPizeros() const
Return the predicted pizeros.
float Get0pionsProbability() const
Return the 0 pions topology probability.
float GetNneutronsProbability() const
Return the >2 neutrons topology probability.
float GetDISProbability() const
Return the CC DIS interaction probability.
float GetNCProbability() const
Return the NC probability.
Nutau CC Resonant interaction.
float Get1protonsProbability() const
Return the 1 protons topology probability.
float Get2neutronsProbability() const
Return the 2 neutrons topology probability.
float GetIsAntineutrinoProbability() const
Return the is_antineutrino probability.
float Get0neutronsProbability() const
Return the 0 neutrons topology probability.
float GetNumuProbability() const
Return the numu flavour probability.
float GetResProbability() const
Return the CC Res interaction probability.
float GetNpizerosProbability() const
Return the >2 pizeros topology probability.
unsigned int ArgMax(int output_n) const
Index of maximum value in vector.
TFTopologyProtons PredictedProtons() const
Return the predicted protons.
Nutau CC DIS interaction.
std::vector< std::vector< float > > fOutput
Vector of outputs from neural net.
Nutau CC, other than above.
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
Nue CC, other than above.
float GetNpionsProbability() const
Return the >2 pions topology probability.
float GetNprotonsProbability() const
Return the >2 protons topology probability.
float Get2pionsProbability() const
Return the 2 pions topology probability.
TFIsAntineutrino PredictedIsAntineutrino() const
Return the predicted is_antineutrino.
float GetOtherProbability() const
Return the CC Other interaction probability.
float Get2protonsProbability() const
Return the 2 protons topology probability.
float Get0protonsProbability() const
Return the 0 protons topology probability.