The first simultaneous measurement of the Z boson-associated top quark production cross sections, in pair (ttˉZ), or
with a single top quark (tZq and tWZ) is presented. The data were recorded from proton-proton collisions at a center of mass energy of 13 TeV with the CMS
Experiment at CERN's Large Hadron Collider, corresponding to an integrated luminosity of 138 fb−1. Events with multilepton final states are selected and
the signal-background discrimination is optimized with a multiclass deep neural network. Due to the interference between the ttˉZ and
tWZ processes and their similar experimental signature, their sum is reported in the results. A profile likelihood fit is performed to extract the
inclusive and differential cross sections of the two signal categories simultaneously. The inclusive cross sections for a dilepton invariant mass within
70 and 110 GeV are measured to be 1.14±0.07 pb for the sum of ttˉZ and tWZ, and 0.81±0.10 pb
for tZq