Update photonTree.C done by Andrea