introduce isNeutrino, use const references to increase code readability