```C++
void setRecHitFractions(std::vector<reco::PFRecHitFraction> iFrom) {
   rechits_ = std::move(iFrom);
}
```
Then when calling you do
```C++
std::vector<reco::PFRecHitFraction> temps;
//Fill temps
...
aPFCluster.setRecHitFractions(std::move(temps));
```