PMNS_Base.cxx
//......................................................................
///
/// Reset the neutrino state back to a pure flavour where it starts
///
/// Flavours are:
/// <pre>
///   0 = nue, 1 = numu, 2 = nutau
///   3 = sterile_1, 4 = sterile_2, etc.
/// </pre>
/// @param flv - The neutrino starting flavour.
///
Reset the neutrino state back to a pure flavour where it starts


Reset the neutrino state back to a pure flavour where it starts
void PMNS_Base::ResetToFlavour(int flv)
{
  assert(flv>=0 && flv<fNumNus);
  for (int i=0; i<fNumNus; ++i){
    if (i==flv) fNuState[i] = one;
    else        fNuState[i] = zero;
  }
}
void PMNS_Base :: ResetToFlavour ( int flv ) { assert ( flv >= 0 && flv < fNumNus ) ; for ( int i = 0 ; i < fNumNus ; ++ i ) { if ( i == flv ) fNuState [ i ] = one ; else fNuState [ i ] = zero ; } }
......................................................................
Reset the neutrino state back to a pure flavour where it starts
...................................................................... Reset the neutrino state back to a pure flavour where it starts