use TTreeFormula instead of CopyTree