migration to standalone repo for diphoton code