Let $P=\{1,\dots,n\}$ and $S\subseteq P$. The map $$\nu:\overline{\mathcal{M}}_{i,S\cup\{q\}}\to \overline{\mathcal{M}}_{g,P},$$ which attaches to a curve in the domain a pointed genus $g-i$ curve $[D,\{p_i\}_{i\in S^c},q]$ at the points labeled by $q$ is usually called a clutching map. The pullback map $$\nu^*:H^2(\overline{\mathcal{M}}_{g,P})\to H^2(\overline{\mathcal{M}}_{i,S\cup\{q\}})$$ is completely described in the paper of Arbarello-Cornalba (https://arxiv.org/pdf/math/9803001.pdf) (Lemma 1.4).
In the same paper, it is proven that $$H^2(\overline{\mathcal{M}}_{g,P}\times \overline{\mathcal{M}}_{g',P'})\cong H^2(\overline{\mathcal{M}}_{g,P})\oplus H^2(\overline{\mathcal{M}}_{g',P'}).$$
What I am wondering is the following:
If we let $S_1,S_2\subseteq S$ where $S_1\cap S_2=\emptyset$ and consider the "generalized" clutching map $$\mu:\overline{\mathcal{M}}_{1,S_1\cup\{q_1\}}\times \overline{\mathcal{M}}_{1,S_2\cup\{q_2\}}\to \overline{\mathcal{M}}_{g,P},$$ which attaches a pointed genus $g-2$ curve $[D',\{p_i\}_{i\in(S_1\cup S_2)^c},q_1,q_2]$ at the points $q_1$ and $q_2$, can we describe the action of the map $\mu^*$ on $H^2(\overline{\mathcal{M}}_{g,P})$?
e.g. what is $\mu^*(\lambda)$, $\mu^*(\delta_{irr})$, etc. in $H^2(\overline{\mathcal{M}}_{1,S_1\cup\{q_1\}})\oplus H^2(\overline{\mathcal{M}}_{1,S_2\cup\{q_2\}})$?
PS: Of course I am interested in the general case not just in moduli space of genus one curves. I just picked it to be as concrete as possible.