Result, basic output of CVN neural net. More...
#include <Result.h>
Public Member Functions | |
Result (const float *output, unsigned int &nOutputs) | |
Result (const std::vector< std::vector< float > > output) | |
Result () | |
unsigned int | ArgMax (int output_n) const |
Index of maximum value in vector. More... | |
float | Max () |
Maximum value in vector. More... | |
TFIsAntineutrino | PredictedIsAntineutrino () const |
Return the predicted is_antineutrino. More... | |
TFFlavour | PredictedFlavour () const |
Return the predicted flavour. More... | |
TFInteraction | PredictedInteraction () const |
Return the predicted interaction. More... | |
TFTopologyProtons | PredictedProtons () const |
Return the predicted protons. More... | |
TFTopologyPions | PredictedPions () const |
Return the predicted pions. More... | |
TFTopologyPizeros | PredictedPizeros () const |
Return the predicted pizeros. More... | |
TFTopologyNeutrons | PredictedNeutrons () const |
Return the predicted neutrons. More... | |
float | GetIsAntineutrinoProbability () const |
Return the is_antineutrino probability. More... | |
float | GetNumuProbability () const |
Return the numu flavour probability. More... | |
float | GetNueProbability () const |
Return the nue flavour probability. More... | |
float | GetNutauProbability () const |
Return the nutau flavour probability. More... | |
float | GetNCProbability () const |
Return the NC probability. More... | |
float | GetQEProbability () const |
Return the CC QE interaction probability. More... | |
float | GetResProbability () const |
Return the CC Res interaction probability. More... | |
float | GetDISProbability () const |
Return the CC DIS interaction probability. More... | |
float | GetOtherProbability () const |
Return the CC Other interaction probability. More... | |
float | Get0protonsProbability () const |
Return the 0 protons topology probability. More... | |
float | Get1protonsProbability () const |
Return the 1 protons topology probability. More... | |
float | Get2protonsProbability () const |
Return the 2 protons topology probability. More... | |
float | GetNprotonsProbability () const |
Return the >2 protons topology probability. More... | |
float | Get0pionsProbability () const |
Return the 0 pions topology probability. More... | |
float | Get1pionsProbability () const |
Return the 1 pions topology probability. More... | |
float | Get2pionsProbability () const |
Return the 2 pions topology probability. More... | |
float | GetNpionsProbability () const |
Return the >2 pions topology probability. More... | |
float | Get0pizerosProbability () const |
Return the 0 pizeros topology probability. More... | |
float | Get1pizerosProbability () const |
Return the 1 pizeros topology probability. More... | |
float | Get2pizerosProbability () const |
Return the 2 pizeros topology probability. More... | |
float | GetNpizerosProbability () const |
Return the >2 pizeros topology probability. More... | |
float | Get0neutronsProbability () const |
Return the 0 neutrons topology probability. More... | |
float | Get1neutronsProbability () const |
Return the 1 neutrons topology probability. More... | |
float | Get2neutronsProbability () const |
Return the 2 neutrons topology probability. More... | |
float | GetNneutronsProbability () const |
Return the >2 neutrons topology probability. More... | |
unsigned int | NOutput () |
Number of outputs, i.e. size of vector. More... | |
Public Attributes | |
std::vector< std::vector< float > > | fOutput |
Vector of outputs from neural net. More... | |
cvn::Result::Result | ( | const float * | output, |
unsigned int & | nOutputs | ||
) |
Definition at line 20 of file Result.cxx.
cvn::Result::Result | ( | const std::vector< std::vector< float > > | output | ) |
Definition at line 30 of file Result.cxx.
cvn::Result::Result | ( | ) |
Definition at line 34 of file Result.cxx.
unsigned int cvn::Result::ArgMax | ( | int | output_n | ) | const |
Index of maximum value in vector.
Definition at line 38 of file Result.cxx.
float cvn::Result::Get0neutronsProbability | ( | ) | const |
Return the 0 neutrons topology probability.
Definition at line 322 of file Result.cxx.
float cvn::Result::Get0pionsProbability | ( | ) | const |
Return the 0 pions topology probability.
Definition at line 242 of file Result.cxx.
float cvn::Result::Get0pizerosProbability | ( | ) | const |
Return the 0 pizeros topology probability.
Definition at line 282 of file Result.cxx.
float cvn::Result::Get0protonsProbability | ( | ) | const |
Return the 0 protons topology probability.
Definition at line 202 of file Result.cxx.
float cvn::Result::Get1neutronsProbability | ( | ) | const |
Return the 1 neutrons topology probability.
Definition at line 332 of file Result.cxx.
float cvn::Result::Get1pionsProbability | ( | ) | const |
Return the 1 pions topology probability.
Definition at line 252 of file Result.cxx.
float cvn::Result::Get1pizerosProbability | ( | ) | const |
Return the 1 pizeros topology probability.
Definition at line 292 of file Result.cxx.
float cvn::Result::Get1protonsProbability | ( | ) | const |
Return the 1 protons topology probability.
Definition at line 212 of file Result.cxx.
float cvn::Result::Get2neutronsProbability | ( | ) | const |
Return the 2 neutrons topology probability.
Definition at line 342 of file Result.cxx.
float cvn::Result::Get2pionsProbability | ( | ) | const |
Return the 2 pions topology probability.
Definition at line 262 of file Result.cxx.
float cvn::Result::Get2pizerosProbability | ( | ) | const |
Return the 2 pizeros topology probability.
Definition at line 302 of file Result.cxx.
float cvn::Result::Get2protonsProbability | ( | ) | const |
Return the 2 protons topology probability.
Definition at line 222 of file Result.cxx.
float cvn::Result::GetDISProbability | ( | ) | const |
Return the CC DIS interaction probability.
Definition at line 182 of file Result.cxx.
float cvn::Result::GetIsAntineutrinoProbability | ( | ) | const |
Return the is_antineutrino probability.
Definition at line 97 of file Result.cxx.
float cvn::Result::GetNCProbability | ( | ) | const |
Return the NC probability.
Definition at line 140 of file Result.cxx.
float cvn::Result::GetNneutronsProbability | ( | ) | const |
Return the >2 neutrons topology probability.
Definition at line 352 of file Result.cxx.
float cvn::Result::GetNpionsProbability | ( | ) | const |
Return the >2 pions topology probability.
Definition at line 272 of file Result.cxx.
float cvn::Result::GetNpizerosProbability | ( | ) | const |
Return the >2 pizeros topology probability.
Definition at line 312 of file Result.cxx.
float cvn::Result::GetNprotonsProbability | ( | ) | const |
Return the >2 protons topology probability.
Definition at line 232 of file Result.cxx.
float cvn::Result::GetNueProbability | ( | ) | const |
Return the nue flavour probability.
Definition at line 118 of file Result.cxx.
float cvn::Result::GetNumuProbability | ( | ) | const |
Return the numu flavour probability.
Definition at line 107 of file Result.cxx.
float cvn::Result::GetNutauProbability | ( | ) | const |
Return the nutau flavour probability.
Definition at line 129 of file Result.cxx.
float cvn::Result::GetOtherProbability | ( | ) | const |
Return the CC Other interaction probability.
Definition at line 192 of file Result.cxx.
float cvn::Result::GetQEProbability | ( | ) | const |
Return the CC QE interaction probability.
Definition at line 162 of file Result.cxx.
float cvn::Result::GetResProbability | ( | ) | const |
Return the CC Res interaction probability.
Definition at line 172 of file Result.cxx.
float cvn::Result::Max | ( | ) |
Maximum value in vector.
unsigned int cvn::Result::NOutput | ( | ) |
Number of outputs, i.e. size of vector.
TFFlavour cvn::Result::PredictedFlavour | ( | ) | const |
Return the predicted flavour.
Definition at line 66 of file Result.cxx.
TFInteraction cvn::Result::PredictedInteraction | ( | ) | const |
Return the predicted interaction.
Definition at line 72 of file Result.cxx.
TFIsAntineutrino cvn::Result::PredictedIsAntineutrino | ( | ) | const |
Return the predicted is_antineutrino.
Return the predicted is_antineutrion.
Definition at line 61 of file Result.cxx.
TFTopologyNeutrons cvn::Result::PredictedNeutrons | ( | ) | const |
Return the predicted neutrons.
Definition at line 92 of file Result.cxx.
TFTopologyPions cvn::Result::PredictedPions | ( | ) | const |
Return the predicted pions.
Definition at line 82 of file Result.cxx.
TFTopologyPizeros cvn::Result::PredictedPizeros | ( | ) | const |
Return the predicted pizeros.
Definition at line 87 of file Result.cxx.
TFTopologyProtons cvn::Result::PredictedProtons | ( | ) | const |
Return the predicted protons.
Definition at line 77 of file Result.cxx.
std::vector< std::vector<float> > cvn::Result::fOutput |