Constraints on anomalous Higgs boson couplings using production and decay information in the four-lepton final state