Good point,
@vadler @Dr15Jones @alja 
maybe Volker or Chris or Alja could comment if it's actively used in FWLite-based code.
(I never trust using Refs in FWLite, but that's mostly based on TChain experience reading from multiple files).

Other than "auto", this is a regular C++, so this code can be changed for compliance