make select const, use unique_ptr for selector in DiPhotonProducer