19 Result(
const float* output,
unsigned int& nOutputs);
26 unsigned int ArgMax(
int output_n)
const;
134 #endif // CVN_RESULT_H float Get1neutronsProbability() const
Return the 1 neutrons topology probability.
float GetQEProbability() const
Return the CC QE interaction probability.
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.
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.
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.
float Get1protonsProbability() const
Return the 1 protons topology probability.
float Get2neutronsProbability() const
Return the 2 neutrons topology probability.
float Max()
Maximum value in vector.
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.
Result, basic output of CVN neural net.
unsigned int ArgMax(int output_n) const
Index of maximum value in vector.
TFTopologyProtons PredictedProtons() const
Return the predicted protons.
std::vector< std::vector< float > > fOutput
Vector of outputs from neural net.
float GetNpionsProbability() const
Return the >2 pions topology probability.
float GetNprotonsProbability() const
Return the >2 protons topology probability.
unsigned int NOutput()
Number of outputs, i.e. size of vector.
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.