I suggest that a single ref to the ith muon is used
```
const Muon& iMuon = muons[i];
```
don't use at(i) inside of a loop that doesn't modify the vector and already loops within the vector's size