PMNS_Base.cxx
//.....................................................................
///
/// Compute the average probability of flvi going to flvf
/// over a bin of energy E with width dE.
///
/// This gets transformed into L/E, since the oscillation terms
/// have arguments linear in L/E and not E.
///
/// This function works best for single paths.
/// In multiple paths the accuracy may be somewhat worse.
/// If needed, average over smaller energy ranges.
///
/// Flavours are:
/// <pre>
///   0 = nue, 1 = numu, 2 = nutau
///   3 = sterile_1, 4 = sterile_2, etc.
/// </pre>
/// @param flvi - The neutrino starting flavour.
/// @param flvf - The neutrino final flavour.
/// @param E    - The neutrino energy in the bin center in GeV
/// @param dE   - The energy bin width in GeV
///
/// @return Average neutrino oscillation probability
///
Compute the average probability of flvi going to flvf
over a bin of energy E with width dE.

This gets transformed into L/E, since the oscillation terms
have arguments linear in L/E and not E.

This function works best for single paths.
In multiple paths the accuracy may be somewhat worse.
If needed, average over smaller energy ranges.


Compute the average probability of flvi going to flvf over a bin of energy E with width dE . This gets transformed into L / E since the oscillation terms have arguments linear in L / E and not E . This function works best for single paths . In multiple paths the accuracy may be somewhat worse . If needed average over smaller energy ranges .
double PMNS_Base::AvgProb(int flvi, int flvf, double E, double dE)
{
  ResetToFlavour(flvi);
  return AvgProb(fNuState, flvf, E, dE);
}
double PMNS_Base :: AvgProb ( int flvi , int flvf , double E , double dE ) { ResetToFlavour ( flvi ) ; return AvgProb ( fNuState , flvf , E , dE ) ; }
.....................................................................
Compute the average probability of flvi going to flvf
over a bin of energy E with width dE.
..................................................................... Compute the average probability of flvi going to flvf over a bin of energy E with width dE .